diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 5c53a6d455..4696020da8 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -12,7 +12,7 @@ ## Pencil -- `design/comments.md` is strictly designer↔developer UI communication. Put code-level bug analysis in a GitHub issue, never there. +- `design/docs/comments.md` is strictly designer↔developer UI communication. Put code-level bug analysis in a GitHub issue, never there. ## Other diff --git a/.dockerignore b/.dockerignore index f549dafe22..4d25d91526 100644 --- a/.dockerignore +++ b/.dockerignore @@ -59,7 +59,7 @@ services/platform/.env*.local # Integration/container test suites + AI-QA playbooks (live in @tale/platform, # never shipped in the image). services/platform/tests/ -designs/ +design/sources/ scripts/ knip-results.json .playwright-mcp/ diff --git a/.gitattributes b/.gitattributes index e06ee7525f..925814c1ae 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ -# Exclude designs from GitHub language statistics (Linguist). -designs/** linguist-vendored +# Exclude design sources from GitHub language statistics (Linguist). +design/sources/** linguist-vendored # Exclude the generated .claude/skills mirror from Linguist — it is regenerated # from .agents/skills by `bun run skills:sync` (see tools/skills), not hand-written. diff --git a/AGENTS.md b/AGENTS.md index 040c29ec49..8fec846b4d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,7 +38,7 @@ enforced source and match it (the generic method is `search-codebase`'s orient s | Types | the `tsconfig*.json` chain (strict) | | Commit format & scopes | `.commitlintrc.json` | | Security / SAST | [`tools/opengrep/`](tools/opengrep/) — `bun run lint:sast` | -| Design system & tokens | [`design/`](design/) + [`designs/`](designs/) + `@tale/ui` | +| Design system & tokens | [`design/`](design/) (`docs/` + `sources/`) + `@tale/ui` | | Everything at once | `bun run check` (format, lint, typecheck, all tests) | The **guards are the spec** — run `bun run check` and read the failures; they teach the house style diff --git a/builtin-configs/workflows/projects/tasks/run-assigned-task.json b/builtin-configs/workflows/projects/tasks/run-assigned-task.json index b3c45d30d1..b8a6e3173f 100644 --- a/builtin-configs/workflows/projects/tasks/run-assigned-task.json +++ b/builtin-configs/workflows/projects/tasks/run-assigned-task.json @@ -39,26 +39,10 @@ "description": "Assignment events on closed/archived tasks (e.g. bulk edits) must not start agent work." }, "nextSteps": { - "true": "ack", + "true": "run", "false": "done" } }, - { - "stepSlug": "ack", - "name": "Acknowledge (In progress)", - "stepType": "action", - "config": { - "type": "task", - "parameters": { - "operation": "update_status", - "taskId": "{{input.task._id}}", - "status": "in_progress" - } - }, - "nextSteps": { - "success": "run" - } - }, { "stepSlug": "run", "name": "Run the assigned agent", @@ -83,7 +67,7 @@ "stepType": "condition", "config": { "expression": "steps.run.output.data.ok == true && steps.run.output.data.external != true", - "description": "Internal runs park at In review now; external dispatches return immediately and the daemon's completion does it later." + "description": "Internal runs park at In review now; external dispatches return immediately and the daemon's completion does it later. The In progress ack happens inside run admission (run_on_task), never before it — a refused run must not flash the status." }, "nextSteps": { "true": "to_review", @@ -100,7 +84,7 @@ }, "nextSteps": { "true": "done", - "false": "check_refused" + "false": "check_admitted" } }, { @@ -120,16 +104,16 @@ } }, { - "stepSlug": "check_refused", - "name": "Guardrail refusal?", + "stepSlug": "check_admitted", + "name": "Was the run admitted?", "stepType": "condition", "config": { - "expression": "steps.run.output.data.refusedReason == 'queued' || steps.run.output.data.refusedReason == 'budget_paused' || steps.run.output.data.refusedReason == 'task_circuit_breaker' || steps.run.output.data.refusedReason == 'automation_disabled'", - "description": "Guardrail refusals already posted their own specific comment (queued / budget / breaker) — roll back quietly. Real failures get an explanatory comment." + "expression": "steps.run.output.data.runId", + "description": "An admitted run (a run row exists) was acked In progress before it failed — explain and roll back. A refused run never touched the status, so there is nothing to roll back." }, "nextSteps": { - "true": "rollback_quiet", - "false": "fail_comment" + "true": "fail_comment", + "false": "check_refused" } }, { @@ -165,15 +149,28 @@ } }, { - "stepSlug": "rollback_quiet", - "name": "Roll back to To do (guardrail already commented)", + "stepSlug": "check_refused", + "name": "Did the refusal already explain itself?", + "stepType": "condition", + "config": { + "expression": "steps.run.output.data.refusedReason == 'queued' || steps.run.output.data.refusedReason == 'budget_paused' || steps.run.output.data.refusedReason == 'task_circuit_breaker' || steps.run.output.data.refusedReason == 'automation_disabled' || steps.run.output.data.refusedReason == 'task_not_found'", + "description": "Guardrail refusals post their own notices (queued / budget / breaker) and a deleted task has no timeline left — end quietly. Other refusals (agent disabled or not installed) get an explanatory comment; the status stays untouched either way." + }, + "nextSteps": { + "true": "done", + "false": "refused_comment" + } + }, + { + "stepSlug": "refused_comment", + "name": "Explain why the run never started", "stepType": "action", "config": { "type": "task", "parameters": { - "operation": "update_status", + "operation": "comment", "taskId": "{{input.task._id}}", - "status": "todo" + "body": "[automated] ⚠️ {{input.assigneeId}} could not start this task: {{steps.run.output.data.error || 'unknown error'}} The task status was left unchanged. If the agent is not installed or enabled, enable it on the Agents page — connecting an integration alone does not enable its bundled agents." } }, "nextSteps": { diff --git a/bun.lock b/bun.lock index c021b9fb87..1ab4be0df7 100644 --- a/bun.lock +++ b/bun.lock @@ -100,6 +100,7 @@ "@tanstack/react-router": "1.168.10", "class-variance-authority": "0.7.1", "clsx": "2.1.1", + "dompurify": "3.4.11", "framer-motion": "12.38.0", "i18next": "26.0.4", "i18next-icu": "2.4.3", @@ -252,6 +253,7 @@ "json-diff-kit": "1.0.35", "jszip": "3.10.1", "libphonenumber-js": "1.12.42", + "linkedom": "0.18.13", "lodash": "4.18.1", "lucide-react": "1.8.0", "mailparser": "3.9.12", @@ -2459,6 +2461,8 @@ "body-parser": ["body-parser@2.2.2", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.3", "http-errors": "^2.0.0", "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", "qs": "^6.14.1", "raw-body": "^3.0.1", "type-is": "^2.0.1" } }, "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA=="], + "boolbase": ["boolbase@2.0.0", "", {}, "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA=="], + "brace-expansion": ["brace-expansion@5.0.6", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g=="], "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], @@ -2629,10 +2633,16 @@ "crypto-random-string": ["crypto-random-string@2.0.0", "", {}, "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="], + "css-select": ["css-select@7.0.0", "", { "dependencies": { "boolbase": "^2.0.0", "css-what": "^8.0.0", "domhandler": "^6.0.1", "domutils": "^4.0.2", "nth-check": "^3.0.1" } }, "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g=="], + "css-tree": ["css-tree@3.2.1", "", { "dependencies": { "mdn-data": "2.27.1", "source-map-js": "^1.2.1" } }, "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA=="], + "css-what": ["css-what@8.0.0", "", {}, "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw=="], + "css.escape": ["css.escape@1.5.1", "", {}, "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg=="], + "cssom": ["cssom@0.5.0", "", {}, "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw=="], + "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="], "cwise-compiler": ["cwise-compiler@1.1.3", "", { "dependencies": { "uniq": "^1.0.0" } }, "sha512-WXlK/m+Di8DMMcCjcWr4i+XzcQra9eCdXIJrgh4TUgh0pIS/yJduLxS9JgefsHJ/YVLdgPtXm9r62W92MvanEQ=="], @@ -2797,11 +2807,11 @@ "domelementtype": ["domelementtype@2.3.0", "", {}, "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw=="], - "domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="], + "domhandler": ["domhandler@6.0.1", "", { "dependencies": { "domelementtype": "^3.0.0" } }, "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg=="], "dompurify": ["dompurify@3.4.11", "", { "optionalDependencies": { "@types/trusted-types": "^2.0.7" } }, "sha512-zhlUV12GsaRzMsf9q5M254YhA4+VuF0fG+QFqu6aYpoGlKtz+w8//jBcGVYBgQkR5GHjUomejY84AV+/uPbWdw=="], - "domutils": ["domutils@3.2.2", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="], + "domutils": ["domutils@4.0.2", "", { "dependencies": { "dom-serializer": "^3.0.0", "domelementtype": "^3.0.0", "domhandler": "^6.0.0" } }, "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA=="], "dot-prop": ["dot-prop@5.3.0", "", { "dependencies": { "is-obj": "^2.0.0" } }, "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q=="], @@ -3109,7 +3119,7 @@ "html-encoding-sniffer": ["html-encoding-sniffer@6.0.0", "", { "dependencies": { "@exodus/bytes": "^1.6.0" } }, "sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg=="], - "html-escaper": ["html-escaper@2.0.2", "", {}, "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg=="], + "html-escaper": ["html-escaper@3.0.3", "", {}, "sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ=="], "html-parse-stringify": ["html-parse-stringify@3.0.1", "", { "dependencies": { "void-elements": "3.1.0" } }, "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg=="], @@ -3431,6 +3441,8 @@ "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="], + "linkedom": ["linkedom@0.18.13", "", { "dependencies": { "css-select": "^7.0.0", "cssom": "^0.5.0", "html-escaper": "^3.0.3", "htmlparser2": "^10.1.0", "uhyphen": "^0.2.0" }, "peerDependencies": { "canvas": ">= 2" }, "optionalPeers": ["canvas"] }, "sha512-ES/o9qotMpzpN2MHs+Iq/JcVoOj8Fa5wiQYrTdFpvAnwXL0g66XHHUc9WUMk6nAlBtGsFQ24ne+SYnvnaQ2FSw=="], + "linkify-it": ["linkify-it@5.0.1", "", { "dependencies": { "uc.micro": "^2.0.0" } }, "sha512-wVoTjP4Q6R0NW5hiZkVJaFZPWgtXfoGF+6LucL3/FtiNjmcHhYjEr5f1Kqjirc1nBW07J/ZuRFumqr2oqccEWg=="], "liquid-json": ["liquid-json@0.3.1", "", {}, "sha512-wUayTU8MS827Dam6MxgD72Ui+KOSF+u/eIqpatOtjnvgJ0+mnDq33uC2M7J0tPK+upe/DpUAuK4JUU89iBoNKQ=="], @@ -3717,6 +3729,8 @@ "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], + "nth-check": ["nth-check@3.0.1", "", { "dependencies": { "boolbase": "^2.0.0" } }, "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ=="], + "oauth4webapi": ["oauth4webapi@3.8.6", "", {}, "sha512-iwemM91xz8nryHti2yTmg5fhyEMVOkOXwHNqbvcATjyajb5oQxCQzrNOA6uElRHuMhQQTKUyFKV9y/CNyg25BQ=="], "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], @@ -4483,6 +4497,8 @@ "uglify-js": ["uglify-js@3.19.3", "", { "bin": { "uglifyjs": "bin/uglifyjs" } }, "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ=="], + "uhyphen": ["uhyphen@0.2.0", "", {}, "sha512-qz3o9CHXmJJPGBdqzab7qAYuW8kQGKNEuoHFYrBwV6hWIMcpAmxDLXojcHfFr9US1Pe6zUswEIJIbLI610fuqA=="], + "unbash": ["unbash@2.2.0", "", {}, "sha512-X2wH19RAPZE3+ldGicOkoj/SIA83OIxcJ6Cuaw23hf8Xc6fQpvZXY0SftE2JgS0QhYLUG4uwodSI3R53keyh7w=="], "unbox-primitive": ["unbox-primitive@1.1.0", "", { "dependencies": { "call-bound": "^1.0.3", "has-bigints": "^1.0.2", "has-symbols": "^1.1.0", "which-boxed-primitive": "^1.1.1" } }, "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw=="], @@ -4825,6 +4841,8 @@ "@rollup/plugin-node-resolve/@types/resolve": ["@types/resolve@1.20.2", "", {}, "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q=="], + "@selderee/plugin-htmlparser2/domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="], + "@sentry/bundler-plugin-core/glob": ["glob@13.0.6", "", { "dependencies": { "minimatch": "^10.2.2", "minipass": "^7.1.3", "path-scurry": "^2.0.2" } }, "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw=="], "@sentry/cli/https-proxy-agent": ["https-proxy-agent@5.0.1", "", { "dependencies": { "agent-base": "6", "debug": "4" } }, "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA=="], @@ -4989,8 +5007,16 @@ "d3-sankey/d3-shape": ["d3-shape@1.3.7", "", { "dependencies": { "d3-path": "1" } }, "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw=="], + "dom-serializer/domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="], + "dom-serializer/entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="], + "domhandler/domelementtype": ["domelementtype@3.0.0", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="], + + "domutils/dom-serializer": ["dom-serializer@3.1.1", "", { "dependencies": { "domelementtype": "^3.0.0", "domhandler": "^6.0.0", "entities": "^8.0.0" } }, "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw=="], + + "domutils/domelementtype": ["domelementtype@3.0.0", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="], + "dot-prop/is-obj": ["is-obj@2.0.0", "", {}, "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="], "ecdsa-sig-formatter/safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="], @@ -5035,6 +5061,10 @@ "html-encoding-sniffer/@exodus/bytes": ["@exodus/bytes@1.14.1", "", { "peerDependencies": { "@noble/hashes": "^1.8.0 || ^2.0.0" }, "optionalPeers": ["@noble/hashes"] }, "sha512-OhkBFWI6GcRMUroChZiopRiSp2iAMvEBK47NhJooDqz1RERO4QuZIZnjP63TXX8GAiLABkYmX+fuQsdJ1dd2QQ=="], + "htmlparser2/domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="], + + "htmlparser2/domutils": ["domutils@3.2.2", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="], + "htmlparser2/entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="], "i18next/@babel/runtime": ["@babel/runtime@7.29.2", "", {}, "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g=="], @@ -5057,6 +5087,8 @@ "is-regex/hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="], + "istanbul-reports/html-escaper": ["html-escaper@2.0.2", "", {}, "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg=="], + "js-yaml/argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], "json-diff-kit/commander": ["commander@11.1.0", "", {}, "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ=="], @@ -5403,6 +5435,8 @@ "d3-sankey/d3-shape/d3-path": ["d3-path@1.0.9", "", {}, "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="], + "domutils/dom-serializer/entities": ["entities@8.0.0", "", {}, "sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA=="], + "express/accepts/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], "express/mime-types/mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], diff --git a/design/README.md b/design/docs/README.md similarity index 58% rename from design/README.md rename to design/docs/README.md index df93708ed9..f8c55458ba 100644 --- a/design/README.md +++ b/design/docs/README.md @@ -1,18 +1,18 @@ # Tale design system The developer- and agent-facing map of Tale's design. The generic -[`design-ui`](../.agents/skills/design-ui/SKILL.md) / -[`implement-ui`](../.agents/skills/implement-ui/SKILL.md) skills teach the _method_ ("find the +[`design-ui`](../../.agents/skills/design-ui/SKILL.md) / +[`implement-ui`](../../.agents/skills/implement-ui/SKILL.md) skills teach the _method_ ("find the project's design system, reuse its components, use its tokens"); **this directory is where that search lands** for Tale — the specifics those skills deliberately leave out. -> **`design/` vs `designs/`.** This `design/` directory holds the curated, navigable **docs**. -> [`designs/`](../designs/) holds the **source**: the encrypted Pencil `.pen` files, their exported -> images, the generated app handoff [`design-system.md`](../designs/platform/design-system.md), the -> token export [`semantic-tokens.json`](../designs/platform/semantic-tokens.json), and the -> [`accessibility-audit.md`](../designs/accessibility-audit.md). These docs distil and point to that -> source; they never fork it. Designer↔developer UI notes go in `design/comments.md` (per -> [`.claude/CLAUDE.md`](../.claude/CLAUDE.md)) — never code-level analysis. +> **`docs/` vs `sources/`.** This `design/docs/` directory holds the curated, navigable **docs**. +> [`design/sources/`](../sources/) holds the **source**: the encrypted Pencil `.pen` files, their +> exported images, the generated app handoff [`design-system.md`](../sources/platform/design-system.md), +> the token export [`semantic-tokens.json`](../sources/platform/semantic-tokens.json), and the +> [`accessibility-audit.md`](../sources/accessibility-audit.md). These docs distil and point to that +> source; they never fork it. Designer↔developer UI notes go in `design/docs/comments.md` (per +> [`.claude/CLAUDE.md`](../../.claude/CLAUDE.md)) — never code-level analysis. ## Two design languages on one substrate @@ -23,33 +23,33 @@ the same `@tale/ui` package, `globals.css` tokens, and Tailwind preset — but t **plumbing, not licence to copy patterns across surfaces.** A chat/dashboard pattern is not a marketing pattern. Never port one surface's layout into another. -| Surface | Lives in | Design source | Build with | Theme | -| ------------------- | ------------------- | --------------------------------------------- | ------------------------------------------ | ---------------- | -| **App** (product) | `services/platform` | `designs/platform/*.pen` + `design-system.md` | `@tale/ui` product components | light + dark | -| **Web** (marketing) | `services/web` | `design/web.md` + `Site*` + shipped assets | `@tale/ui` `Site*` + marketing composition | light + dark | -| **Docs** | `services/docs` | follows the **app** language | `@tale/ui`, app patterns | **light-locked** | -| **Shared** (brand) | `designs/shared/` | `branding.pen` / `logofolio.pen` | `TaleLogo`, accent `#056CFF`, Inter | — | +| Surface | Lives in | Design source | Build with | Theme | +| ------------------- | ------------------------ | ---------------------------------------------------- | ------------------------------------------ | ---------------- | +| **App** (product) | `services/platform` | `design/sources/platform/*.pen` + `design-system.md` | `@tale/ui` product components | light + dark | +| **Web** (marketing) | `services/web` | `design/docs/web.md` + `Site*` + shipped assets | `@tale/ui` `Site*` + marketing composition | light + dark | +| **Docs** | `services/docs` | follows the **app** language | `@tale/ui`, app patterns | **light-locked** | +| **Shared** (brand) | `design/sources/shared/` | `branding.pen` / `logofolio.pen` | `TaleLogo`, accent `#056CFF`, Inter | — | Convex / auth / the SPA shell are **app only** — never add them to web or docs. **Docs follow the app** language (light-locked) — see [app.md](app.md). ## Sources of truth — read, don't memorize -Per [`AGENTS.md`](../AGENTS.md): _discover the conventions, don't memorize them._ These can't drift: +Per [`AGENTS.md`](../../AGENTS.md): _discover the conventions, don't memorize them._ These can't drift: -- [`designs/platform/design-system.md`](../designs/platform/design-system.md) — the app design _intent_ +- [`design/sources/platform/design-system.md`](../sources/platform/design-system.md) — the app design _intent_ - component/screen specs (1815 lines; the deep app reference). -- [`designs/platform/semantic-tokens.json`](../designs/platform/semantic-tokens.json) — the +- [`design/sources/platform/semantic-tokens.json`](../sources/platform/semantic-tokens.json) — the design-intent tokens (DTCG, light/dark). -- [`packages/ui/src/globals.css`](../packages/ui/src/globals.css) — the **shipped** tokens (the real +- [`packages/ui/src/globals.css`](../../packages/ui/src/globals.css) — the **shipped** tokens (the real ones in code) and the `@theme` / `.dark` wiring. -- [`packages/ui/src/index.ts`](../packages/ui/src/index.ts) + the Storybook - ([`packages/ui/src/storybook`](../packages/ui/src/storybook/)) — the live component catalogue. -- [`designs/accessibility-audit.md`](../designs/accessibility-audit.md) — a11y rules + the form text +- [`packages/ui/src/index.ts`](../../packages/ui/src/index.ts) + the Storybook + ([`packages/ui/src/storybook`](../../packages/ui/src/storybook/)) — the live component catalogue. +- [`design/sources/accessibility-audit.md`](../sources/accessibility-audit.md) — a11y rules + the form text hierarchy. - The `.pen` files are **encrypted** — open them only through the Pencil MCP with the editor running (`get_editor_state({ include_schema: true })` first). Offline fallback: the exported PNGs in - [`designs/platform/images/`](../designs/platform/images/) + the spec in `design-system.md`. + [`design/sources/platform/images/`](../sources/platform/images/) + the spec in `design-system.md`. ## Colours & tokens — the short version @@ -71,20 +71,20 @@ blue-tinted `#030712`), driven by the `.dark` class + tokens. - **Font: Inter only**, self-hosted (`@fontsource/inter`, metric-matched Arial fallback — no CDN). - **Icons: Lucide only** — no custom SVGs; the sole exception is the locale flag glyphs in - [`packages/ui/src/icons/flags.tsx`](../packages/ui/src/icons/flags.tsx). + [`packages/ui/src/icons/flags.tsx`](../../packages/ui/src/icons/flags.tsx). - **One control height** — every control is `h-9`; `h-8` is the dense (`sm`) variant; `icon`/`icon-sm` are square; there is deliberately **no `lg`**. - **`Card` is the one bordered-surface primitive** - ([`layout/card.tsx`](../packages/ui/src/components/layout/card.tsx)) — every card-like surface is a + ([`layout/card.tsx`](../../packages/ui/src/components/layout/card.tsx)) — every card-like surface is a `Card` variant, never a hand-rolled `div`. - **Skeletons mask in place** — wrap the real component in `Skeletonize`/`SkeletonBox` - ([`feedback/skeleton-context.tsx`](../packages/ui/src/components/feedback/skeleton-context.tsx)); no + ([`feedback/skeleton-context.tsx`](../../packages/ui/src/components/feedback/skeleton-context.tsx)); no whole-tree swaps. - **Toasts** top-right, 5s auto-dismiss (errors persist). **Tooltips** hover-only (~200/100ms), never on click. **Modals** use a backdrop blur. Hover fill is gray-100 light / gray-800 dark. - **Accessibility is WCAG 2.1 AA** — the form text hierarchy (label → description → hint → error) and the open icon-button `aria-label` gap are catalogued in - [`designs/accessibility-audit.md`](../designs/accessibility-audit.md). + [`design/sources/accessibility-audit.md`](../sources/accessibility-audit.md). ## In this directory diff --git a/design/app.md b/design/docs/app.md similarity index 87% rename from design/app.md rename to design/docs/app.md index 82d6a02fcf..7cc6661f8a 100644 --- a/design/app.md +++ b/design/docs/app.md @@ -1,9 +1,9 @@ # App — the platform design language The **platform** product UI (`services/platform`). This is a distilled map; the exhaustive component + -screen specs live in [`designs/platform/design-system.md`](../designs/platform/design-system.md) — go +screen specs live in [`design/sources/platform/design-system.md`](../sources/platform/design-system.md) — go there for the detail of any element below, and to a `.pen` file (via Pencil) or -[`designs/platform/images/`](../designs/platform/images/) for the pixels. +[`design/sources/platform/images/`](../sources/platform/images/) for the pixels. ## What the app feels like @@ -35,7 +35,7 @@ Colour comes from tokens, never hex (see [tokens.md](tokens.md)). Motion is smal _Conversations_. - **Knowledge** — tabbed (Documents/Websites/Products/Customers/Vendors) over a `DataTable`. Specs: `design-system.md` → _Knowledge_. -- **Auth, settings, automations, agents, onboarding** — each has a `.pen` under `designs/platform/`. +- **Auth, settings, automations, agents, onboarding** — each has a `.pen` under `design/sources/platform/`. ## Interaction conventions (hold these everywhere) @@ -58,14 +58,14 @@ won't theme. ## Docs follow the app -[`services/docs`](../services/docs/) uses the **same app language and `@tale/ui`**, but is +[`services/docs`](../../services/docs/) uses the **same app language and `@tale/ui`**, but is **light-locked** (`defaultTheme: 'light'`). Treat a docs UI change as an app change with no dark mode — same components, same tokens, same conventions. Page _content_ rules live in the -[`write-docs`](../.agents/skills/write-docs/SKILL.md) skill; this is only the visual layer. +[`write-docs`](../../.agents/skills/write-docs/SKILL.md) skill; this is only the visual layer. ## Accessibility (app) WCAG 2.1 AA. The recurring gaps and the token hierarchy are in -[`designs/accessibility-audit.md`](../designs/accessibility-audit.md): icon-only buttons need a real +[`design/sources/accessibility-audit.md`](../sources/accessibility-audit.md): icon-only buttons need a real `aria-label` (a tooltip is a _description_, not a name); form text descends label → description → hint → error; every overlay traps focus and restores it on close; hit targets ≥ 24×24px. diff --git a/design/branding.md b/design/docs/branding.md similarity index 73% rename from design/branding.md rename to design/docs/branding.md index 3384366b0a..f6123282ea 100644 --- a/design/branding.md +++ b/design/docs/branding.md @@ -6,7 +6,7 @@ genuinely shared by design — everything else two surfaces have in common is a ## What's actually shared -- **The logo** — `TaleLogo` ([`packages/ui/src/logo/tale-logo.tsx`](../packages/ui/src/logo/), +- **The logo** — `TaleLogo` ([`packages/ui/src/logo/tale-logo.tsx`](../../packages/ui/src/logo/), exported from `@tale/ui/logo`). Themed fill (dark on light, white on dark). Use the component; never re-draw or re-colour the mark. - **The accent** — brand blue `#056CFF` (`primary-500`). It is the one chromatic accent across both @@ -15,9 +15,9 @@ genuinely shared by design — everything else two surfaces have in common is a ## Design source -- [`designs/shared/branding.pen`](../designs/shared/) — brand identity, logo usage, colour usage. -- [`designs/shared/logofolio.pen`](../designs/shared/) — the logo system and variations. -- [`designs/shared/images/`](../designs/shared/images/) — the department / agent logos (`logo-design`, +- [`design/sources/shared/branding.pen`](../sources/shared/) — brand identity, logo usage, colour usage. +- [`design/sources/shared/logofolio.pen`](../sources/shared/) — the logo system and variations. +- [`design/sources/shared/images/`](../sources/shared/images/) — the department / agent logos (`logo-design`, `logo-marketing`, `logo-operations`, `logo-qa`, …) and the brand moodboards. ## Org-level branding (configurable) @@ -25,9 +25,9 @@ genuinely shared by design — everything else two surfaces have in common is a Self-hosted/cloud orgs can override brand surfaces (logo, name, colours) — that is **configuration**, not a code change: -- [`builtin-configs/branding/branding.json`](../builtin-configs/branding/branding.json) — the default +- [`builtin-configs/branding/branding.json`](../../builtin-configs/branding/branding.json) — the default branding config shape. -- [`docs/en/platform/admin/branding.md`](../docs/en/platform/admin/branding.md) — the user-facing +- [`docs/en/platform/admin/branding.md`](../../docs/en/platform/admin/branding.md) — the user-facing reference for what an admin can change. Per Tale's boundaries, org branding is **files, not tables** — never add a branding column to Convex. diff --git a/design/tokens.md b/design/docs/tokens.md similarity index 96% rename from design/tokens.md rename to design/docs/tokens.md index d2cfe485f1..0f30972d45 100644 --- a/design/tokens.md +++ b/design/docs/tokens.md @@ -3,9 +3,9 @@ A **map, not a copy.** Exact values live in the source and can change; this names the systems and the utilities you write, so you read the right file for the value: -- **Shipped (code):** [`packages/ui/src/globals.css`](../packages/ui/src/globals.css) — the only truth +- **Shipped (code):** [`packages/ui/src/globals.css`](../../packages/ui/src/globals.css) — the only truth for what a class resolves to. Every service `@import`s it. -- **Intent (design):** [`designs/platform/semantic-tokens.json`](../designs/platform/semantic-tokens.json) +- **Intent (design):** [`design/sources/platform/semantic-tokens.json`](../sources/platform/semantic-tokens.json) — the DTCG token set in the `.pen` files (light/dark via `$extensions.mode`). **Golden rule:** write the semantic **utility class**, never a hex. Match the surrounding file — the diff --git a/design/web.md b/design/docs/web.md similarity index 94% rename from design/web.md rename to design/docs/web.md index 233954603a..71f105a054 100644 --- a/design/web.md +++ b/design/docs/web.md @@ -1,6 +1,6 @@ # Web — the marketing design language -The **marketing site** ([`services/web`](../services/web/)). The web is a **different design language** +The **marketing site** ([`services/web`](../../services/web/)). The web is a **different design language** from the app — bold, spacious, narrative pages that _show the product working_, not a dense product surface. It is built from the same `@tale/ui` substrate, composed differently. Never port an app (chat/dashboard/settings) pattern into the web, or vice versa. @@ -11,8 +11,8 @@ There is **no** Pencil `.pen` tree and **no** `design-system.md` for web. The li - This doc — the surface rules and what not to import. - The `Site*` component source under - [`packages/ui/src/components/site/`](../packages/ui/src/components/site/). -- The shipped pages and blocks in [`services/web/app/`](../services/web/app/) — especially the + [`packages/ui/src/components/site/`](../../packages/ui/src/components/site/). +- The shipped pages and blocks in [`services/web/app/`](../../services/web/app/) — especially the homepage composition (`pages/home-page.tsx`) and the demo library (`components/blocks/demos/`). @@ -21,7 +21,7 @@ When in doubt, read the component and the page that uses it. ## Build with the `Site*` family Marketing chrome is a dedicated component set under -[`packages/ui/src/components/site/`](../packages/ui/src/components/site/) — compose these, don't +[`packages/ui/src/components/site/`](../../packages/ui/src/components/site/) — compose these, don't hand-roll page chrome: - `SiteHeader` / `SiteFooter` — marketing nav + footer (distinct from the app shell). @@ -37,7 +37,7 @@ Everything else (`Button`, `Card`, `Heading`, `Text`, `Badge`, `Accordion`, mark Semantic utilities only, **never a raw hex in a class**. On top of the canonical `@tale/ui` tokens, the web defines a marketing-surface family in -[`services/web/app/globals.css`](../services/web/app/globals.css) — cool stone paper in light, +[`services/web/app/globals.css`](../../services/web/app/globals.css) — cool stone paper in light, soft charcoal (not espresso brown) in dark. Ink, borders, and accent are overridden here so chrome matches the paper, not the app's true-neutral black: @@ -74,7 +74,7 @@ live rings, send buttons — never for body text or large fills. ## Animated product demos — the doctrine The homepage's product visuals are **code-built animated mockups**, not screenshots and not video. -They live in [`services/web/app/components/blocks/demos/`](../services/web/app/components/blocks/demos/) +They live in [`services/web/app/components/blocks/demos/`](../../services/web/app/components/blocks/demos/) and follow one contract: - **Composed from the design system.** DOM + `@tale/ui` tokens/primitives only — fidelity comes from @@ -128,7 +128,7 @@ and follow one contract: ### Shared marketing primitives Build new marketing pages from -[`services/web/app/components/marketing/`](../services/web/app/components/marketing/) +[`services/web/app/components/marketing/`](../../services/web/app/components/marketing/) instead of hand-rolling motion, CTAs, links, or section chrome. Variants use `class-variance-authority` (`cva`) — never ad-hoc `TONE[tone]` maps. @@ -187,10 +187,10 @@ New routes register in `lib/seo/route-paths.ts` **and** `lib/seo/marketing-route ## SEO is a design constraint Every marketing page declares its head once via -[`services/web/lib/seo/use-document-meta.ts`](../services/web/lib/seo/use-document-meta.ts) -(adapter over shared [`@tale/ui/seo/tale-document-meta`](../packages/ui/src/seo/tale-document-meta.ts); -URL join + hreflang maps from [`@tale/ui/seo/urls`](../packages/ui/src/seo/urls.ts) / -[`@tale/ui/seo/alternates`](../packages/ui/src/seo/alternates.ts)) +[`services/web/lib/seo/use-document-meta.ts`](../../services/web/lib/seo/use-document-meta.ts) +(adapter over shared [`@tale/ui/seo/tale-document-meta`](../../packages/ui/src/seo/tale-document-meta.ts); +URL join + hreflang maps from [`@tale/ui/seo/urls`](../../packages/ui/src/seo/urls.ts) / +[`@tale/ui/seo/alternates`](../../packages/ui/src/seo/alternates.ts)) with the **unlocalized `path`** — canonical, the hreflang cluster, `og:locale`, and the brand OG card (`public/og.png`, 1200×630) all derive from it. On top of that: diff --git a/designs/accessibility-audit.md b/design/sources/accessibility-audit.md similarity index 100% rename from designs/accessibility-audit.md rename to design/sources/accessibility-audit.md diff --git a/designs/platform/agents.pen b/design/sources/platform/agents.pen similarity index 100% rename from designs/platform/agents.pen rename to design/sources/platform/agents.pen diff --git a/designs/platform/auth.pen b/design/sources/platform/auth.pen similarity index 100% rename from designs/platform/auth.pen rename to design/sources/platform/auth.pen diff --git a/designs/platform/automations.pen b/design/sources/platform/automations.pen similarity index 100% rename from designs/platform/automations.pen rename to design/sources/platform/automations.pen diff --git a/designs/platform/chat.pen b/design/sources/platform/chat.pen similarity index 100% rename from designs/platform/chat.pen rename to design/sources/platform/chat.pen diff --git a/designs/platform/conversations.pen b/design/sources/platform/conversations.pen similarity index 100% rename from designs/platform/conversations.pen rename to design/sources/platform/conversations.pen diff --git a/designs/platform/design-system.md b/design/sources/platform/design-system.md similarity index 100% rename from designs/platform/design-system.md rename to design/sources/platform/design-system.md diff --git a/designs/platform/images/2fa-qr-code-dark.png b/design/sources/platform/images/2fa-qr-code-dark.png similarity index 100% rename from designs/platform/images/2fa-qr-code-dark.png rename to design/sources/platform/images/2fa-qr-code-dark.png diff --git a/designs/platform/images/2fa-qr-code.png b/design/sources/platform/images/2fa-qr-code.png similarity index 100% rename from designs/platform/images/2fa-qr-code.png rename to design/sources/platform/images/2fa-qr-code.png diff --git a/designs/platform/images/branding-dark-mode-hover.png b/design/sources/platform/images/branding-dark-mode-hover.png similarity index 100% rename from designs/platform/images/branding-dark-mode-hover.png rename to design/sources/platform/images/branding-dark-mode-hover.png diff --git a/designs/platform/images/branding-dark-mode.png b/design/sources/platform/images/branding-dark-mode.png similarity index 100% rename from designs/platform/images/branding-dark-mode.png rename to design/sources/platform/images/branding-dark-mode.png diff --git a/designs/platform/images/branding-light-mode-hover.png b/design/sources/platform/images/branding-light-mode-hover.png similarity index 100% rename from designs/platform/images/branding-light-mode-hover.png rename to design/sources/platform/images/branding-light-mode-hover.png diff --git a/designs/platform/images/branding-light-mode.png b/design/sources/platform/images/branding-light-mode.png similarity index 100% rename from designs/platform/images/branding-light-mode.png rename to design/sources/platform/images/branding-light-mode.png diff --git a/designs/platform/images/branding-logo-upload-hover.png b/design/sources/platform/images/branding-logo-upload-hover.png similarity index 100% rename from designs/platform/images/branding-logo-upload-hover.png rename to design/sources/platform/images/branding-logo-upload-hover.png diff --git a/designs/platform/images/branding-logo-upload.png b/design/sources/platform/images/branding-logo-upload.png similarity index 100% rename from designs/platform/images/branding-logo-upload.png rename to design/sources/platform/images/branding-logo-upload.png diff --git a/designs/platform/images/chat-image-upload-preview.png b/design/sources/platform/images/chat-image-upload-preview.png similarity index 100% rename from designs/platform/images/chat-image-upload-preview.png rename to design/sources/platform/images/chat-image-upload-preview.png diff --git a/designs/platform/images/conversations-image-preview-1-dark.png b/design/sources/platform/images/conversations-image-preview-1-dark.png similarity index 100% rename from designs/platform/images/conversations-image-preview-1-dark.png rename to design/sources/platform/images/conversations-image-preview-1-dark.png diff --git a/designs/platform/images/conversations-image-preview-1.png b/design/sources/platform/images/conversations-image-preview-1.png similarity index 100% rename from designs/platform/images/conversations-image-preview-1.png rename to design/sources/platform/images/conversations-image-preview-1.png diff --git a/designs/platform/images/conversations-image-preview-2-dark.png b/design/sources/platform/images/conversations-image-preview-2-dark.png similarity index 100% rename from designs/platform/images/conversations-image-preview-2-dark.png rename to design/sources/platform/images/conversations-image-preview-2-dark.png diff --git a/designs/platform/images/conversations-image-preview-2.png b/design/sources/platform/images/conversations-image-preview-2.png similarity index 100% rename from designs/platform/images/conversations-image-preview-2.png rename to design/sources/platform/images/conversations-image-preview-2.png diff --git a/designs/platform/images/generated-1776772243303.png b/design/sources/platform/images/generated-1776772243303.png similarity index 100% rename from designs/platform/images/generated-1776772243303.png rename to design/sources/platform/images/generated-1776772243303.png diff --git a/designs/platform/images/generated-1776772261199.png b/design/sources/platform/images/generated-1776772261199.png similarity index 100% rename from designs/platform/images/generated-1776772261199.png rename to design/sources/platform/images/generated-1776772261199.png diff --git a/designs/platform/images/generated-1776772305574.png b/design/sources/platform/images/generated-1776772305574.png similarity index 100% rename from designs/platform/images/generated-1776772305574.png rename to design/sources/platform/images/generated-1776772305574.png diff --git a/designs/platform/images/generated-1776772329187.png b/design/sources/platform/images/generated-1776772329187.png similarity index 100% rename from designs/platform/images/generated-1776772329187.png rename to design/sources/platform/images/generated-1776772329187.png diff --git a/designs/platform/images/generated-1777279585958.png b/design/sources/platform/images/generated-1777279585958.png similarity index 100% rename from designs/platform/images/generated-1777279585958.png rename to design/sources/platform/images/generated-1777279585958.png diff --git a/designs/platform/images/generated-1777279585963.png b/design/sources/platform/images/generated-1777279585963.png similarity index 100% rename from designs/platform/images/generated-1777279585963.png rename to design/sources/platform/images/generated-1777279585963.png diff --git a/designs/platform/images/generated-1777279587042.png b/design/sources/platform/images/generated-1777279587042.png similarity index 100% rename from designs/platform/images/generated-1777279587042.png rename to design/sources/platform/images/generated-1777279587042.png diff --git a/designs/platform/images/generated-1777279587046.png b/design/sources/platform/images/generated-1777279587046.png similarity index 100% rename from designs/platform/images/generated-1777279587046.png rename to design/sources/platform/images/generated-1777279587046.png diff --git a/designs/platform/images/generated-1777306816645.png b/design/sources/platform/images/generated-1777306816645.png similarity index 100% rename from designs/platform/images/generated-1777306816645.png rename to design/sources/platform/images/generated-1777306816645.png diff --git a/designs/platform/images/generated-1777306829110.png b/design/sources/platform/images/generated-1777306829110.png similarity index 100% rename from designs/platform/images/generated-1777306829110.png rename to design/sources/platform/images/generated-1777306829110.png diff --git a/designs/platform/images/generated-1777306860714.png b/design/sources/platform/images/generated-1777306860714.png similarity index 100% rename from designs/platform/images/generated-1777306860714.png rename to design/sources/platform/images/generated-1777306860714.png diff --git a/designs/platform/images/generated-1777306860716.png b/design/sources/platform/images/generated-1777306860716.png similarity index 100% rename from designs/platform/images/generated-1777306860716.png rename to design/sources/platform/images/generated-1777306860716.png diff --git a/designs/platform/images/generated-1777306860717.png b/design/sources/platform/images/generated-1777306860717.png similarity index 100% rename from designs/platform/images/generated-1777306860717.png rename to design/sources/platform/images/generated-1777306860717.png diff --git a/designs/platform/images/generated-1777306860719.png b/design/sources/platform/images/generated-1777306860719.png similarity index 100% rename from designs/platform/images/generated-1777306860719.png rename to design/sources/platform/images/generated-1777306860719.png diff --git a/designs/platform/images/generated-1777306878323.png b/design/sources/platform/images/generated-1777306878323.png similarity index 100% rename from designs/platform/images/generated-1777306878323.png rename to design/sources/platform/images/generated-1777306878323.png diff --git a/designs/platform/images/generated-1777306878328.png b/design/sources/platform/images/generated-1777306878328.png similarity index 100% rename from designs/platform/images/generated-1777306878328.png rename to design/sources/platform/images/generated-1777306878328.png diff --git a/designs/platform/images/generated-1777306897604.png b/design/sources/platform/images/generated-1777306897604.png similarity index 100% rename from designs/platform/images/generated-1777306897604.png rename to design/sources/platform/images/generated-1777306897604.png diff --git a/designs/platform/images/image-container.png b/design/sources/platform/images/image-container.png similarity index 100% rename from designs/platform/images/image-container.png rename to design/sources/platform/images/image-container.png diff --git a/designs/platform/images/image-preview-default.png b/design/sources/platform/images/image-preview-default.png similarity index 100% rename from designs/platform/images/image-preview-default.png rename to design/sources/platform/images/image-preview-default.png diff --git a/designs/platform/images/image-preview-hover.png b/design/sources/platform/images/image-preview-hover.png similarity index 100% rename from designs/platform/images/image-preview-hover.png rename to design/sources/platform/images/image-preview-hover.png diff --git a/designs/platform/images/main-content.png b/design/sources/platform/images/main-content.png similarity index 100% rename from designs/platform/images/main-content.png rename to design/sources/platform/images/main-content.png diff --git a/designs/platform/images/pages-agents-detail.png b/design/sources/platform/images/pages-agents-detail.png similarity index 100% rename from designs/platform/images/pages-agents-detail.png rename to design/sources/platform/images/pages-agents-detail.png diff --git a/designs/platform/images/pages-chat-default.png b/design/sources/platform/images/pages-chat-default.png similarity index 100% rename from designs/platform/images/pages-chat-default.png rename to design/sources/platform/images/pages-chat-default.png diff --git a/designs/platform/images/pages-conversations-default-active-context-menu.png b/design/sources/platform/images/pages-conversations-default-active-context-menu.png similarity index 100% rename from designs/platform/images/pages-conversations-default-active-context-menu.png rename to design/sources/platform/images/pages-conversations-default-active-context-menu.png diff --git a/designs/platform/images/products-image-preview-dark.png b/design/sources/platform/images/products-image-preview-dark.png similarity index 100% rename from designs/platform/images/products-image-preview-dark.png rename to design/sources/platform/images/products-image-preview-dark.png diff --git a/designs/platform/images/products-image-preview.png b/design/sources/platform/images/products-image-preview.png similarity index 100% rename from designs/platform/images/products-image-preview.png rename to design/sources/platform/images/products-image-preview.png diff --git a/designs/platform/images/products-row-1.png b/design/sources/platform/images/products-row-1.png similarity index 100% rename from designs/platform/images/products-row-1.png rename to design/sources/platform/images/products-row-1.png diff --git a/designs/platform/images/products-row-2.png b/design/sources/platform/images/products-row-2.png similarity index 100% rename from designs/platform/images/products-row-2.png rename to design/sources/platform/images/products-row-2.png diff --git a/designs/platform/images/products-row-3.png b/design/sources/platform/images/products-row-3.png similarity index 100% rename from designs/platform/images/products-row-3.png rename to design/sources/platform/images/products-row-3.png diff --git a/designs/platform/images/products-row-4.png b/design/sources/platform/images/products-row-4.png similarity index 100% rename from designs/platform/images/products-row-4.png rename to design/sources/platform/images/products-row-4.png diff --git a/designs/platform/images/products-row-5.png b/design/sources/platform/images/products-row-5.png similarity index 100% rename from designs/platform/images/products-row-5.png rename to design/sources/platform/images/products-row-5.png diff --git a/designs/platform/images/products-row-6.png b/design/sources/platform/images/products-row-6.png similarity index 100% rename from designs/platform/images/products-row-6.png rename to design/sources/platform/images/products-row-6.png diff --git a/designs/platform/images/products-row-7.png b/design/sources/platform/images/products-row-7.png similarity index 100% rename from designs/platform/images/products-row-7.png rename to design/sources/platform/images/products-row-7.png diff --git a/designs/platform/images/products-row-8.png b/design/sources/platform/images/products-row-8.png similarity index 100% rename from designs/platform/images/products-row-8.png rename to design/sources/platform/images/products-row-8.png diff --git a/designs/platform/images/products-row-9.png b/design/sources/platform/images/products-row-9.png similarity index 100% rename from designs/platform/images/products-row-9.png rename to design/sources/platform/images/products-row-9.png diff --git a/designs/platform/images/screenshot-2026-04-14-070518.png b/design/sources/platform/images/screenshot-2026-04-14-070518.png similarity index 100% rename from designs/platform/images/screenshot-2026-04-14-070518.png rename to design/sources/platform/images/screenshot-2026-04-14-070518.png diff --git a/designs/platform/images/screenshot-2026-04-14-070657.png b/design/sources/platform/images/screenshot-2026-04-14-070657.png similarity index 100% rename from designs/platform/images/screenshot-2026-04-14-070657.png rename to design/sources/platform/images/screenshot-2026-04-14-070657.png diff --git a/designs/platform/images/screenshot-2026-04-14-071242.png b/design/sources/platform/images/screenshot-2026-04-14-071242.png similarity index 100% rename from designs/platform/images/screenshot-2026-04-14-071242.png rename to design/sources/platform/images/screenshot-2026-04-14-071242.png diff --git a/designs/platform/knowledge.pen b/design/sources/platform/knowledge.pen similarity index 100% rename from designs/platform/knowledge.pen rename to design/sources/platform/knowledge.pen diff --git a/designs/platform/onboardding.pen b/design/sources/platform/onboardding.pen similarity index 100% rename from designs/platform/onboardding.pen rename to design/sources/platform/onboardding.pen diff --git a/designs/platform/poc-2.0.pen b/design/sources/platform/poc-2.0.pen similarity index 100% rename from designs/platform/poc-2.0.pen rename to design/sources/platform/poc-2.0.pen diff --git a/designs/platform/semantic-tokens.json b/design/sources/platform/semantic-tokens.json similarity index 100% rename from designs/platform/semantic-tokens.json rename to design/sources/platform/semantic-tokens.json diff --git a/designs/platform/settings.pen b/design/sources/platform/settings.pen similarity index 100% rename from designs/platform/settings.pen rename to design/sources/platform/settings.pen diff --git a/designs/shared/branding.pen b/design/sources/shared/branding.pen similarity index 100% rename from designs/shared/branding.pen rename to design/sources/shared/branding.pen diff --git a/designs/shared/images/logo-content.png b/design/sources/shared/images/logo-content.png similarity index 100% rename from designs/shared/images/logo-content.png rename to design/sources/shared/images/logo-content.png diff --git a/designs/shared/images/logo-design.png b/design/sources/shared/images/logo-design.png similarity index 100% rename from designs/shared/images/logo-design.png rename to design/sources/shared/images/logo-design.png diff --git a/designs/shared/images/logo-development.png b/design/sources/shared/images/logo-development.png similarity index 100% rename from designs/shared/images/logo-development.png rename to design/sources/shared/images/logo-development.png diff --git a/designs/shared/images/logo-external-content.png b/design/sources/shared/images/logo-external-content.png similarity index 100% rename from designs/shared/images/logo-external-content.png rename to design/sources/shared/images/logo-external-content.png diff --git a/designs/shared/images/logo-external-design.png b/design/sources/shared/images/logo-external-design.png similarity index 100% rename from designs/shared/images/logo-external-design.png rename to design/sources/shared/images/logo-external-design.png diff --git a/designs/shared/images/logo-external-development.png b/design/sources/shared/images/logo-external-development.png similarity index 100% rename from designs/shared/images/logo-external-development.png rename to design/sources/shared/images/logo-external-development.png diff --git a/designs/shared/images/logo-marketing.png b/design/sources/shared/images/logo-marketing.png similarity index 100% rename from designs/shared/images/logo-marketing.png rename to design/sources/shared/images/logo-marketing.png diff --git a/designs/shared/images/logo-operations.png b/design/sources/shared/images/logo-operations.png similarity index 100% rename from designs/shared/images/logo-operations.png rename to design/sources/shared/images/logo-operations.png diff --git a/designs/shared/images/logo-qa.png b/design/sources/shared/images/logo-qa.png similarity index 100% rename from designs/shared/images/logo-qa.png rename to design/sources/shared/images/logo-qa.png diff --git a/designs/shared/images/logo-recruitment.png b/design/sources/shared/images/logo-recruitment.png similarity index 100% rename from designs/shared/images/logo-recruitment.png rename to design/sources/shared/images/logo-recruitment.png diff --git a/designs/shared/images/moodboard-01-1.png b/design/sources/shared/images/moodboard-01-1.png similarity index 100% rename from designs/shared/images/moodboard-01-1.png rename to design/sources/shared/images/moodboard-01-1.png diff --git a/designs/shared/images/moodboard-01-2.png b/design/sources/shared/images/moodboard-01-2.png similarity index 100% rename from designs/shared/images/moodboard-01-2.png rename to design/sources/shared/images/moodboard-01-2.png diff --git a/designs/shared/images/moodboard-01-3.png b/design/sources/shared/images/moodboard-01-3.png similarity index 100% rename from designs/shared/images/moodboard-01-3.png rename to design/sources/shared/images/moodboard-01-3.png diff --git a/designs/shared/images/moodboard-01-4.png b/design/sources/shared/images/moodboard-01-4.png similarity index 100% rename from designs/shared/images/moodboard-01-4.png rename to design/sources/shared/images/moodboard-01-4.png diff --git a/designs/shared/images/moodboard-02-1.png b/design/sources/shared/images/moodboard-02-1.png similarity index 100% rename from designs/shared/images/moodboard-02-1.png rename to design/sources/shared/images/moodboard-02-1.png diff --git a/designs/shared/images/moodboard-02-2.png b/design/sources/shared/images/moodboard-02-2.png similarity index 100% rename from designs/shared/images/moodboard-02-2.png rename to design/sources/shared/images/moodboard-02-2.png diff --git a/designs/shared/images/moodboard-02-3.png b/design/sources/shared/images/moodboard-02-3.png similarity index 100% rename from designs/shared/images/moodboard-02-3.png rename to design/sources/shared/images/moodboard-02-3.png diff --git a/designs/shared/images/moodboard-02-4.png b/design/sources/shared/images/moodboard-02-4.png similarity index 100% rename from designs/shared/images/moodboard-02-4.png rename to design/sources/shared/images/moodboard-02-4.png diff --git a/designs/shared/logofolio.pen b/design/sources/shared/logofolio.pen similarity index 100% rename from designs/shared/logofolio.pen rename to design/sources/shared/logofolio.pen diff --git a/docs/de/platform/admin/enterprise-sso.md b/docs/de/platform/admin/enterprise-sso.md index d0dc5e7e8a..cc19838d30 100644 --- a/docs/de/platform/admin/enterprise-sso.md +++ b/docs/de/platform/admin/enterprise-sso.md @@ -55,7 +55,7 @@ Wenn ein Anbieter OAuth2, aber kein Discovery-Dokument bietet, wähle **OAuth2** 1. Wähle in Tale **SAML 2.0**. Die Seite zeigt deine **SP-Metadaten-URL** und **ACS-URL (Antwort)** — kopiere diese. 2. Erstelle in deinem IdP eine neue SAML-2.0-Anwendung. Setze deren **ACS-URL** und **Entity-ID/Audience** auf die angezeigten SP-Werte (oder lade die SP-Metadaten-URL hoch) und das **Name-ID**-Format auf E-Mail-Adresse. -3. Kopiere die **Entity-ID**, die **Anmelde-URL** und das **Signaturzertifikat (PEM)** des IdP nach Tale und speichere. +3. Füge unter **IdP-Metadaten importieren** die Föderations-Metadaten-URL deines IdP ein und klick auf **Importieren** — oder klick auf **XML hochladen**, falls dein IdP nur eine Datei zum Herunterladen anbietet. Tale liest die Metadaten aus und füllt Entity-ID, Anmelde-URL und Signaturzertifikat in den Feldern darunter, ohne dass du etwas abtippen musst. Alle drei Felder bleiben bearbeitbar — prüfe die importierten Werte (oder trag sie von Hand ein, falls dein IdP keine Metadaten veröffentlicht), bevor du speicherst. 4. Ordne die Attribute für **E-Mail**, **Name** und **Gruppe** in deinem IdP zu; weichen die Namen von den Standardwerten ab, trage die passenden Attributnamen in Tales erweiterten Feldern ein. Tale unterstützt sowohl IdP-initiiertes SAML (der IdP sendet eine Assertion an die ACS-URL) als auch SP-initiiertes SAML (ein Mitglied klickt auf **Mit SSO anmelden** und Tale leitet zum IdP weiter). Signierte Assertions sind erforderlich; verschlüsselte Assertions werden unterstützt, wenn du ein SP-Schlüsselpaar bereitstellst. diff --git a/docs/de/platform/admin/providers.md b/docs/de/platform/admin/providers.md index b829591dc1..27f15d6a05 100644 --- a/docs/de/platform/admin/providers.md +++ b/docs/de/platform/admin/providers.md @@ -19,9 +19,11 @@ Der Drawer ist der Ort, an dem die ganze Anbieter-Arbeit passiert. Die Listenans ## Einen Anbieter hinzufügen -Klick **Anbieter hinzufügen**. Tales Anbieter sind OpenAI-kompatible Endpunkte, ein Anbieter ist also eine **Basis-URL** plus ein **API-Schlüssel** — OpenRouter (`https://openrouter.ai/api/v1`) für den breitesten Katalog, ein Direkt-Anbieter oder ein lokaler Ollama- oder vLLM-Server in deinem Netz. Der Schlüssel wird verschlüsselt gespeichert und nur genutzt, um diesen Anbieter aufzurufen. +Klick **Anbieter hinzufügen**. **Mit einem bekannten Anbieter starten** wählt OpenAI, Anthropic oder OpenRouter und trägt Anbietername und Basis-URL ein — übrig bleibt nur noch dein API-Schlüssel. Änderst du Name oder Basis-URL von Hand, springt die Auswahl zurück auf **Benutzerdefiniert**, den manuellen Weg: Ein Anbieter ist eine **Basis-URL** plus ein **API-Schlüssel** — der eigene Endpunkt eines Direkt-Anbieters, OpenRouter (`https://openrouter.ai/api/v1`) für den breitesten Katalog, oder ein lokaler Ollama- oder vLLM-Server in deinem Netz. Der Schlüssel wird verschlüsselt gespeichert und nur genutzt, um diesen Anbieter aufzurufen. -Sobald die Anmeldedaten sitzen, füll die Modell-Liste: **Modelle abrufen** zieht die Liste, die die API des Anbieters meldet, und **Modell hinzufügen** deklariert eines von Hand. Kein Modell ist aufrufbar, bevor es mit dem richtigen Fähigkeits-Tag in der Liste des Anbieters steht. +Sobald die Anmeldedaten sitzen, füll die Modell-Liste: **Modelle abrufen** zieht die Liste, die die API des Anbieters meldet, **Modell hinzufügen** deklariert eines von Hand, und — sobald der Modellkatalog der Organisation synchronisiert ist — füllt die Auswahl eines Modells aus dem Katalog in diesem Dialog dessen ID und bekannte Fähigkeiten (Kontextfenster, Pricing, Reasoning), statt sie einzutippen. Kein Modell ist aufrufbar, bevor es mit dem richtigen Fähigkeits-Tag in der Liste des Anbieters steht. + +Bei OpenAI, Anthropic und OpenRouter bleibt die Basis-URL auch nach dem Anlegen des Anbieters auf den veröffentlichten Endpunkt gesperrt — öffne den Drawer der Zeile, klick auf **Details bearbeiten** unter **Allgemein**, und das Feld erscheint schreibgeschützt mit der Schaltfläche **Basis-URL überschreiben** daneben. Greif zur Überschreibung nur, wenn du den Slug dieses Anbieters auf einen kompatiblen Proxy oder einen anderen Endpunkt desselben Anbieters richten willst; die Basis-URL jedes anderen Anbieters bleibt direkt editierbar, ganz ohne Überschreibung. ## Die Modell-Liste und Fähigkeits-Tags diff --git a/docs/de/platform/automations/catalog.md b/docs/de/platform/automations/catalog.md index 3a5d486511..48be97c872 100644 --- a/docs/de/platform/automations/catalog.md +++ b/docs/de/platform/automations/catalog.md @@ -1,6 +1,6 @@ --- title: Automatisierungen durchsuchen und installieren -description: Wie der Automatisierungen-Katalog funktioniert — das Seitenpanel, das eine Karte öffnet, der Installations-Assistent mit seiner Vorprüfung, das Neuinstallieren und Deinstallieren, und wie du alle mitgelieferten Automatisierungen auf einmal aktualisierst. +description: Wie der Automatisierungen-Katalog funktioniert — Installiert vs. Alle Automatisierungen, das Seitenpanel, das eine Karte öffnet, der Installations-Assistent mit seiner Vorprüfung, das Neuinstallieren und Deinstallieren, und wie du alle mitgelieferten Automatisierungen auf einmal aktualisierst. --- Der Automatisierungen-Katalog (**Automatisierungen** in der Seitenleiste) ist der Ort, an dem Inhaber, Admins und Entwickler jede Automatisierung durchsuchen, die der Organisation zur Verfügung steht, und entscheiden, welche installiert sind. Diese Seite deckt den Katalog selbst ab — das Seitenpanel, das eine Karte öffnet, den Installations-Assistenten und die Aktionen Neu installieren, Deinstallieren und Aktualisieren, die danach folgen. Was jede mitgelieferte Automatisierung tatsächlich tut, steht auf [Mitgelieferte Automatisierungen](/de/platform/automations/builtin); das mentale Modell für die Bestandteile, die eine Automatisierung bündelt, steht auf [Automatisierungskonzepte](/de/platform/automations/concepts). @@ -11,11 +11,17 @@ Der Automatisierungen-Katalog (**Automatisierungen** in der Seitenleiste) ist de +## Installiert und Alle Automatisierungen + +Der Katalog öffnet sich auf **Installiert** — die Standardauswahl der Tab-Leiste, und der einzige Tab, auf dem sich ein Bundle in seine eigenen Mitglieder-Karten auflöst, statt einmal als Bundle zu erscheinen. Jedes Mitglied trägt auf seinem Icon eine kleine Markierung mit dem Namen seines Bundles — etwa **Teil von GitHub-Issues lösen** —, damit die Zugehörigkeit sichtbar bleibt, und behält sein eigenes **Neu installieren**/**Deinstallieren** im **⋯**-Menü: Ein Bundle hat schließlich keine eigene Installation, die sich als Einheit verwalten ließe (warum, steht auf [Automatisierungskonzepte](/de/platform/automations/concepts)). Wechsle zu **Alle Automatisierungen**, um stattdessen den vollständigen Katalog zu durchsuchen — mitgeliefert und hochgeladen, installiert oder nicht: Hier ist das Bundle selbst die Karte, über einen Assistenten installiert, und seine versteckten Mitglieder tauchen nie für sich allein auf. **Installiert** verwaltet, was läuft; **Alle Automatisierungen** findet Neues. + ## Eine Automatisierung installieren Klick auf eine Karte, und ihr Seitenpanel öffnet sich — dasselbe Klick-zur-Vorschau-Muster, das [Einstellungen > Integrationen](/de/platform/integrations/overview) für seinen eigenen Katalog nutzt. Das Panel listet, was die Installation hinzufügt: seine Seiten, Workflows, Agents, Skills und die Integrationen, die es braucht, plus das Projekt, das es anvisiert, wenn es projektgebunden ist. Klick auf **Installieren**, und der Assistent öffnet sich. -Der Assistent geht nur die Schritte durch, die diese Automatisierung wirklich braucht: einen Schritt **Projekt**, wenn sie projektgebunden ist und du sie nicht schon von innerhalb eines Projekts geöffnet hast; einen Schritt **Änderungen prüfen**, wenn die Installation bereits vorhandene Dateien überschreiben würde; einen Schritt **Installieren**, der jede benötigte, noch nicht verbundene Integration verbindet; einen Schritt **Agent-Modus** für jeden Agent, der auf deinen eigenen Zugangsdaten statt denen der Plattform laufen kann; und einen Schritt **Fertig**. Jeder Einrichtungsschritt lässt sich überspringen — schliess ihn später über die eigene Checkliste **Einrichtung abschließen** der Automatisierung ab. +Der Assistent geht nur die Schritte durch, die diese Automatisierung wirklich braucht: einen Schritt **Projekt**, wenn sie projektgebunden ist und du sie nicht schon von innerhalb eines Projekts geöffnet hast; einen Schritt **Änderungen prüfen**, wenn die Installation bereits vorhandene Dateien überschreiben würde; einen Schritt **Installieren**, der jede benötigte, noch nicht verbundene Integration verbindet; einen Schritt **Agent-Modus** für jeden Agent, der auf deinen eigenen Zugangsdaten statt denen der Plattform laufen kann; und einen Schritt **Fertig**. Das Projekt, das du im Schritt **Projekt** wählst, übernimmt eine doppelte Aufgabe: Es ist auch die Quelle, aus der jeder von der Automatisierung installierte Zeitplan seine Variable `projectId` erhält, sodass ein Workflow, der `{{input.projectId}}` liest, gegen das richtige Projekt läuft, ohne dass du sie im [Trigger-Tab](/de/platform/automations/triggers) erneut eintippen musst. + +**Fertig** behauptet erst dann Bereitschaft, wenn die Automatisierung es auch ist. Ist jede erforderliche Integration verbunden, steht genau das da; ist dagegen eine erforderliche Zeitplan-Variable noch leer — wonach kein Assistent-Schritt fragt, weil es vom Eingabeschema des Workflows abhängt —, nennt Fertig sie stattdessen und bietet einen Button **Trigger öffnen**, der direkt zum betroffenen Zeitplan springt (bei einem Bundle macht der Schritt Fertig dasselbe pro Mitglied und nennt, welche noch eine Variable brauchen). Jeder Einrichtungsschritt lässt sich trotzdem später abschließen: eine übersprungene Verbindung über die eigene Checkliste **Einrichtung abschließen** der Automatisierung, eine Zeitplan-Variable über ihren [Trigger-Tab](/de/platform/automations/triggers). ## Die Prüfung vor der Installation diff --git a/docs/de/platform/automations/triggers.md b/docs/de/platform/automations/triggers.md index 0324901197..23c4ed3f1f 100644 --- a/docs/de/platform/automations/triggers.md +++ b/docs/de/platform/automations/triggers.md @@ -13,7 +13,13 @@ Ein Trigger ist das, was einen Workflow startet, ohne dass ein Mensch etwas ankl ## Zeitpläne -Klicke auf **Zeitplan hinzufügen**, um den Workflow nach der Uhr laufen zu lassen. Das Formular nimmt einen Standard-Cron-Ausdruck mit fünf Feldern, mit Voreinstellungen von **Alle 5 Minuten** bis **Monatlich** — oder beschreib das Timing in Alltagssprache und klicke auf **Generieren**, damit die KI den Cron-Ausdruck für dich schreibt. **Workflow-Variablen** sind die Eingabe, die jeder geplante Lauf erhält, vorbefüllt aus dem Eingabeschema des Workflows. Die Zeile zeigt unter **Zuletzt ausgelöst** den letzten Zeitpunkt und wer den Zeitplan erstellt hat. +Klicke auf **Zeitplan hinzufügen**, um den Workflow nach der Uhr laufen zu lassen. Das Formular nimmt einen Standard-Cron-Ausdruck mit fünf Feldern, mit Voreinstellungen von **Alle 5 Minuten** bis **Monatlich** — oder beschreib das Timing in Alltagssprache und klicke auf **Generieren**, damit die KI den Cron-Ausdruck für dich schreibt. **Zeitzone** legt fest, in welcher Zone der Cron feuert, standardmäßig deine eigene Browser-Zone; beim Bearbeiten eines bestehenden Zeitplans bleibt dessen bisherige Zone erhalten. + +**Workflow-Variablen** sind die Eingabe, die jeder geplante Lauf erhält — und wenn der Start-Schritt des Workflows ein Eingabeschema deklariert, zeigt der Dialog dafür ein echtes Formular statt rohem JSON: Ein Feld `projectId` wird zu einem Auswahlfeld **Projekt**, das standardmäßig auf das eigene gebundene Projekt dieses Zeitplans zeigt, `owner` und `repo` fassen sich zu einem einzigen Feld **GitHub-Repository** zusammen, das `owner/repo` oder eine vollständige GitHub-URL annimmt, und jedes andere deklarierte Feld bekommt sein eigenes beschriftetes Eingabefeld mit der Beschreibung aus dem Schema als Hilfetext. Ein leer gelassenes Pflichtfeld zeigt seinen eigenen Fehler und blockiert **Speichern** — dieselbe Regel, die das Panel **Workflow testen** im Editor schon durchsetzt, sodass sich ein Zeitplan nicht in einem Zustand speichern lässt, den sein eigener Workflow zur Laufzeit ablehnen würde. Klicke auf **Als JSON bearbeiten**, um für ein Schema, das sich nicht als Formular darstellen lässt, auf den rohen Editor auszuweichen. + +Diese Variablen gelten pro Zeitplan, nicht die Standardwerte des Workflows im Tab **Konfiguration** der Automatisierung — zwei verschiedene Zeitpläne desselben Workflows können je ihr eigenes Repository oder Projekt senden, und nur was hier gesetzt ist, erreicht den Lauf. + +Die Zeile zeigt das gebundene **Projekt** des Zeitplans (oder **Kein Projekt**), seinen letzten Zeitpunkt unter **Zuletzt ausgelöst** und wer ihn erstellt hat. Ein Zeitplan, dem noch eine Pflichtvariable seines Workflows fehlt, trägt ein gelbes Badge **Konfiguration nötig** — fahr mit der Maus darüber für die genauen Feldnamen —, selbst wenn er aktiv ist, weil ein Lauf zur Feuerzeit mit einem leeren Pflichtwert scheitert; ein an ein Projekt gebundener Zeitplan erfüllt eine Pflichtvariable `projectId` bereits, ohne sie in den Variablen zu wiederholen. Dieselbe Lücke taucht auch im eigenen Banner **Einrichtung abschließen** der Automatisierung und im Schritt Fertig des [Installations-Assistenten](/de/platform/automations/catalog) auf — beide verlinken zurück hierher. ## Webhooks diff --git a/docs/de/self-hosted/operate/upgrades.md b/docs/de/self-hosted/operate/upgrades.md index d195110c6f..b5f55dac8a 100644 --- a/docs/de/self-hosted/operate/upgrades.md +++ b/docs/de/self-hosted/operate/upgrades.md @@ -123,9 +123,9 @@ Um bewusst eine Version _runter_ zu gehen — etwa wenn ein Minor-Release Ärger ## Upgrade von 0.3.1 oder älter -Instanzen auf Version 0.3.1 oder älter halten die Daten des Convex-Backends im Docker-Volume `platform-data`. Neuere Versionen betreiben Convex als eigenen Service mit eigenem `convex-data`-Volume — und die automatische Kopie, die frühe Releases für diesen Umzug mitbrachten, ist nicht mehr im CLI. Springst du direkt über diese Grenze, legt `tale deploy` ein **leeres** `convex-data`-Volume an: Die Instanz kommt leer hoch, während jedes Byte deiner Daten unangetastet im alten `platform-data`-Volume liegt. Gelöscht wird nichts — aber die Daten ziehen nicht von selbst um, und `tale update` warnt, wenn es diese Konstellation erkennt. +Instanzen auf Version 0.3.1 oder älter halten die Daten des Convex-Backends im Docker-Volume `platform-data`. Neuere Versionen betreiben Convex als eigenen Service mit eigenem `convex-data`-Volume — und beim Deploy zieht nichts die Daten automatisch um. Springst du direkt über diese Grenze, legt `tale deploy` ein **leeres** `convex-data`-Volume an: Die Instanz kommt leer hoch, während jedes Byte deiner Daten unangetastet im alten `platform-data`-Volume liegt. Gelöscht wird nichts — aber die Daten ziehen nicht von selbst um, und `tale update` warnt, wenn es diese Konstellation erkennt, und bietet dir an, die Kopie direkt auszuführen. -Docker kennt kein natives Volume-Rename, der Umzug ist also eine Kopie durch einen Helfer-Container. Führ ihn vor `tale deploy` aus — mit gestopptem Stack, damit nichts das Volume offen hält: +Docker kennt kein natives Volume-Rename, der Umzug ist also eine Kopie durch einen Helfer-Container — genau die Schritte, die `tale update` für dich ausführt, wenn du den Prompt bestätigst (das alte Volume bleibt in jedem Fall erhalten). Von Hand — weil du den Prompt abgelehnt hast oder die automatische Kopie fehlgeschlagen ist — führst du ihn vor `tale deploy` aus, mit gestopptem Stack, damit nichts das Volume offen hält: ```bash # 1. Das Legacy-Volume finden — ist die `id` in tale.json. diff --git a/docs/en/platform/admin/enterprise-sso.md b/docs/en/platform/admin/enterprise-sso.md index dd58a1bacb..e49fedd962 100644 --- a/docs/en/platform/admin/enterprise-sso.md +++ b/docs/en/platform/admin/enterprise-sso.md @@ -55,7 +55,7 @@ If a provider exposes OAuth2 but no discovery document, choose **OAuth2** and en 1. In Tale, choose **SAML 2.0**. The page shows your **SP metadata URL** and **ACS (reply) URL** — copy them. 2. In your IdP, create a new SAML 2.0 application. Set its **ACS URL** and **Entity ID / Audience** to the SP values shown (or upload the SP metadata URL), and set the **Name ID** format to email address. -3. Copy the IdP's **entity ID**, **single sign-on URL**, and **signing certificate (PEM)** into Tale and save. +3. Under **Import IdP metadata**, paste the IdP's federation-metadata URL and click **Import** — or click **Upload XML** if your IdP only offers a downloadable file. Tale parses the metadata and fills the entity ID, sign-on URL, and signing certificate fields below, so there's nothing to retype by hand. All three stay editable, so review the imported values (or fill them in yourself, if your IdP publishes no metadata document) before saving. 4. Map the **email**, **name**, and **group** attributes in your IdP; if their names differ from the defaults, set the matching attribute names in Tale's advanced fields. Tale supports both IdP-initiated SAML (the IdP posts an assertion to the ACS URL) and SP-initiated SAML (a member clicks **Sign in with SSO** and Tale redirects to the IdP). Signed assertions are required; encrypted assertions are supported when you supply an SP keypair. diff --git a/docs/en/platform/admin/providers.md b/docs/en/platform/admin/providers.md index 260e112f3d..5de2e90997 100644 --- a/docs/en/platform/admin/providers.md +++ b/docs/en/platform/admin/providers.md @@ -19,9 +19,11 @@ The drawer is where all the per-provider work happens. The list view is delibera ## Adding a provider -Click **Add provider**. Tale's providers are OpenAI-compatible endpoints, so a provider is a **base URL** plus an **API key** — OpenRouter (`https://openrouter.ai/api/v1`) for the widest catalog, a direct vendor, or a local Ollama or vLLM server on your network. The key is stored encrypted and used only to call that provider. +Click **Add provider**. **Start from a known provider** picks OpenAI, Anthropic, or OpenRouter and fills in the provider name and base URL — the only thing left to add is your API key. Editing the name or base URL by hand switches the picker back to **Custom**, the manual path: a provider is a **base URL** plus an **API key** — a direct vendor's own endpoint, OpenRouter (`https://openrouter.ai/api/v1`) for the widest catalog, or a local Ollama or vLLM server on your network. The key is stored encrypted and used only to call that provider. -Once the credential lands, populate the model list: **Fetch models** pulls the list the provider's API reports, and **Add model** declares one by hand. No model is callable until it is in the provider's list with the right capability tag. +Once the credential lands, populate the model list: **Fetch models** pulls the list the provider's API reports, **Add model** declares one by hand, and — once the org's model catalog has synced — picking a model from the catalog inside that dialog fills its ID and known capabilities (context window, pricing, reasoning) instead of typing them. No model is callable until it is in the provider's list with the right capability tag. + +For OpenAI, Anthropic, and OpenRouter, the base URL stays locked to the published endpoint even after the provider is created — open the row's drawer, click **Edit** under **General**, and the field shows read-only with an **Override base URL** button beside it. Reach for the override only to point that provider's slug at a compatible proxy or regional mirror; every other provider's base URL is editable directly, no override needed. ## The model list and capability tags diff --git a/docs/en/platform/automations/catalog.md b/docs/en/platform/automations/catalog.md index 4fc7843824..19e73fff9b 100644 --- a/docs/en/platform/automations/catalog.md +++ b/docs/en/platform/automations/catalog.md @@ -1,6 +1,6 @@ --- title: Browse and install automations -description: How the Automations catalog works — the side panel a card opens, the install wizard and its preflight, reinstalling and uninstalling, and updating every built-in automation at once. +description: How the Automations catalog works — Installed vs All automations, the side panel a card opens, the install wizard and its preflight, reinstalling and uninstalling, and updating every built-in automation at once. --- The Automations catalog (**Automations** in the sidebar) is where Owners, Admins, and Developers browse every automation available to the organization and decide which ones are installed. This page covers the catalog itself — the side panel a card opens, the install wizard, and the reinstall, uninstall, and update actions that follow. What each shipped automation actually does lives on [Built-in automations](/platform/automations/builtin); the mental model for the pieces an automation bundles lives on [Automation concepts](/platform/automations/concepts). @@ -11,11 +11,17 @@ The Automations catalog (**Automations** in the sidebar) is where Owners, Admins +## Installed and All + +The catalog opens on **Installed** — the tab strip's default, and the only tab where a bundle dissolves into its own member cards instead of showing once as the bundle. Each member carries a small marker on its icon naming its bundle — **Part of Resolve GitHub issues**, for one — so you can still tell which ones belong together even split apart, and each keeps its own **Reinstall**/**Uninstall** in its **⋯** menu: a bundle has no install of its own to manage as one unit (see [Automation concepts](/platform/automations/concepts) for why). Switch to **All automations** to browse the whole catalog instead — built-in and uploaded, installed or not: here the bundle IS the card, installed through one wizard, and its hidden members never appear on their own. Use **Installed** to manage what's running; use **All automations** to find something new to add. + ## Installing one Click a card and its side panel opens — the same click-to-preview pattern [Settings > Integrations](/platform/integrations/overview) uses for its own catalog. The panel lists what installing adds: its pages, workflows, agents, skills, and the integrations it requires, plus which project it targets if it's project-scoped. Click **Install** and the wizard opens. -The wizard walks only the steps this automation actually needs: a **Project** step if it's project-scoped and you didn't open it from inside one already; a **Review changes** step if installing would overwrite files already on disk; an **Install** step that confirms what's ready and names what still needs connecting; an **Agent mode** step for every agent that can run on your own credentials instead of the platform's, followed by a connect step for each provider key or required integration that choice still leaves unconnected; and a **Done** step. Every setup step is skippable — finish it later from the automation's own **Finish setup** checklist. +The wizard walks only the steps this automation actually needs: a **Project** step if it's project-scoped and you didn't open it from inside one already; a **Review changes** step if installing would overwrite files already on disk; an **Install** step that confirms what's ready and names what still needs connecting; an **Agent mode** step for every agent that can run on your own credentials instead of the platform's, followed by a connect step for each provider key or required integration that choice still leaves unconnected; and a **Done** step. The project you pick on the **Project** step does double duty: it's also where any schedule the automation installs gets its `projectId` variable seeded from, so a workflow that reads `{{input.projectId}}` fires against the right project without it being retyped on the [Triggers tab](/platform/automations/triggers). + +**Done** doesn't say "ready" until the automation actually is. Every required integration connected reports exactly that; a required schedule variable still blank — something no wizard step asks for, since it depends on the workflow's own input schema — is named instead, with an **Open Triggers** button that jumps straight to the schedule that needs it (a bundle's Done step does the same per member, naming which ones still need a variable set). Every setup step is finish-able later regardless: a skipped connection from the automation's own **Finish setup** checklist, a schedule variable from its [Triggers tab](/platform/automations/triggers). ## The install preflight diff --git a/docs/en/platform/automations/triggers.md b/docs/en/platform/automations/triggers.md index 7a7cd0b4ff..09021359fd 100644 --- a/docs/en/platform/automations/triggers.md +++ b/docs/en/platform/automations/triggers.md @@ -13,7 +13,13 @@ A trigger is what starts a workflow without a human clicking anything. The **Tri ## Schedules -Click **Add schedule** to run the workflow on a clock. The form takes a standard 5-field cron expression, with presets from **Every 5 minutes** to **Every month** — or describe the timing in plain language and click **Generate** to let the AI write the cron for you. **Workflow variables** are the input each scheduled run receives, pre-filled from the workflow's input schema. The row shows the schedule's **Last triggered** time and who created it. +Click **Add schedule** to run the workflow on a clock. The form takes a standard 5-field cron expression, with presets from **Every 5 minutes** to **Every month** — or describe the timing in plain language and click **Generate** to let the AI write the cron for you. **Timezone** picks which zone the cron fires in, defaulting to your own browser's zone; editing an existing schedule keeps whatever zone it already runs on. + +**Workflow variables** are the input each scheduled run receives — and when the workflow's start step declares an input schema, the dialog renders it as a real form instead of raw JSON: a `projectId` field becomes a **Project** select defaulting to this schedule's own bound project, `owner` and `repo` together collapse into one **GitHub repository** field that takes `owner/repo` or a full GitHub URL, and every other declared field gets its own labelled input with the schema's own description as help text. A required field left blank shows its own error and blocks **Save** — the same rule the workflow editor's **Test workflow** panel already enforces, so a schedule can't be saved in a shape its own workflow would reject at run time. Click **Edit as JSON** to fall back to the raw editor for a schema the form can't represent. + +These variables are per-schedule, not the automation's workflow defaults shown on its **Configuration** tab — two different schedules on the same workflow can each send their own repository or project, and only what's set here reaches the run. + +The row shows the schedule's bound **Project** (or **No project**), its **Last triggered** time, and who created it. A schedule still missing one of its workflow's required variables carries a yellow **Needs configuration** badge — hover it for the exact field names — even while active, since a fire-time run with a blank required value fails; a schedule bound to a project already satisfies a required `projectId` without repeating it in the variables. The same gap surfaces on the automation's own **Finish setup** banner and on the [install wizard](/platform/automations/catalog)'s Done step, both linking back here to fix it. ## Webhooks diff --git a/docs/en/self-hosted/operate/upgrades.md b/docs/en/self-hosted/operate/upgrades.md index 9a1853db39..5d0aaa9c33 100644 --- a/docs/en/self-hosted/operate/upgrades.md +++ b/docs/en/self-hosted/operate/upgrades.md @@ -123,9 +123,9 @@ To move _down_ a version deliberately — say a minor release misbehaves and you ## Upgrading from 0.3.1 or earlier -Instances on version 0.3.1 or earlier keep the Convex backend's data in the `platform-data` Docker volume. Newer versions run Convex as its own service with its own `convex-data` volume — and the automated copy that early releases shipped for this move is no longer in the CLI. Upgrade straight across that boundary and `tale deploy` pre-creates an **empty** `convex-data` volume: the instance comes up blank while every byte of your data still sits, untouched, in the old `platform-data` volume. Nothing is deleted — but the data does not move by itself, and `tale update` warns when it detects this constellation. +Instances on version 0.3.1 or earlier keep the Convex backend's data in the `platform-data` Docker volume. Newer versions run Convex as its own service with its own `convex-data` volume — and nothing moves the data across at deploy time. Upgrade straight across that boundary and `tale deploy` pre-creates an **empty** `convex-data` volume: the instance comes up blank while every byte of your data still sits, untouched, in the old `platform-data` volume. Nothing is deleted — but the data does not move by itself, and `tale update` warns when it detects this constellation and offers to run the copy for you on the spot. -Docker has no native volume rename, so the move is a copy through a helper container. Run it before `tale deploy` — with the stack stopped, so nothing holds the volume open: +Docker has no native volume rename, so the move is a copy through a helper container — the same steps `tale update` runs when you accept its prompt (the old volume stays preserved either way). To do it by hand — you declined the prompt, or the automatic copy failed — run it before `tale deploy`, with the stack stopped, so nothing holds the volume open: ```bash # 1. Find the legacy volume — is the `id` in tale.json. diff --git a/docs/fr/platform/admin/enterprise-sso.md b/docs/fr/platform/admin/enterprise-sso.md index 61fd177b26..6852c03f32 100644 --- a/docs/fr/platform/admin/enterprise-sso.md +++ b/docs/fr/platform/admin/enterprise-sso.md @@ -55,7 +55,7 @@ Si un fournisseur expose OAuth2 mais pas de document de découverte, choisis **O 1. Dans Tale, choisis **SAML 2.0**. La page affiche ton **URL des métadonnées SP** et ton **URL ACS (réponse)** — copie-les. 2. Dans ton IdP, crée une nouvelle application SAML 2.0. Définis son **URL ACS** et son **Entity ID / Audience** sur les valeurs SP affichées (ou importe l’URL des métadonnées SP), et le format **Name ID** sur l’adresse e-mail. -3. Copie l'**Entity ID**, l'**URL de connexion** et le **certificat de signature (PEM)** de l’IdP dans Tale, puis enregistre. +3. Sous **Importer les métadonnées de l'IdP**, colle l’URL des métadonnées de fédération de ton IdP et clique sur **Importer** — ou clique sur **Téléverser le XML** si ton IdP ne propose qu’un fichier à télécharger. Tale lit les métadonnées et remplit l’ID d’entité, l’URL de connexion et le certificat de signature dans les champs ci-dessous, sans que tu aies à les ressaisir. Les trois champs restent modifiables — vérifie les valeurs importées (ou saisis-les toi-même si ton IdP ne publie aucune métadonnée) avant d’enregistrer. 4. Mappe les attributs **e-mail**, **nom** et **groupe** dans ton IdP ; si leurs noms diffèrent des valeurs par défaut, indique les noms d’attributs correspondants dans les champs avancés de Tale. Tale prend en charge le SAML initié par l’IdP (l’IdP envoie une assertion à l’URL ACS) et le SAML initié par le SP (un membre clique sur **Se connecter avec le SSO** et Tale redirige vers l’IdP). Les assertions signées sont requises ; les assertions chiffrées sont prises en charge si tu fournis une paire de clés SP. diff --git a/docs/fr/platform/admin/providers.md b/docs/fr/platform/admin/providers.md index a81f11fe83..292f836beb 100644 --- a/docs/fr/platform/admin/providers.md +++ b/docs/fr/platform/admin/providers.md @@ -19,9 +19,11 @@ Le tiroir est là où se passe tout le travail par fournisseur. La vue liste est ## Ajouter un fournisseur -Clique **Ajouter un fournisseur**. Les fournisseurs de Tale sont des endpoints compatibles OpenAI, un fournisseur est donc une **URL de base** plus une **clé API** — OpenRouter (`https://openrouter.ai/api/v1`) pour le catalogue le plus large, un fournisseur direct, ou un serveur Ollama ou vLLM local sur ton réseau. La clé est stockée chiffrée et utilisée seulement pour appeler ce fournisseur. +Clique **Ajouter un fournisseur**. **Partir d'un fournisseur connu** choisit OpenAI, Anthropic ou OpenRouter et remplit le nom du fournisseur et l’URL de base — il ne reste plus qu’à ajouter ta clé API. Modifier le nom ou l’URL de base à la main fait revenir le sélecteur sur **Personnalisé**, la voie manuelle : un fournisseur est une **URL de base** plus une **clé API** — l’endpoint propre à un fournisseur direct, OpenRouter (`https://openrouter.ai/api/v1`) pour le catalogue le plus large, ou un serveur Ollama ou vLLM local sur ton réseau. La clé est stockée chiffrée et utilisée seulement pour appeler ce fournisseur. -Une fois l’identifiant posé, remplis la liste de modèles : **Récupérer les modèles** tire la liste que l’API du fournisseur rapporte, et **Ajouter un modèle** en déclare un à la main. Aucun modèle n’est appelable tant qu’il n’est pas dans la liste du fournisseur avec la bonne étiquette de capacité. +Une fois l’identifiant posé, remplis la liste de modèles : **Récupérer les modèles** tire la liste que l’API du fournisseur rapporte, **Ajouter un modèle** en déclare un à la main, et — une fois le catalogue de modèles de l’organisation synchronisé — choisir un modèle dans le catalogue depuis cette boîte de dialogue remplit son ID et ses capacités connues (fenêtre de contexte, tarification, raisonnement) au lieu de les saisir. Aucun modèle n’est appelable tant qu’il n’est pas dans la liste du fournisseur avec la bonne étiquette de capacité. + +Pour OpenAI, Anthropic et OpenRouter, l’URL de base reste verrouillée sur l’endpoint publié même après la création du fournisseur — ouvre le tiroir de la ligne, clique sur **Modifier les détails** sous **Général**, et le champ apparaît en lecture seule avec un bouton **Remplacer l'URL de base** à côté. Ne recours au remplacement que pour pointer le slug de ce fournisseur vers un proxy compatible ou un autre endpoint du même fournisseur ; l’URL de base de tout autre fournisseur reste modifiable directement, sans remplacement. ## La liste de modèles et les étiquettes de capacité diff --git a/docs/fr/platform/automations/catalog.md b/docs/fr/platform/automations/catalog.md index 8687f9994b..34f74338ed 100644 --- a/docs/fr/platform/automations/catalog.md +++ b/docs/fr/platform/automations/catalog.md @@ -1,6 +1,6 @@ --- title: Parcourir et installer des automatisations -description: Comment fonctionne le catalogue des automatisations — le panneau latéral qu’ouvre une carte, l’assistant d’installation et son contrôle préalable, réinstaller et désinstaller, et mettre à jour toutes les automatisations livrées en une fois. +description: Comment fonctionne le catalogue des automatisations — Installées vs Toutes les automatisations, le panneau latéral qu’ouvre une carte, l’assistant d’installation et son contrôle préalable, réinstaller et désinstaller, et mettre à jour toutes les automatisations livrées en une fois. --- Le catalogue des automatisations (**Automatisations** dans la barre latérale) est l’endroit où les Propriétaires, Admins et Développeurs parcourent chaque automatisation disponible pour l’organisation et décident lesquelles installer. Cette page couvre le catalogue lui-même — le panneau latéral qu’ouvre une carte, l’assistant d’installation, et les actions de réinstallation, désinstallation et mise à jour qui suivent. Ce que fait chaque automatisation livrée vit sur [Automatisations livrées](/fr/platform/automations/builtin) ; le modèle mental des pièces qu’une automatisation empaquette vit sur [Concepts d’automatisation](/fr/platform/automations/concepts). @@ -11,11 +11,17 @@ Le catalogue des automatisations (**Automatisations** dans la barre latérale) e +## Installées et Toutes les automatisations + +Le catalogue s’ouvre sur **Installées** — le choix par défaut de la barre d’onglets, et le seul onglet où un bundle se dissout en ses propres cartes membres au lieu d’apparaître une fois comme bundle. Chaque membre porte sur son icône un petit repère nommant son bundle — **Partie de Résoudre les issues GitHub**, par exemple — pour que leur appartenance reste visible même séparés, et chacun garde son propre **Réinstaller**/**Désinstaller** dans son menu **⋯** : un bundle n’a pas d’installation propre à gérer comme un tout (voir [Concepts d’automatisation](/fr/platform/automations/concepts) pour comprendre pourquoi). Passe à **Toutes les automatisations** pour parcourir tout le catalogue à la place — livrées et téléversées, installées ou non : ici, le bundle EST la carte, installée via un seul assistant, et ses membres cachés n’apparaissent jamais seuls. **Installées** sert à gérer ce qui tourne ; **Toutes les automatisations** à trouver du nouveau. + ## Installer une automatisation Clique sur une carte et son panneau latéral s’ouvre — le même mode aperçu-au-clic que [Paramètres > Intégrations](/fr/platform/integrations/overview) utilise pour son propre catalogue. Le panneau liste ce que l’installation ajoute : ses pages, workflows, agents, compétences, et les intégrations qu’elle requiert, plus le projet qu’elle cible si elle est scopée à un projet. Clique sur **Installer** et l’assistant s’ouvre. -L’assistant ne parcourt que les étapes dont cette automatisation a réellement besoin : une étape **Projet** si elle est scopée à un projet et que tu ne l’as pas ouverte depuis l’intérieur d’un projet ; une étape **Vérifier les changements** si l’installation écraserait des fichiers déjà sur le disque ; une étape **Installer** qui connecte toute intégration requise pas encore connectée ; une étape **Mode de l’agent** pour chaque agent qui peut tourner sur tes propres identifiants plutôt que sur ceux de la plateforme ; et une étape **Terminé**. Chaque étape de configuration est ignorable — termine-la plus tard depuis la checklist **Terminer la configuration** propre à l’automatisation. +L’assistant ne parcourt que les étapes dont cette automatisation a réellement besoin : une étape **Projet** si elle est scopée à un projet et que tu ne l’as pas ouverte depuis l’intérieur d’un projet ; une étape **Vérifier les changements** si l’installation écraserait des fichiers déjà sur le disque ; une étape **Installer** qui connecte toute intégration requise pas encore connectée ; une étape **Mode de l’agent** pour chaque agent qui peut tourner sur tes propres identifiants plutôt que sur ceux de la plateforme ; et une étape **Terminé**. Le projet que tu choisis à l’étape **Projet** fait double usage : c’est aussi la source dont chaque planification installée par l’automatisation tire sa variable `projectId`, pour qu’un workflow qui lit `{{input.projectId}}` s’exécute contre le bon projet sans que tu aies à la retaper dans l’onglet [Déclencheurs](/fr/platform/automations/triggers). + +**Terminé** n’annonce « prête » que lorsque l’automatisation l’est vraiment. Si chaque intégration requise est connectée, c’est exactement ce qui s’affiche ; si une variable de planification requise est encore vide — ce qu’aucune étape de l’assistant ne demande, puisque cela dépend du schéma d’entrée propre au workflow —, Terminé la nomme à la place, avec un bouton **Ouvrir les déclencheurs** qui saute directement à la planification concernée (pour un bundle, l’étape Terminé fait la même chose par membre, en nommant ceux qui ont encore besoin d’une variable). Chaque étape de configuration reste rattrapable plus tard, quoi qu’il arrive : une connexion ignorée depuis la checklist **Terminer la configuration** propre à l’automatisation, une variable de planification depuis son onglet [Déclencheurs](/fr/platform/automations/triggers). ## Le contrôle préalable à l’installation diff --git a/docs/fr/platform/automations/triggers.md b/docs/fr/platform/automations/triggers.md index ba6a16bad2..b557351d97 100644 --- a/docs/fr/platform/automations/triggers.md +++ b/docs/fr/platform/automations/triggers.md @@ -13,7 +13,13 @@ Un déclencheur est ce qui démarre un workflow sans qu’un humain clique quoi ## Planifications -Clique sur **Ajouter une planification** pour exécuter le workflow sur une horloge. Le formulaire prend une expression cron standard à 5 champs, avec des préréglages de **Toutes les 5 minutes** à **Tous les mois** — ou décris le rythme en langage courant et clique sur **Générer** pour laisser l’IA écrire le cron à ta place. Les **Variables du workflow** sont l’entrée que chaque exécution planifiée reçoit, préremplie depuis le schéma d’entrée du workflow. La ligne montre l’heure de **Dernier déclenchement** de la planification et qui l’a créée. +Clique sur **Ajouter une planification** pour exécuter le workflow sur une horloge. Le formulaire prend une expression cron standard à 5 champs, avec des préréglages de **Toutes les 5 minutes** à **Tous les mois** — ou décris le rythme en langage courant et clique sur **Générer** pour laisser l’IA écrire le cron à ta place. Le **Fuseau horaire** fixe la zone dans laquelle le cron se déclenche, par défaut ton propre fuseau de navigateur ; modifier une planification existante conserve le fuseau qu’elle utilise déjà. + +Les **Variables du workflow** sont l’entrée que chaque exécution planifiée reçoit — et quand l’étape de démarrage du workflow déclare un schéma d’entrée, la boîte de dialogue l’affiche comme un vrai formulaire plutôt qu’en JSON brut : un champ `projectId` devient une liste déroulante **Projet** qui pointe par défaut vers le projet propre à cette planification, `owner` et `repo` se regroupent en un seul champ **Repository GitHub** qui accepte `owner/repo` ou une URL GitHub complète, et chaque autre champ déclaré reçoit son propre champ étiqueté avec la description du schéma comme aide. Un champ requis laissé vide affiche sa propre erreur et bloque **Enregistrer** — la même règle que le panneau **Tester le workflow** de l’éditeur applique déjà, pour qu’une planification ne puisse pas être enregistrée dans un état que son propre workflow rejetterait à l’exécution. Clique sur **Modifier en JSON** pour revenir à l’éditeur brut sur un schéma que le formulaire ne peut pas représenter. + +Ces variables sont propres à chaque planification, pas les valeurs par défaut du workflow affichées dans l’onglet **Configuration** de l’automatisation — deux planifications différentes du même workflow peuvent chacune envoyer leur propre dépôt ou projet, et seul ce qui est défini ici atteint l’exécution. + +La ligne montre le **Projet** lié de la planification (ou **Sans projet**), l’heure de **Dernier déclenchement** et qui l’a créée. Une planification à qui il manque encore une variable requise de son workflow porte un badge jaune **Configuration requise** — survole-le pour voir les noms de champs exacts — même active, car une exécution au déclenchement avec une valeur requise vide échoue ; une planification liée à un projet satisfait déjà une variable requise `projectId` sans avoir à la répéter dans les variables. Le même manque ressort aussi sur la bannière **Terminer la configuration** propre à l’automatisation et sur l’étape Terminé de l’[assistant d’installation](/fr/platform/automations/catalog), toutes deux renvoyant ici. ## Webhooks diff --git a/docs/fr/self-hosted/operate/security/audit-log-integrity.md b/docs/fr/self-hosted/operate/security/audit-log-integrity.md index fed7e0f02d..402277c8af 100644 --- a/docs/fr/self-hosted/operate/security/audit-log-integrity.md +++ b/docs/fr/self-hosted/operate/security/audit-log-integrity.md @@ -15,7 +15,7 @@ L’alerte out-of-band est dédupliquée. Tu reçois une notification à la prem L’alerte arrive sous deux formes, et le titre te dit laquelle. **Échec du contrôle d'intégrité du journal d'audit** est la critique : la chaîne de hachage elle-même ne se vérifie pas, ou la signature d’un point de contrôle signé ne correspond pas à la clé configurée. Traite-la comme un signal de falsification possible tant que tu ne l’as pas expliquée. -**Les signatures du journal d'audit ne peuvent pas être vérifiées** est un avertissement calme, pas une intrusion : un point de contrôle est signé, mais le déploiement n’a aucune `TALE_AUDIT_SIGNING_KEY` configurée pour vérifier cette signature. Rien n’a été forgé — Tale ne peut simplement pas prouver que le point de contrôle est authentique tant que tu n’as pas restauré la clé. Le panneau dans le produit reflète la distinction : une chaîne saine montre le badge vert **Vérifié**, un incident actif le badge rouge **Alerte d'intégrité active**, et une organisation que le cron n’a pas encore atteinte montre **Pas encore vérifié**. +**Les signatures du journal d'audit ne peuvent pas être vérifiées** est un avertissement calme, pas une intrusion : un point de contrôle est signé, mais le déploiement n’a aucune `TALE_AUDIT_SIGNING_KEY` configurée pour vérifier cette signature. Rien n’a été forgé — Tale ne peut pas prouver que le point de contrôle est authentique tant que tu n’as pas restauré la clé. Le panneau dans le produit reflète la distinction : une chaîne saine montre le badge vert **Vérifié**, un incident actif le badge rouge **Alerte d'intégrité active**, et une organisation que le cron n’a pas encore atteinte montre **Pas encore vérifié**. ## Ouvrir le panneau d’intégrité diff --git a/docs/fr/self-hosted/operate/upgrades.md b/docs/fr/self-hosted/operate/upgrades.md index 312d3cc9b9..39c34077d8 100644 --- a/docs/fr/self-hosted/operate/upgrades.md +++ b/docs/fr/self-hosted/operate/upgrades.md @@ -123,9 +123,9 @@ Pour descendre _délibérément_ d'une version — disons qu'une release minor s ## Monter depuis la 0.3.1 ou antérieure -Les instances en version 0.3.1 ou antérieure gardent les données du backend Convex dans le volume Docker `platform-data`. Les versions plus récentes font tourner Convex comme service à part entière avec son propre volume `convex-data` — et la copie automatique que les premières releases embarquaient pour ce déménagement n'est plus dans la CLI. Franchis cette frontière d'un coup et `tale deploy` pré-crée un volume `convex-data` **vide** : l'instance démarre vierge alors que chaque octet de tes données reste, intact, dans l'ancien volume `platform-data`. Rien n'est supprimé — mais les données ne bougent pas toutes seules, et `tale update` avertit quand il détecte cette situation. +Les instances en version 0.3.1 ou antérieure gardent les données du backend Convex dans le volume Docker `platform-data`. Les versions plus récentes font tourner Convex comme service à part entière avec son propre volume `convex-data` — et rien ne déplace les données automatiquement au déploiement. Franchis cette frontière d'un coup et `tale deploy` pré-crée un volume `convex-data` **vide** : l'instance démarre vierge alors que chaque octet de tes données reste, intact, dans l'ancien volume `platform-data`. Rien n'est supprimé — mais les données ne bougent pas toutes seules, et `tale update` avertit quand il détecte cette situation et te propose de lancer la copie sur-le-champ. -Docker n'a pas de renommage natif de volume ; le déménagement passe donc par une copie via un conteneur intermédiaire. Exécute-la avant `tale deploy`, stack arrêtée, pour que rien ne garde le volume ouvert : +Docker n'a pas de renommage natif de volume ; le déménagement passe donc par une copie via un conteneur intermédiaire — exactement ce que `tale update` exécute pour toi quand tu acceptes son invite (l'ancien volume est préservé dans tous les cas). Pour le faire à la main — invite refusée, ou copie automatique en échec — exécute-la avant `tale deploy`, stack arrêtée, pour que rien ne garde le volume ouvert : ```bash # 1. Repérer le volume legacy — est l'`id` de tale.json. diff --git a/packages/ui/package.json b/packages/ui/package.json index 95e7a202ff..0906554d32 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -200,6 +200,7 @@ "@tanstack/react-router": "1.168.10", "class-variance-authority": "0.7.1", "clsx": "2.1.1", + "dompurify": "3.4.11", "framer-motion": "12.38.0", "i18next": "26.0.4", "i18next-icu": "2.4.3", diff --git a/packages/ui/src/logo/tale-logo.tsx b/packages/ui/src/logo/tale-logo.tsx index 51616eb9c7..552e7f296b 100644 --- a/packages/ui/src/logo/tale-logo.tsx +++ b/packages/ui/src/logo/tale-logo.tsx @@ -8,7 +8,7 @@ export interface TaleLogoProps extends SVGProps { } /** - * Tale brand logo (wordmark + mark). See design/branding.md and designs/shared/. + * Tale brand logo (wordmark + mark). See design/docs/branding.md and design/sources/shared/. * Total bbox is 73.65 × 20 design units; each glyph is rendered at its design coordinates. * `currentColor` controls the foreground; pass a `className` to retint via Tailwind tokens. */ diff --git a/packages/ui/src/markdown/components/mermaid.test.tsx b/packages/ui/src/markdown/components/mermaid.test.tsx new file mode 100644 index 0000000000..3df8f99be9 --- /dev/null +++ b/packages/ui/src/markdown/components/mermaid.test.tsx @@ -0,0 +1,144 @@ +import { waitFor } from '@testing-library/react'; +import { describe, expect, it, vi } from 'vitest'; + +import { render } from '@/tests/utils/render'; + +import { Mermaid, sanitizeMermaidSvg } from './mermaid'; + +/** + * Regression for the mermaid follow-up to #2662: `Mermaid` injects the + * rendered diagram SVG via `dangerouslySetInnerHTML`. Mermaid's own + * `securityLevel: 'strict'` runs its bundled DOMPurify over the output, but + * that's an implementation detail of a third-party dependency, not a + * boundary this component controls — `sanitizeMermaidSvg` re-sanitizes at + * the point where the string is handed to React, mirroring the fix in + * `app/features/workspace/viewers/svg-viewer.tsx`. + * + * `sanitizeMermaidSvg` is tested directly against fixtures (fast, no + * dynamic-import mocking) and `Mermaid` itself is exercised end to end with + * a mocked `mermaid` module to prove the sanitizer is actually wired into + * the render path, not just defined. + */ +describe('sanitizeMermaidSvg', () => { + it('neutralizes (no leading space before the handler)', () => { + const malicious = ''; + const safe = sanitizeMermaidSvg(malicious); + + expect(safe).not.toContain('onload'); + }); + + it('neutralizes an unquoted javascript: href', () => { + const malicious = + 'click'; + const safe = sanitizeMermaidSvg(malicious); + + expect(safe).not.toContain('javascript:'); + }); + + it('strips a