toolroll 0.9.134 → 0.9.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/dist/acp-check-repo-schema.js +52 -0
- package/dist/acp-check.js +1 -1
- package/dist/acp-client.js +3 -3
- package/dist/acp-inspect.js +2 -1
- package/dist/agent-detect.js +1 -1
- package/dist/agent-fence.js +4 -4
- package/dist/agent-thread/chat-turn.js +2 -2
- package/dist/agent-thread/direct-host.js +2 -2
- package/dist/agent-thread/fence.js +2 -2
- package/dist/agent-thread/git-workspace.js +2 -2
- package/dist/agent-thread/guards.js +1 -1
- package/dist/agent-thread/providers.js +1 -1
- package/dist/agent-thread/ship.js +2 -2
- package/dist/approval-decision.js +1 -0
- package/dist/approval-password.js +1 -1
- package/dist/approval-summary.js +1 -1
- package/dist/attest.js +1 -1
- package/dist/batch-checks.js +2 -2
- package/dist/boot-identity.js +1 -1
- package/dist/bounded-spawn.js +2 -2
- package/dist/browser/{chunk-agents-live-view.e97fbf607cb8075aad7a48664556d11ea41469785f82384b5171b76c524f71e2.js → chunk-agents-live-view.9f4367c89c6366769a567e729ac9181ccaa898bf3a168d3dc618f3cface887c7.js} +4 -4
- package/dist/browser/chunk-agents-live-view.9f4367c89c6366769a567e729ac9181ccaa898bf3a168d3dc618f3cface887c7.js.br +0 -0
- package/dist/browser/chunk-agents-live-view.9f4367c89c6366769a567e729ac9181ccaa898bf3a168d3dc618f3cface887c7.js.gz +0 -0
- package/dist/browser/chunk-bundle.ac5952c82c76e2efcdcf5a097c4fa235d6f1045dcc36d02ee921ff4be976a46a.js +2 -0
- package/dist/browser/chunk-bundle.ac5952c82c76e2efcdcf5a097c4fa235d6f1045dcc36d02ee921ff4be976a46a.js.br +0 -0
- package/dist/browser/chunk-bundle.ac5952c82c76e2efcdcf5a097c4fa235d6f1045dcc36d02ee921ff4be976a46a.js.gz +0 -0
- package/dist/browser/chunk-chat-parts.2a0b0b723508c5c48379f6a3d441f07a18c8b91ed64fd018962931c5ae43331e.js +4 -0
- package/dist/browser/chunk-chat-parts.2a0b0b723508c5c48379f6a3d441f07a18c8b91ed64fd018962931c5ae43331e.js.br +0 -0
- package/dist/browser/chunk-chat-parts.2a0b0b723508c5c48379f6a3d441f07a18c8b91ed64fd018962931c5ae43331e.js.gz +0 -0
- package/dist/browser/{chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js → chunk-core.5490609e81c3a5f78da3e06b9795d71c287016ebc7fd02794b1122b474ebb07f.js} +12 -12
- package/dist/browser/chunk-core.5490609e81c3a5f78da3e06b9795d71c287016ebc7fd02794b1122b474ebb07f.js.br +0 -0
- package/dist/browser/chunk-core.5490609e81c3a5f78da3e06b9795d71c287016ebc7fd02794b1122b474ebb07f.js.gz +0 -0
- package/dist/browser/{chunk-flow-view.264e801af330461985aadcab42bc4ac4e036ba124394a7b5a100f2cd1edf89f0.js → chunk-flow-view.f5d74c7f072b739a7a0ed86ff35cafa7b8a041233372d1eeaab9eb941ddfc11e.js} +7 -7
- package/dist/browser/chunk-flow-view.f5d74c7f072b739a7a0ed86ff35cafa7b8a041233372d1eeaab9eb941ddfc11e.js.br +0 -0
- package/dist/browser/chunk-flow-view.f5d74c7f072b739a7a0ed86ff35cafa7b8a041233372d1eeaab9eb941ddfc11e.js.gz +0 -0
- package/dist/browser/chunk-flows-extra-view.01ebf93780b729363eda11ba21c764fe593bcd3e684aa833c9b86147f780fd41.js +4 -0
- package/dist/browser/chunk-flows-extra-view.01ebf93780b729363eda11ba21c764fe593bcd3e684aa833c9b86147f780fd41.js.br +0 -0
- package/dist/browser/chunk-flows-extra-view.01ebf93780b729363eda11ba21c764fe593bcd3e684aa833c9b86147f780fd41.js.gz +0 -0
- package/dist/browser/chunk-pages-bundle.e18059f0cb4fbb63e3698971d4c1830ad0945c3645235babc93010cd0b725c1d.js +6 -0
- package/dist/browser/chunk-pages-bundle.e18059f0cb4fbb63e3698971d4c1830ad0945c3645235babc93010cd0b725c1d.js.br +0 -0
- package/dist/browser/chunk-pages-bundle.e18059f0cb4fbb63e3698971d4c1830ad0945c3645235babc93010cd0b725c1d.js.gz +0 -0
- package/dist/browser/chunk-result-view.fc6a6494b316aa786807b7d17035c59defae1bfb0c03bf9c3795679b3a35dd77.js +2 -0
- package/dist/browser/chunk-result-view.fc6a6494b316aa786807b7d17035c59defae1bfb0c03bf9c3795679b3a35dd77.js.br +0 -0
- package/dist/browser/chunk-result-view.fc6a6494b316aa786807b7d17035c59defae1bfb0c03bf9c3795679b3a35dd77.js.gz +0 -0
- package/dist/browser/chunk-settings-view.6dd3a64ded7bd8c047650270918dfb455c9a514a5a40b84c7eb5f443f76fe66f.js +20 -0
- package/dist/browser/chunk-settings-view.6dd3a64ded7bd8c047650270918dfb455c9a514a5a40b84c7eb5f443f76fe66f.js.br +0 -0
- package/dist/browser/chunk-settings-view.6dd3a64ded7bd8c047650270918dfb455c9a514a5a40b84c7eb5f443f76fe66f.js.gz +0 -0
- package/dist/browser/{chunk-shared.85e1b9e0838ccc819e7b8368f80dd5240dda90f53ea2974a256a8fa4122ba2fb.js → chunk-shared.02c0b692de21a9bb80d1761aa887d8532431171945c02e663884c9f45b796753.js} +2 -2
- package/dist/browser/chunk-shared.02c0b692de21a9bb80d1761aa887d8532431171945c02e663884c9f45b796753.js.br +0 -0
- package/dist/browser/chunk-shared.02c0b692de21a9bb80d1761aa887d8532431171945c02e663884c9f45b796753.js.gz +0 -0
- package/dist/browser/chunk-shared.0874336833f8101a63b169d8c2e55ca0f281e43e65d4bd6604555c791ea9dd87.js +2 -0
- package/dist/browser/chunk-shared.0874336833f8101a63b169d8c2e55ca0f281e43e65d4bd6604555c791ea9dd87.js.br +0 -0
- package/dist/browser/chunk-shared.0874336833f8101a63b169d8c2e55ca0f281e43e65d4bd6604555c791ea9dd87.js.gz +0 -0
- package/dist/browser/chunk-shared.2413dd78f32995fbca67f51ac8c21baf4727cd64f185ea739aa2a058e569b0ed.js +2 -0
- package/dist/browser/chunk-shared.2413dd78f32995fbca67f51ac8c21baf4727cd64f185ea739aa2a058e569b0ed.js.br +0 -0
- package/dist/browser/chunk-shared.2413dd78f32995fbca67f51ac8c21baf4727cd64f185ea739aa2a058e569b0ed.js.gz +0 -0
- package/dist/browser/{chunk-shared.26f6cbfdeb9bcd63231f23dbf96cacb39b78324aeed2503e86109efa89fa27db.js → chunk-shared.26bb0114998968cccb7bae5f6ffa8979ddecfafd8bc18bb6985760f6bcc030e6.js} +3 -3
- package/dist/browser/chunk-shared.26bb0114998968cccb7bae5f6ffa8979ddecfafd8bc18bb6985760f6bcc030e6.js.br +0 -0
- package/dist/browser/chunk-shared.26bb0114998968cccb7bae5f6ffa8979ddecfafd8bc18bb6985760f6bcc030e6.js.gz +0 -0
- package/dist/browser/chunk-shared.6d0b8728b3e309886cfb6eaf596d3f20592939e521bb60bb090824f34da6b086.js +2 -0
- package/dist/browser/chunk-shared.6d0b8728b3e309886cfb6eaf596d3f20592939e521bb60bb090824f34da6b086.js.br +0 -0
- package/dist/browser/chunk-shared.6d0b8728b3e309886cfb6eaf596d3f20592939e521bb60bb090824f34da6b086.js.gz +0 -0
- package/dist/browser/chunk-shared.c3e5be1c5f441e94905a4bc2005d816d2a0b0e4108bae43e37ec274a911c6847.js +2 -0
- package/dist/browser/chunk-shared.c3e5be1c5f441e94905a4bc2005d816d2a0b0e4108bae43e37ec274a911c6847.js.br +0 -0
- package/dist/browser/chunk-shared.c3e5be1c5f441e94905a4bc2005d816d2a0b0e4108bae43e37ec274a911c6847.js.gz +0 -0
- package/dist/browser/chunk-shared.d1f25785c8c168cc75aa99c4be8ca56abfc5eafa3490f8817ff15e61cb901915.js +2 -0
- package/dist/browser/chunk-shared.d1f25785c8c168cc75aa99c4be8ca56abfc5eafa3490f8817ff15e61cb901915.js.br +0 -0
- package/dist/browser/chunk-shared.d1f25785c8c168cc75aa99c4be8ca56abfc5eafa3490f8817ff15e61cb901915.js.gz +0 -0
- package/dist/browser/{chunk-shared.5b47ca221b8b77b26ce8006f0569c981df2b905005cebe9fc54444d4906d436e.js → chunk-shared.fd5f2699d3b0017797e5b5e1e1d92eb98818740ebf20a95364bbb7deea0c8242.js} +3 -3
- package/dist/browser/chunk-shared.fd5f2699d3b0017797e5b5e1e1d92eb98818740ebf20a95364bbb7deea0c8242.js.br +0 -0
- package/dist/browser/chunk-shared.fd5f2699d3b0017797e5b5e1e1d92eb98818740ebf20a95364bbb7deea0c8242.js.gz +0 -0
- package/dist/browser/{chunk-sonner.160372eb4f9455847ca83e8ff5d983c6b3010ef0dc2eaf541e2eaceaac3b994c.js → chunk-sonner.2472e1da55de10b11dc002c80a840966061e817c47793f5e216f1af6c6dbedff.js} +1 -1
- package/dist/browser/chunk-sonner.2472e1da55de10b11dc002c80a840966061e817c47793f5e216f1af6c6dbedff.js.br +0 -0
- package/dist/browser/chunk-sonner.2472e1da55de10b11dc002c80a840966061e817c47793f5e216f1af6c6dbedff.js.gz +0 -0
- package/dist/browser/chunk-task-view.bbeddc793a5e8a6d1f66b6cc5f0ce1da18414137e85c49ccd07be0e20f61ac12.js +2 -0
- package/dist/browser/chunk-task-view.bbeddc793a5e8a6d1f66b6cc5f0ce1da18414137e85c49ccd07be0e20f61ac12.js.br +0 -0
- package/dist/browser/chunk-task-view.bbeddc793a5e8a6d1f66b6cc5f0ce1da18414137e85c49ccd07be0e20f61ac12.js.gz +0 -0
- package/dist/browser/chunk-team-chat.c3255a5a1d94e39d559c07438c4690543602b1552b2c2bf57b8791d7f989141d.js +2 -0
- package/dist/browser/chunk-team-chat.c3255a5a1d94e39d559c07438c4690543602b1552b2c2bf57b8791d7f989141d.js.br +0 -0
- package/dist/browser/chunk-team-chat.c3255a5a1d94e39d559c07438c4690543602b1552b2c2bf57b8791d7f989141d.js.gz +0 -0
- package/dist/browser/manifest.json +194 -194
- package/dist/browser/workspace.3043c4a6df23ed1c0c8be3fb816fa9410a2ab99053eb54476f22a1735c03ca97.css +4 -0
- package/dist/browser/workspace.3043c4a6df23ed1c0c8be3fb816fa9410a2ab99053eb54476f22a1735c03ca97.css.br +0 -0
- package/dist/browser/workspace.3043c4a6df23ed1c0c8be3fb816fa9410a2ab99053eb54476f22a1735c03ca97.css.gz +0 -0
- package/dist/browser/{workspace.efd01c3aaf8e07c4a64194e2bfbd7aee4f7fa515f2acebdfdd90af1badba8ce7.js → workspace.aebb60d4e5ef4509a80cfaccf0af5f7246867ec7531a1734dd8e28c59594950e.js} +4 -4
- package/dist/browser/workspace.aebb60d4e5ef4509a80cfaccf0af5f7246867ec7531a1734dd8e28c59594950e.js.br +0 -0
- package/dist/browser/workspace.aebb60d4e5ef4509a80cfaccf0af5f7246867ec7531a1734dd8e28c59594950e.js.gz +0 -0
- package/dist/browser-open.js +1 -1
- package/dist/build-review.js +2 -2
- package/dist/builder.js +21 -14
- package/dist/canvas-capture.js +2 -2
- package/dist/canvas-freshness.js +1 -1
- package/dist/central-recovery-stage.js +1 -1
- package/dist/chat-actions.js +3 -3
- package/dist/chat-decide.js +8 -4
- package/dist/cli-help.js +8 -7
- package/dist/cli.js +2 -2
- package/dist/companion/bonjour.js +1 -1
- package/dist/companion/daemon.js +1 -1
- package/dist/companion/passkey-gate.js +1 -1
- package/dist/companion/reads.js +1 -1
- package/dist/companion/store.js +1 -1
- package/dist/companion/webauthn.js +1 -1
- package/dist/companion/work.js +1 -1
- package/dist/container-state.js +2 -2
- package/dist/containment.js +2 -2
- package/dist/contracts/chat-actions.js +1 -1
- package/dist/contracts/console-api.js +1 -1
- package/dist/contracts/engine-api.js +1 -1
- package/dist/controller-supervisor.js +2 -2
- package/dist/credential-broker.js +1 -1
- package/dist/demo.js +2 -2
- package/dist/easy-start.js +1 -1
- package/dist/egress.js +1 -1
- package/dist/engine-handoff.js +1 -1
- package/dist/engine-reads.js +1 -1
- package/dist/evals.js +2 -2
- package/dist/exec.js +4 -4
- package/dist/fast-owner-schema.js +33 -0
- package/dist/fast-start.js +1 -1
- package/dist/flow-unattended.js +2 -2
- package/dist/github-import.js +1 -1
- package/dist/github-read.js +1 -1
- package/dist/install-mode.js +2 -3
- package/dist/invoke.js +9 -7
- package/dist/laptop-background.js +1 -1
- package/dist/lead-capabilities.js +1 -1
- package/dist/live-backup-change.js +2 -2
- package/dist/live-backup.js +2 -2
- package/dist/live-terminal.js +3 -3
- package/dist/local-checks.js +1 -1
- package/dist/local-landing.js +22 -3
- package/dist/local-owner.js +1 -1
- package/dist/machine-identity.js +1 -1
- package/dist/model-catalog.js +8 -5
- package/dist/model-choices.js +3 -3
- package/dist/model-routing.js +1 -1
- package/dist/models-cli.js +2 -2
- package/dist/names.js +1 -1
- package/dist/onboard.js +1 -1
- package/dist/operate-remote-arguments.js +1 -1
- package/dist/operate.js +33 -16
- package/dist/orphan-sweep.js +1 -1
- package/dist/owner-mode.js +4 -0
- package/dist/peek-cli.js +2 -2
- package/dist/phase-routing.js +1 -1
- package/dist/pi-build.js +1 -1
- package/dist/plane-review.js +1 -1
- package/dist/planner-source.js +2 -2
- package/dist/planner.js +1 -1
- package/dist/pre-run-phase.js +1 -1
- package/dist/presence-hold.js +1 -1
- package/dist/process-liveness.js +1 -1
- package/dist/process-tree.js +1 -1
- package/dist/project-tools.js +2 -2
- package/dist/prompt.js +1 -1
- package/dist/proposal.js +1 -1
- package/dist/protected-storage.js +2 -2
- package/dist/provider-home.js +1 -1
- package/dist/provider-limits.js +1 -1
- package/dist/provider.js +2 -2
- package/dist/public-access.js +1 -1
- package/dist/pull-request-flow.js +2 -2
- package/dist/read-executor.js +1 -1
- package/dist/release-adapters.js +2 -2
- package/dist/release-carry.js +3 -3
- package/dist/release-resume.js +2 -2
- package/dist/release-start.js +1 -0
- package/dist/result-follow-ups.js +2 -2
- package/dist/review-switch.js +1 -1
- package/dist/route-change.js +25 -3
- package/dist/run-closeout.js +2 -2
- package/dist/runner.js +1 -1
- package/dist/sandbox-launch.js +2 -2
- package/dist/sandbox-runtime.js +1 -1
- package/dist/scope.js +1 -1
- package/dist/scout-browser.js +1 -1
- package/dist/serve.js +3 -3
- package/dist/server/chat.js +1 -1
- package/dist/server/direct-chat.js +1 -1
- package/dist/server/engine-api.js +1 -1
- package/dist/server/http.js +1 -1
- package/dist/server/one-time-secret.js +1 -1
- package/dist/server/route-table.js +1 -1
- package/dist/server/runtime.js +1 -1
- package/dist/server/settings-phone.js +1 -1
- package/dist/server/settings-section-table.js +1 -1
- package/dist/server/settings-sections.js +1 -1
- package/dist/server/settings.js +2 -1
- package/dist/server/task-view-data.js +3 -3
- package/dist/server/task-views.js +1 -1
- package/dist/server/tasks.js +5 -5
- package/dist/server/terminals.js +1 -1
- package/dist/settings-data.js +1 -1
- package/dist/settings-proofs.js +1 -1
- package/dist/shared-deps.js +4 -4
- package/dist/sign-in-page.js +2 -2
- package/dist/ssr-workspace.js +88 -88
- package/dist/staged-runtimes.js +1 -1
- package/dist/status-probe.js +2 -2
- package/dist/stop-proof.js +2 -2
- package/dist/storage-sweep-child.js +2 -2
- package/dist/storage-sweep-process.js +1 -1
- package/dist/storage.js +2 -2
- package/dist/store-baseline.js +5 -33
- package/dist/store.js +19 -14
- package/dist/subscription-usage.js +3 -3
- package/dist/surface.js +1 -1
- package/dist/test-temp.js +1 -1
- package/dist/tool-broker.js +1 -1
- package/dist/toolroll-update.js +3 -3
- package/dist/tui/darwin-arm64/toolroll-tui +0 -0
- package/dist/tui/darwin-x64/toolroll-tui +0 -0
- package/dist/tui/linux-arm64/toolroll-tui +0 -0
- package/dist/tui/linux-x64/toolroll-tui +0 -0
- package/dist/tui-launch.js +1 -1
- package/dist/welcome-facts.js +1 -1
- package/package.json +1 -1
- package/dist/browser/chunk-agents-live-view.e97fbf607cb8075aad7a48664556d11ea41469785f82384b5171b76c524f71e2.js.br +0 -0
- package/dist/browser/chunk-agents-live-view.e97fbf607cb8075aad7a48664556d11ea41469785f82384b5171b76c524f71e2.js.gz +0 -0
- package/dist/browser/chunk-bundle.48f442a2868e9b77e9f54c5b77f1bba629ccd1615de8a2f62619b811783314f6.js +0 -2
- package/dist/browser/chunk-bundle.48f442a2868e9b77e9f54c5b77f1bba629ccd1615de8a2f62619b811783314f6.js.br +0 -0
- package/dist/browser/chunk-bundle.48f442a2868e9b77e9f54c5b77f1bba629ccd1615de8a2f62619b811783314f6.js.gz +0 -0
- package/dist/browser/chunk-chat-parts.1669e6985c5c0c11eea6792ea177ea4c9f7e7ebf27bd3b31742feb6a26d5b2a5.js +0 -4
- package/dist/browser/chunk-chat-parts.1669e6985c5c0c11eea6792ea177ea4c9f7e7ebf27bd3b31742feb6a26d5b2a5.js.br +0 -0
- package/dist/browser/chunk-chat-parts.1669e6985c5c0c11eea6792ea177ea4c9f7e7ebf27bd3b31742feb6a26d5b2a5.js.gz +0 -0
- package/dist/browser/chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js.br +0 -0
- package/dist/browser/chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js.gz +0 -0
- package/dist/browser/chunk-flow-view.264e801af330461985aadcab42bc4ac4e036ba124394a7b5a100f2cd1edf89f0.js.br +0 -0
- package/dist/browser/chunk-flow-view.264e801af330461985aadcab42bc4ac4e036ba124394a7b5a100f2cd1edf89f0.js.gz +0 -0
- package/dist/browser/chunk-flows-extra-view.6761503a97e1f17b474703ff5687a8682c54f9db1715e0a9762a979030a1b036.js +0 -4
- package/dist/browser/chunk-flows-extra-view.6761503a97e1f17b474703ff5687a8682c54f9db1715e0a9762a979030a1b036.js.br +0 -0
- package/dist/browser/chunk-flows-extra-view.6761503a97e1f17b474703ff5687a8682c54f9db1715e0a9762a979030a1b036.js.gz +0 -0
- package/dist/browser/chunk-pages-bundle.365da73d009e3ced30b55bca7107f548dc832f7a9f52926d3dcd68aa5596da11.js +0 -6
- package/dist/browser/chunk-pages-bundle.365da73d009e3ced30b55bca7107f548dc832f7a9f52926d3dcd68aa5596da11.js.br +0 -0
- package/dist/browser/chunk-pages-bundle.365da73d009e3ced30b55bca7107f548dc832f7a9f52926d3dcd68aa5596da11.js.gz +0 -0
- package/dist/browser/chunk-result-view.d4dc562a1a6a52a1497e25300d5f80c220952ceb5bb719ca32ef8dc1e74a4124.js +0 -2
- package/dist/browser/chunk-result-view.d4dc562a1a6a52a1497e25300d5f80c220952ceb5bb719ca32ef8dc1e74a4124.js.br +0 -0
- package/dist/browser/chunk-result-view.d4dc562a1a6a52a1497e25300d5f80c220952ceb5bb719ca32ef8dc1e74a4124.js.gz +0 -0
- package/dist/browser/chunk-settings-view.ff302e1c5faf5486c96e5fc96fa32492da4153e6e19997ce7b718adab21bf3b7.js +0 -20
- package/dist/browser/chunk-settings-view.ff302e1c5faf5486c96e5fc96fa32492da4153e6e19997ce7b718adab21bf3b7.js.br +0 -0
- package/dist/browser/chunk-settings-view.ff302e1c5faf5486c96e5fc96fa32492da4153e6e19997ce7b718adab21bf3b7.js.gz +0 -0
- package/dist/browser/chunk-shared.152678a803cfb6dee935162fbbbdb38d031d80f1d32ce48610f37bc1c8621e49.js +0 -2
- package/dist/browser/chunk-shared.152678a803cfb6dee935162fbbbdb38d031d80f1d32ce48610f37bc1c8621e49.js.br +0 -0
- package/dist/browser/chunk-shared.152678a803cfb6dee935162fbbbdb38d031d80f1d32ce48610f37bc1c8621e49.js.gz +0 -0
- package/dist/browser/chunk-shared.26f6cbfdeb9bcd63231f23dbf96cacb39b78324aeed2503e86109efa89fa27db.js.br +0 -0
- package/dist/browser/chunk-shared.26f6cbfdeb9bcd63231f23dbf96cacb39b78324aeed2503e86109efa89fa27db.js.gz +0 -0
- package/dist/browser/chunk-shared.4e21c6b33b9a525e63c360d20a1830f1a26c5021f5d218f2300f21ff840af27e.js +0 -2
- package/dist/browser/chunk-shared.4e21c6b33b9a525e63c360d20a1830f1a26c5021f5d218f2300f21ff840af27e.js.br +0 -0
- package/dist/browser/chunk-shared.4e21c6b33b9a525e63c360d20a1830f1a26c5021f5d218f2300f21ff840af27e.js.gz +0 -0
- package/dist/browser/chunk-shared.5b47ca221b8b77b26ce8006f0569c981df2b905005cebe9fc54444d4906d436e.js.br +0 -0
- package/dist/browser/chunk-shared.5b47ca221b8b77b26ce8006f0569c981df2b905005cebe9fc54444d4906d436e.js.gz +0 -0
- package/dist/browser/chunk-shared.85e1b9e0838ccc819e7b8368f80dd5240dda90f53ea2974a256a8fa4122ba2fb.js.br +0 -0
- package/dist/browser/chunk-shared.85e1b9e0838ccc819e7b8368f80dd5240dda90f53ea2974a256a8fa4122ba2fb.js.gz +0 -0
- package/dist/browser/chunk-shared.a326d625dea5cda744678a73b38c0cb2688721c9228e26d262279ecd5c2d7d11.js +0 -2
- package/dist/browser/chunk-shared.a326d625dea5cda744678a73b38c0cb2688721c9228e26d262279ecd5c2d7d11.js.br +0 -0
- package/dist/browser/chunk-shared.a326d625dea5cda744678a73b38c0cb2688721c9228e26d262279ecd5c2d7d11.js.gz +0 -0
- package/dist/browser/chunk-shared.e906e9c8c0859e000616dbc382f88597447f30205c92b7cb9a8e2351f3ef2722.js +0 -2
- package/dist/browser/chunk-shared.e906e9c8c0859e000616dbc382f88597447f30205c92b7cb9a8e2351f3ef2722.js.br +0 -0
- package/dist/browser/chunk-shared.e906e9c8c0859e000616dbc382f88597447f30205c92b7cb9a8e2351f3ef2722.js.gz +0 -0
- package/dist/browser/chunk-shared.f6354151d62439f2d78f5d17cf9bc44f35b4da37685beb77467d98dd9cc6f1e4.js +0 -2
- package/dist/browser/chunk-shared.f6354151d62439f2d78f5d17cf9bc44f35b4da37685beb77467d98dd9cc6f1e4.js.br +0 -0
- package/dist/browser/chunk-shared.f6354151d62439f2d78f5d17cf9bc44f35b4da37685beb77467d98dd9cc6f1e4.js.gz +0 -0
- package/dist/browser/chunk-sonner.160372eb4f9455847ca83e8ff5d983c6b3010ef0dc2eaf541e2eaceaac3b994c.js.br +0 -0
- package/dist/browser/chunk-sonner.160372eb4f9455847ca83e8ff5d983c6b3010ef0dc2eaf541e2eaceaac3b994c.js.gz +0 -0
- package/dist/browser/chunk-task-view.325b506afc26b25147b2e90cec5ad1392d50e6150a7fb33c81a996daa99bb05a.js +0 -2
- package/dist/browser/chunk-task-view.325b506afc26b25147b2e90cec5ad1392d50e6150a7fb33c81a996daa99bb05a.js.br +0 -0
- package/dist/browser/chunk-task-view.325b506afc26b25147b2e90cec5ad1392d50e6150a7fb33c81a996daa99bb05a.js.gz +0 -0
- package/dist/browser/chunk-team-chat.d560bcc5d819e63133d377b8a6f10f901356e680771f19d4fe1af044adfffb22.js +0 -2
- package/dist/browser/chunk-team-chat.d560bcc5d819e63133d377b8a6f10f901356e680771f19d4fe1af044adfffb22.js.br +0 -0
- package/dist/browser/chunk-team-chat.d560bcc5d819e63133d377b8a6f10f901356e680771f19d4fe1af044adfffb22.js.gz +0 -0
- package/dist/browser/workspace.ac1270b58f672fa920535348cc582f5fc68247b341d6fc8ec733b25336f2b9cc.css +0 -4
- package/dist/browser/workspace.ac1270b58f672fa920535348cc582f5fc68247b341d6fc8ec733b25336f2b9cc.css.br +0 -0
- package/dist/browser/workspace.ac1270b58f672fa920535348cc582f5fc68247b341d6fc8ec733b25336f2b9cc.css.gz +0 -0
- package/dist/browser/workspace.efd01c3aaf8e07c4a64194e2bfbd7aee4f7fa515f2acebdfdd90af1badba8ce7.js.br +0 -0
- package/dist/browser/workspace.efd01c3aaf8e07c4a64194e2bfbd7aee4f7fa515f2acebdfdd90af1badba8ce7.js.gz +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! Third-party notices: /assets/THIRD_PARTY_NOTICES.txt */
|
|
2
|
-
import{p11$a as S,p11$b as D}from"./chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js";import{p1$$ as ge,p1$$a as K,p1$$b as fe,p1$A as we,p1$Aa as ye,p1$Ab as ke,p1$B as $e,p1$Ba as Ne,p1$Bb as Me,p1$C as Se,p1$Ca as ze,p1$Cb as Ce,p1$D as X,p1$Da as Te,p1$Db as Fe,p1$E as I,p1$Ea as Ie,p1$Eb as Ae,p1$F as Re,p1$Fa as Ve,p1$Fb as G,p1$G as h,p1$Ga as Pe,p1$Gb as We,p1$H as qe,p1$Ha as Le,p1$Hb as Ue,p1$I as Oe,p1$Ia as De,p1$Ib as Ee,p1$J as Be,p1$Ja as Ye,p1$Jb as He,p1$K as Ge,p1$Ka as Qe,p1$Kb as Je,p1$L as _e,p1$La as Ze,p1$Lb as Ke,p1$M as Xe,p1$Ma as es,p1$Mb as ss,p1$N as as,p1$Na as ls,p1$Nb as ts,p1$O as ns,p1$Oa as is,p1$Ob as cs,p1$P as rs,p1$Pa as os,p1$Pb as ds,p1$Q as ps,p1$Qa as hs,p1$Qb as ms,p1$R as us,p1$Ra as xs,p1$Rb as js,p1$S as bs,p1$Sa as vs,p1$Sb as gs,p1$T as fs,p1$Ta as ws,p1$Tb as R,p1$U as ys,p1$Ua as ks,p1$Ub as $s,p1$V as Ns,p1$Va as Ms,p1$Vb as Ss,p1$W as zs,p1$Wa as Cs,p1$Wb as Ts,p1$X as Fs,p1$Xa as Is,p1$Xb as As,p1$Y as Rs,p1$Ya as Vs,p1$Yb as Ps,p1$Z as Ws,p1$Za as qs,p1$Zb as Ls,p1$_ as Us,p1$_a as Os,p1$_b as Ds,p1$a as Es,p1$aa as Bs,p1$ab as o,p1$ac as Ys,p1$b as Hs,p1$ba as Gs,p1$bb as f,p1$bc as Qs,p1$c as Js,p1$ca as _s,p1$cb as C,p1$cc as Zs,p1$d as Ks,p1$da as Xs,p1$db as ea,p1$dc as ee,p1$e as sa,p1$ea as aa,p1$eb as la,p1$ec as ta,p1$f as na,p1$fa as ia,p1$fb as P,p1$fc as ca,p1$g as ra,p1$ga as oa,p1$gb as da,p1$gc as pa,p1$h as ha,p1$ha as ma,p1$hb as ua,p1$hc as xa,p1$i as ja,p1$ia as ba,p1$ib as Q,p1$ic as va,p1$j as w,p1$ja as ga,p1$jb as T,p1$jc as fa,p1$k as $,p1$ka as wa,p1$kb as ya,p1$kc as ka,p1$l as W,p1$la as $a,p1$lb as Na,p1$lc as Ma,p1$m as Sa,p1$ma as za,p1$mb as Ca,p1$n as Ta,p1$na as Fa,p1$nb as z,p1$o as Ia,p1$oa as Aa,p1$ob as se,p1$p as Ra,p1$pa as Va,p1$pb as M,p1$q as Pa,p1$qa as Wa,p1$qb as A,p1$r as qa,p1$ra as La,p1$rb as y,p1$s as Ua,p1$sa as Oa,p1$sb as J,p1$t as Da,p1$ta as Ea,p1$tb as q,p1$u as Ba,p1$ua as Ya,p1$ub as V,p1$v as Ha,p1$va as Ga,p1$vb as ae,p1$w as Qa,p1$wa as Ja,p1$wb as L,p1$x as _a,p1$xa as Za,p1$xb as E,p1$y as Ka,p1$ya as Xa,p1$yb as U,p1$z as el,p1$za as sl,p1$zb as O}from"./chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js";import{p2$a as tl,p2$b as B,p2$c as le,p2$d as nl,p2$e as _}from"./chunk-core.64343d638685133eb96578bfb35bf560f329d0743ac5deda720ae27f5699c9d9.js";var g=B(le(),1),ne={betterstack:{title:"Better Stack",source:"Simple Icons",path:"M1.5,10.828l-.716,6.212c-.074,.638 .17,1.271 .651,1.696l1.775,1.565c.608,.536 1.551,.014 1.421-.786l-1.423-8.726c-.161-.988-1.593-.954-1.707,.04zM13.078,18.982l-4.232-12.194c-.47-1.354-2.441-1.296-2.826,.084l-1.288,4.607c-.146,.523-.202,.826 0,1.33h.489l1.777,5.679c.275,.685 .844,1.217 1.554,1.454l2.65,.883c1.162,.387 2.271-.703 1.875-1.843zM23.025,18.016l-7.478-14.022c-.652-1.223-2.412-1.191-3.02,.055l-1.839,3.701c-.222,.456-.119,.618 .066,.883c.148,.212 .492,.229 .632,.011c.138-.214 .457-.194 .567,.035l4.808,10c.362,.814 1.121,1.382 2.004,1.499l2.544,.325c1.369,.18 2.367-1.267 1.716-2.487z"},canva:{title:"Canva",source:"svgl",path:"M12,22c5.523,0 10-4.477 10-10c0-5.523-4.477-10-10-10c-5.523,0-10,4.477-10,10c0,5.523 4.477,10 10,10zM16.551,14.378c0,1.011-1.809,4.124-4.939,4.124c-2.948,0-4.859-2.211-4.859-5.557c0-4.323 2.995-7.447 6.365-7.447c2.039,0 3.255,1.026 3.255,2.423c0,1.44-1.041,2.46-1.929,2.46c-.221,0-.332-.108-.332-.287c0-.399 .643-.998 .643-2.129c0-.953-.582-1.552-1.535-1.552c-2.039,0-4.361,2.409-4.361,6.576c0,2.46 1.221,4.24 3.194,4.24c1.706,0 3.18-1.225 4.033-2.955c.076-.152 .148-.222 .231-.222c.119,0 .234,.103 .234,.326z"},chrome:{title:"Google Chrome",source:"Simple Icons",path:"M12,2c-3.158,0-5.974,1.464-7.807,3.751l3.294,5.707c.274-2.284 2.212-4.003 4.513-4.003h8.909c-1.709-3.348-5.15-5.455-8.909-5.454zM3.609,6.558c-1.053,1.619-1.612,3.51-1.609,5.442c0,5.01 3.683,9.159 8.491,9.887l3.294-5.706c-2.115,.904-4.572,.085-5.721-1.908zM14.728,8.363c1.842,1.378 2.361,3.917 1.208,5.908l.002,.001h-.002l-4.453,7.714c.172,.008 .344,.013 .518,.013c5.523,0 10-4.477 10-10c0-1.283-.242-2.509-.682-3.637zM12,15.637c-2.008,0-3.637-1.628-3.637-3.637c0-2.008 1.628-3.637 3.637-3.637c2.008,0 3.637,1.628 3.637,3.637c0,2.008-1.628,3.637-3.637,3.637z"},claude:{title:"Claude",source:"Simple Icons",path:"M5.926,15.298l3.933-2.207l.066-.192l-.066-.106h-.192l-.658-.041l-2.247-.061l-1.949-.081l-1.888-.101l-.476-.101l-.445-.587l.046-.294l.4-.268l.572,.051l1.265,.086l1.898,.132l1.377,.081l2.04,.213h.324l.046-.132l-.111-.081l-.086-.081l-1.964-1.331l-2.126-1.407l-1.113-.81l-.602-.41l-.304-.385l-.132-.84l.547-.602l.734,.051l.187,.051l.744,.572l1.589,1.23l2.075,1.529l.304,.253l.121-.086l.015-.061l-.137-.228l-1.129-2.04l-1.205-2.075l-.536-.86l-.142-.516c-.051-.213-.086-.39-.086-.607l.623-.845l.344-.111l.83,.111l.349,.304l.516,1.179l.835,1.858l1.296,2.526l.38,.749l.202,.693l.076,.213h.132v-.121l.106-1.422l.197-1.746l.192-2.247l.066-.633l.314-.759l.623-.41l.486,.233l.4,.572l-.056,.37l-.238,1.544l-.466,2.419l-.304,1.62h.177l.202-.202l.82-1.088l1.377-1.721l.607-.683l.709-.754l.456-.359h.86l.633,.941l-.283,.972l-.886,1.124l-.734,.952l-1.053,1.417l-.658,1.134l.061,.091l.157-.015l2.379-.506l1.286-.233l1.534-.263l.693,.324l.076,.329l-.273,.673l-1.64,.405l-1.923,.385l-2.865,.678l-.035,.025l.041,.051l1.291,.121l.552,.03h1.351l2.516,.187l.658,.435l.395,.532l-.066,.405l-1.012,.516l-1.367-.324l-3.189-.759l-1.093-.273h-.152v.091l.911,.891l1.67,1.508l2.09,1.944l.106,.481l-.268,.38l-.283-.041l-1.837-1.382l-.709-.623l-1.604-1.351h-.106v.142l.369,.542l1.954,2.936l.101,.901l-.142,.294l-.506,.177l-.557-.101l-1.144-1.604l-1.179-1.807l-.952-1.62l-.116,.066l-.562,6.048l-.263,.309l-.607,.233l-.506-.385l-.268-.623l.268-1.23l.324-1.604l.263-1.275l.238-1.584l.142-.526l-.01-.035l-.116,.015l-1.194,1.64l-1.817,2.455l-1.437,1.539l-.344,.137l-.597-.309l.056-.552l.334-.491l1.989-2.531l1.2-1.569l.774-.906l-.005-.132h-.046l-5.284,3.432l-.941,.121l-.405-.38l.051-.622l.192-.202l1.589-1.093z"},cloudflare:{title:"Cloudflare",source:"Simple Icons",path:"M16.509,16.845c.148-.507 .091-.971-.155-1.315c-.225-.316-.604-.499-1.061-.52l-8.659-.112c-.054,.001-.104-.026-.133-.071c-.028-.042-.035-.099-.021-.155c.028-.084 .112-.148 .204-.156l8.736-.112c1.035-.049 2.16-.887 2.554-1.914l.499-1.301c.022-.056 .029-.113 .015-.168c-.562-2.546-2.835-4.445-5.55-4.445c-2.504,0-4.628,1.618-5.388,3.861c-.493-.366-1.119-.562-1.794-.499c-1.203,.119-2.166,1.083-2.286,2.286c-.028,.31-.007,.613 .064,.894c-1.963,.056-3.531,1.66-3.531,3.637c0,.175 .014,.352 .035,.527c.014,.083 .084,.148 .169,.148h15.981c.091,0 .176-.064 .203-.155l.12-.427zM19.266,11.281c-.077,0-.161,0-.238,.011c-.057,0-.105,.042-.127,.098l-.338,1.174c-.147,.507-.092,.971 .154,1.316c.226,.316 .606,.498 1.063,.52l1.844,.113c.056,0 .106,.026 .133,.07c.028,.043 .035,.107 .021,.156c-.028,.084-.113,.149-.204,.155l-1.921,.112c-1.041,.049-2.158,.887-2.553,1.914l-.141,.359c-.028,.071 .022,.142 .099,.142h6.598c.077,0 .147-.049 .169-.126c.112-.408 .176-.837 .176-1.28c0-2.602-2.125-4.727-4.734-4.727"},confluence:{title:"Confluence",source:"Simple Icons",path:"M2.611,17.278c-.209,.322-.447,.738-.644,1.05c-.18,.302-.084,.692 .215,.877l4.188,2.576c.147,.091 .324,.119 .492,.077c.168-.041 .312-.148 .4-.297c.168-.28 .383-.644 .618-1.03c1.659-2.739 3.328-2.407 6.334-.967l4.182,1.972c.157,.075 .338,.083 .502,.022c.163-.061 .295-.185 .365-.345l1.994-4.51c.14-.322-.003-.697-.322-.844c-1.399-.658-2.795-1.321-4.188-1.992c-5.666-2.739-10.464-2.558-14.137,3.408zM21.39,6.722c.21-.342 .448-.738 .645-1.054c.176-.301 .08-.688-.216-.872l-4.188-2.577c-.147-.091-.324-.119-.492-.077c-.168,.041-.312,.148-.4,.297c-.164,.283-.38,.644-.619,1.033c-1.659,2.738-3.328,2.404-6.334,.967l-4.166-1.975c-.157-.075-.338-.083-.501-.022c-.163,.061-.295,.185-.365,.344l-1.994,4.51c-.14,.322 .003,.697 .322,.844c.877,.413 2.619,1.238 4.188,1.992c5.65,2.738 10.454,2.555 14.12-3.408z"},discord:{title:"Discord",source:"Simple Icons",path:"M19.939,4.717c-1.485-.682-3.053-1.168-4.663-1.446c-.03-.006-.06,.009-.075,.035c-.201,.358-.424,.825-.581,1.193c-1.761-.264-3.513-.264-5.237,0c-.156-.375-.387-.834-.59-1.193c-.015-.026-.045-.04-.075-.035c-1.61,.278-3.178,.764-4.663,1.446c-.013,.005-.023,.015-.031,.026c-2.97,4.437-3.783,8.765-3.384,13.039c.002,.021 .013,.04 .03,.054c1.959,1.439 3.857,2.313 5.72,2.892c.03,.009 .062-.002 .08-.026c.441-.602 .833-1.236 1.17-1.903c.009-.018 .01-.04 .003-.059c-.008-.019-.023-.034-.042-.042c-.623-.236-1.216-.524-1.787-.852c-.021-.012-.035-.035-.036-.059c-.001-.024 .009-.048 .029-.063c.12-.09 .24-.184 .355-.278c.021-.017 .049-.021 .074-.01c3.749,1.712 7.808,1.712 11.513,0c.025-.012 .054-.008 .075,.009c.115,.095 .235,.189 .356,.279c.02,.015 .031,.038 .029,.063c-.001,.024-.015,.047-.036,.059c-.571,.333-1.169,.618-1.788,.851c-.019,.007-.035,.023-.042,.042c-.007,.019-.006,.041 .003,.06c.344,.666 .737,1.301 1.169,1.903c.018,.025 .051,.036 .08,.027c1.872-.579 3.77-1.453 5.729-2.892c.017-.012 .028-.032 .03-.053c.478-4.941-.8-9.234-3.387-13.039c-.006-.012-.017-.022-.03-.027zM8.201,15.18c-1.129,0-2.059-1.036-2.059-2.309c0-1.273 .912-2.309 2.059-2.309c1.156,0 2.077,1.045 2.059,2.309c0,1.273-.912,2.309-2.059,2.309zM15.813,15.18c-1.129,0-2.059-1.036-2.059-2.309c0-1.273 .912-2.309 2.059-2.309c1.156,0 2.077,1.045 2.059,2.309c0,1.273-.903,2.309-2.059,2.309z"},figma:{title:"Figma",source:"Simple Icons",path:"M15.85,8.983h-4.585v-8.976h4.585c2.475,0 4.488,2.013 4.488,4.488c0,2.475-2.013,4.489-4.488,4.489zM12.735,7.512h3.115c1.664,0 3.017-1.354 3.017-3.017c0-1.663-1.354-3.017-3.017-3.017h-3.115zM12.735,8.983h-4.584c-2.475,0-4.488-2.013-4.488-4.488c0-2.475 2.013-4.489 4.488-4.489h4.585v8.976zM8.151,1.477c-1.664,0-3.017,1.354-3.017,3.017c0,1.663 1.353,3.018 3.017,3.018h3.115v-6.036zM12.735,16.488h-4.584c-2.475,0-4.488-2.013-4.488-4.488c0-2.475 2.013-4.488 4.488-4.488h4.585v8.975zM8.151,8.983c-1.664,0-3.017,1.354-3.017,3.017c0,1.663 1.354,3.017 3.017,3.017h3.115v-6.035zM8.175,23.993c-2.488,0-4.513-2.013-4.513-4.488c0-2.475 2.013-4.488 4.488-4.488h4.585v4.439c0,2.502-2.046,4.537-4.56,4.537zM8.151,16.488c-1.666,.002-3.015,1.352-3.017,3.017c0,1.664 1.364,3.017 3.042,3.017c1.704,0 3.091-1.375 3.091-3.066v-2.968zM15.85,16.488h-.098c-2.475,0-4.488-2.013-4.488-4.488c0-2.475 2.013-4.488 4.488-4.488h.098c2.475,0 4.488,2.013 4.488,4.488c0,2.475-2.013,4.488-4.488,4.488zM15.753,8.983c-1.664,0-3.017,1.354-3.017,3.017c0,1.663 1.354,3.017 3.017,3.017h.098c1.664,0 3.017-1.354 3.017-3.017c0-1.663-1.354-3.017-3.017-3.017z"},github:{title:"GitHub",source:"Simple Icons",path:"M12,2.125c-5.595,0-10.126,4.534-10.126,10.126c0,4.475 2.901,8.27 6.924,9.607c.506,.095 .692-.218 .692-.487c0-.24-.008-.878-.013-1.721c-2.817,.611-3.411-1.359-3.411-1.359c-.461-1.169-1.127-1.481-1.127-1.481c-.917-.628 .071-.615 .071-.615c1.017,.071 1.551,1.043 1.551,1.043c.903,1.548 2.37,1.101 2.949,.842c.091-.655 .352-1.101 .641-1.354c-2.249-.253-4.612-1.124-4.612-5.004c0-1.105 .392-2.008 1.042-2.717c-.114-.256-.456-1.285 .089-2.68c0,0 .848-.272 2.785,1.038c.81-.225 1.671-.337 2.532-.342c.861,.005 1.721,.116 2.532,.342c1.924-1.31 2.772-1.038 2.772-1.038c.544,1.395 .203,2.424 .101,2.68c.646,.709 1.038,1.612 1.038,2.717c0,3.89-2.367,4.747-4.62,4.996c.354,.304 .684,.925 .684,1.873c0,1.355-.013,2.444-.013,2.773c0,.266 .177,.582 .696,.481c4.051-1.328 6.95-5.126 6.95-9.594c0-5.592-4.534-10.126-10.126-10.126"},gmail:{title:"Gmail",source:"Simple Icons",path:"M23.545,5.705v13.382c0,.87-.704,1.574-1.574,1.574h-3.674v-8.921l-6.297,4.724l-6.297-4.724v8.922h-3.674c-.418,0-.818-.166-1.113-.461c-.295-.295-.461-.696-.461-1.114v-13.382c0-1.946 2.221-3.058 3.778-1.89l1.47,1.104l6.297,4.722l6.297-4.724l1.47-1.102c1.556-1.167 3.778-.057 3.778,1.89z"},intercom:{title:"Intercom",source:"Simple Icons",path:"M19.5,2h-15c-1.381,0-2.5,1.119-2.5,2.5v15c0,1.382 1.119,2.5 2.5,2.5h15c1.382,0 2.5-1.118 2.5-2.5v-15c0-1.381-1.118-2.5-2.5-2.5zM14.666,5.666c0-.367 .3-.667 .668-.667c.367,0 .667,.3 .667,.667v8.907c0,.368-.3,.668-.667,.668c-.369,0-.668-.299-.668-.667zM11.333,5.328c0-.367 .298-.666 .667-.666c.369,0 .667,.299 .667,.666v9.668c0,.367-.297,.667-.667,.667c-.369,0-.667-.3-.667-.667zM8,5.666c0-.367 .299-.667 .666-.667c.369,0 .668,.3 .668,.667v8.907c0,.368-.3,.668-.668,.668c-.367,0-.666-.299-.666-.667zM4.666,7c0-.368 .3-.667 .668-.667c.367,0 .666,.298 .666,.667v5.996c0,.368-.299,.667-.666,.667c-.369,0-.668-.3-.668-.667zM19.1,17.168c-.102,.088-2.572,2.161-7.1,2.161c-4.527,0-6.997-2.072-7.101-2.161c-.279-.24-.312-.66-.072-.94c.238-.278 .658-.312 .938-.075c.039,.034 2.244,1.843 6.234,1.843c4.04,0 6.213-1.822 6.233-1.839c.278-.241 .699-.208 .94,.072c.241,.28 .208,.7-.072,.94zM19.334,12.996c0,.368-.3,.667-.667,.667c-.367,0-.667-.3-.667-.667v-5.996c0-.368 .301-.667 .668-.667c.368,0 .668,.298 .668,.667z"},jira:{title:"Jira",source:"Simple Icons",path:"M11.643,11.594h-9.642c.001,1.155 .461,2.262 1.279,3.077c.818,.815 1.927,1.272 3.081,1.269h1.775v1.714c0,2.399 1.945,4.345 4.344,4.346v-9.568c0-.463-.375-.837-.837-.837zM16.412,6.798h-9.632c0,2.4 1.946,4.345 4.346,4.345h1.774v1.715c.002,2.399 1.947,4.344 4.346,4.345v-9.571c0-.461-.373-.834-.834-.834zM21.177,2h-9.632c0,2.4 1.946,4.346 4.346,4.346h1.774v1.714c.002,2.394 1.94,4.336 4.334,4.343v-9.565c.002-.457-.365-.831-.822-.837z"},linear:{title:"Linear",source:"Simple Icons",path:"M4.405,5.483c1.899-2.213 4.67-3.486 7.587-3.483c5.528,0 10.008,4.48 10.008,10.008c0,3.033-1.35,5.753-3.483,7.588l-14.111-14.112zM3.514,6.688l13.797,13.797c-.437,.275-.896,.517-1.375,.722l-13.143-13.142c.206-.479 .448-.938 .722-1.375zM2.268,9.636l12.096,12.096c-.592,.143-1.202,.235-1.829,.268l-10.535-10.535c.033-.617 .123-1.229 .268-1.829zM2.127,13.688l8.186,8.187c-4.189-.716-7.471-3.997-8.187-8.187z"},notion:{title:"Notion",source:"Simple Icons",path:"M5.584,5.37c.635,.516 .873,.476 2.066,.397l11.244-.675c.238,0 .04-.238-.039-.277l-1.868-1.35c-.357-.277-.835-.596-1.748-.516l-10.887,.795c-.396,.039-.476,.238-.318,.397zM6.258,7.991v11.83c0,.636 .317,.874 1.033,.834l12.357-.715c.716-.039 .796-.476 .796-.993v-11.751c0-.516-.198-.794-.636-.755l-12.913,.755c-.476,.04-.636,.278-.636,.794zM18.457,8.624c.079,.357 0,.715-.357,.756l-.596,.119v8.733c-.517,.278-.994,.437-1.391,.437c-.636,0-.796-.199-1.272-.794l-3.894-6.114v5.915l1.232,.279c0,0 0,.715-.994,.715l-2.741,.158c-.079-.158 0-.556 .278-.635l.715-.198v-7.822l-.991-.08c-.08-.357 .119-.873 .675-.913l2.941-.198l4.053,6.193v-5.479l-1.034-.118c-.079-.437 .238-.755 .636-.794zM3.437,2.67l11.325-.834c1.39-.119 1.748-.04 2.622,.596l3.615,2.541c.596,.436 .795,.556 .795,1.032v13.935c0,.873-.317,1.39-1.429,1.469l-13.152,.795c-.834,.04-1.232-.079-1.669-.636l-2.662-3.454c-.476-.636-.675-1.111-.675-1.668v-12.387c0-.714 .318-1.31 1.231-1.389z"},openai:{title:"OpenAI",source:"svgl",evenodd:!0,path:"M9.367,2.175c1.818-.487 3.67,.075 4.913,1.315c1.697-.453 3.582-.014 4.912,1.317c1.331,1.331 1.77,3.216 1.317,4.913v0c1.241,1.243 1.803,3.095 1.316,4.913c-.487,1.818-1.9,3.141-3.596,3.597c-.456,1.696-1.779,3.109-3.597,3.596c-1.818,.487-3.67-.075-4.913-1.315c-1.697,.453-3.582,.014-4.913-1.317c-1.331-1.331-1.77-3.216-1.317-4.913c-1.24-1.243-1.803-3.095-1.315-4.913c.487-1.818 1.9-3.141 3.596-3.597c.456-1.696 1.779-3.109 3.597-3.596zM15.436,17.077c0,.206-.11,.397-.288,.5l-4.236,2.445c.937,.723 2.189,1.017 3.421,.687c1.737-.466 2.89-2.025 2.914-3.739v-4.36c0-.132-.071-.255-.185-.32l-1.626-.939zM9.321,17.515c-.178,.103-.398,.103-.577,0l-4.235-2.445c-.158,1.174 .214,2.405 1.116,3.307h0c1.272,1.272 3.199,1.49 4.695,.654l3.776-2.18c.114-.066 .185-.189 .185-.321v-1.877zM15.152,7.76c-.114-.066-.256-.065-.37,0l-1.626,.939l4.959,2.863c.179,.103 .289,.294 .289,.5v4.891c1.095-.45 1.975-1.388 2.305-2.62c.465-1.737-.309-3.515-1.781-4.393zM5.596,7.047c-1.095,.45-1.975,1.388-2.306,2.62c-.465,1.737 .309,3.515 1.781,4.393l3.776,2.18c.114,.066 .256,.065 .37,0l1.626-.939l-4.959-2.863c-.179-.103-.288-.294-.288-.5zM9.72,10.684v2.633l2.28,1.316l2.28-1.316v-2.633l-2.28-1.317zM13.088,3.978c-.937-.723-2.189-1.017-3.421-.687c-1.737,.466-2.89,2.025-2.914,3.739v4.36c0,.132 .071,.255 .185,.32l1.626,.939v-5.726c0-.206 .11-.397 .289-.5zM18.376,5.625c-1.272-1.272-3.199-1.49-4.695-.654l-3.776,2.18c-.114,.066-.185,.189-.185,.321v1.877l4.959-2.863c.178-.103 .398-.103 .577,0l4.235,2.445c.158-1.174-.214-2.405-1.116-3.306z"},paypal:{title:"PayPal",source:"Simple Icons",path:"M15.265,5.352h-6.031l-2.077,13.208h-4.366l2.752-17.418h7.234c3.397,0 5.768,2.076 5.857,4.988c-.586-.432-1.905-.778-3.368-.778M21.21,10.37c0,3.085-2.723,6.201-6.296,6.201h-2.256l-1.024,6.287h-4.393l1.669-10.44h3.25c3.807,0 6.647-3.288 6.472-6.288c1.589,.815 2.585,2.454 2.577,4.24M9.877,6.16h5.798c.821,0 1.757,.201 2.138,.49c-.176,2.48-2.402,4.961-5.828,4.961h-2.958z"},playwright:{title:"Playwright",source:"svgl",path:"M8.063,13.122c-.862,.245-1.428,.674-1.801,1.103c.357-.312 .835-.599 1.48-.782c.66-.187 1.223-.186 1.688-.096v-.364c-.397-.036-.852-.007-1.367,.139zM6.223,10.065l-3.203,.844c0,0 .058,.082 .166,.192l2.716-.716c0,0-.038,.496-.373,.94c.632-.478 .693-1.26 .693-1.26zM8.904,17.593c-4.508,1.214-6.892-4.01-7.614-6.721c-.334-1.252-.479-2.199-.518-2.811c-.004-.064-.002-.117 .002-.166c-.234,.014-.346,.136-.323,.487c.039,.611 .184,1.559 .518,2.811c.722,2.711 3.107,7.935 7.614,6.721c.981-.264 1.718-.746 2.272-1.36c-.51,.461-1.148,.823-1.951,1.04zM9.751,6.868v.321h1.768c-.036-.114-.073-.216-.109-.321zM11.914,9.51c.795,.226 1.216,.783 1.438,1.277l.887,.252c0,0-.121-1.727-1.683-2.17c-1.461-.415-2.36,.812-2.469,.971c.425-.303 1.046-.551 1.828-.329zM18.972,10.795c-1.462-.417-2.361,.812-2.469,.969c.425-.302 1.046-.55 1.827-.327c.794,.226 1.214,.783 1.437,1.277l.888,.253c0,0-.123-1.727-1.683-2.171zM18.091,15.347l-7.375-2.062c0,0 .08,.405 .386,.929l6.21,1.736c.511-.296 .779-.603 .779-.603zM12.978,19.785c-5.84-1.566-5.134-9.006-4.189-12.532c.389-1.453 .789-2.533 1.121-3.257c-.198-.041-.362,.064-.524,.393c-.352,.714-.803,1.877-1.238,3.506c-.945,3.526-1.651,10.966 4.189,12.532c2.752,.737 4.897-.383 6.495-2.143c-1.517,1.374-3.454,2.145-5.854,1.502zM9.751,15.849v-1.501l-4.172,1.183c0,0 .308-1.791 2.484-2.408c.66-.187 1.223-.186 1.688-.096v-6.159h2.089c-.227-.703-.447-1.244-.632-1.62c-.306-.622-.619-.21-1.33,.385c-.501,.419-1.767,1.312-3.673,1.825c-1.906,.514-3.446,.378-4.089,.266c-.911-.157-1.388-.357-1.343,.336c.039,.611 .184,1.559 .518,2.811c.722,2.711 3.107,7.935 7.614,6.721c1.177-.317 2.009-.944 2.585-1.744h-1.738zM3.019,10.909l3.203-.844c0,0-.093,1.232-1.294,1.549c-1.201,.316-1.909-.705-1.909-.705zM21.807,6.939c-.833,.146-2.83,.328-5.299-.334c-2.469-.661-4.108-1.818-4.757-2.362c-.92-.771-1.325-1.306-1.723-.496c-.352,.715-.803,1.878-1.238,3.506c-.945,3.526-1.651,10.966 4.189,12.532c5.838,1.564 8.946-5.233 9.891-8.759c.436-1.628 .627-2.86 .68-3.655c.06-.9-.558-.639-1.741-.432zM10.075,9.856c0,0 .92-1.431 2.481-.988c1.562,.444 1.683,2.17 1.683,2.17zM13.885,16.279c-2.745-.804-3.169-2.993-3.169-2.993l7.375,2.062c0,0-1.489,1.726-4.206,.931zM16.492,11.78c0,0 .919-1.43 2.479-.985c1.56,.444 1.683,2.171 1.683,2.171zM8.293,14.761l-2.714,.769c0,0 .295-1.679 2.294-2.345l-1.537-5.767l-.133,.04c-1.906,.514-3.446,.378-4.089,.266c-.911-.157-1.388-.357-1.343,.336c.039,.611 .184,1.559 .518,2.811c.722,2.711 3.107,7.935 7.614,6.721l.133-.042zM3.019,10.909l3.203-.844c0,0-.093,1.232-1.294,1.549c-1.201,.316-1.909-.705-1.909-.705zM14.009,16.309l-.124-.03c-2.745-.804-3.169-2.993-3.169-2.993l3.803,1.063l2.013-7.737l-.024-.006c-2.469-.661-4.108-1.818-4.757-2.362c-.92-.771-1.325-1.306-1.723-.496c-.352,.715-.802,1.878-1.238,3.506c-.945,3.526-1.651,10.966 4.189,12.532l.12,.027zM10.075,9.856c0,0 .92-1.431 2.481-.988c1.562,.444 1.683,2.17 1.683,2.17zM8.432,14.722l-.728,.207c.172,.969 .475,1.9 .951,2.721c.083-.018 .165-.034 .249-.057c.221-.06 .426-.133 .623-.214c-.531-.789-.883-1.697-1.095-2.657zM8.147,7.895c-.374,1.396-.709,3.405-.616,5.42c.165-.072 .339-.138 .532-.193l.135-.03c-.164-2.153 .191-4.346 .591-5.839c.101-.378 .203-.729 .304-1.056c-.163,.104-.339,.21-.539,.32c-.135,.417-.271,.872-.407,1.378z"},posthog:{title:"PostHog",source:"Simple Icons",path:"M9.854,14.5l-4.854-4.853l-4.146-4.147c-.143-.143-.358-.186-.545-.109c-.187,.078-.309,.26-.309,.463v2.586c0,.132 .053,.259 .146,.353l4.854,4.854l.147,.146l4.707,4.707l.146,.147v-.049c.065,.03 .134,.049 .207,.049h2.586c.202,0 .385-.122 .462-.309c.077-.187 .034-.402-.109-.545zM9.854,9.5l-4-4c-.106-.109-.258-.163-.409-.144c-.143,.017-.272,.093-.356,.21c-.059,.084-.09,.185-.089,.288v2.586c0,.133 .053,.259 .147,.353l9,9c.143,.143 .358,.185 .545,.108c.187-.077 .308-.26 .308-.462v-2.585c0-.133-.052-.26-.146-.354zM10.854,5.5c-.143-.143-.358-.186-.545-.109c-.187,.078-.309,.26-.309,.463v2.586c0,.133 .053,.259 .147,.353l4,4c.143,.143 .358,.185 .545,.108c.187-.077 .308-.26 .308-.462v-2.585c0-.133-.052-.26-.146-.354zM23.501,17.015c-.845-.11-1.63-.497-2.232-1.1l-4.708-4.707c-.143-.143-.358-.186-.545-.109c-.187,.078-.309,.26-.309,.463v6.585c0,.276 .224,.5 .5,.5h7.293c.276,0 .5-.224 .5-.5v-.6c0-.276-.225-.497-.499-.532zM18.107,17.047c-.442,0-.8-.358-.8-.8c0-.442 .358-.8 .8-.8c.442,0 .8,.358 .8,.8c0,.442-.358,.8-.8,.8zM.854,15.5c-.143-.143-.358-.186-.545-.109c-.187,.078-.309,.26-.309,.463v2.293c0,.276 .224,.5 .5,.5h2.293c.222,0 .39-.135 .462-.309c.079-.187 .036-.403-.109-.545l-2.292-2.292zM5,14.647l-4.146-4.147c-.143-.143-.358-.186-.545-.109c-.187,.077-.309,.26-.309,.462v2.586c0,.132 .053,.259 .146,.353l4.708,4.708l.146,.147h2.793c.202,0 .385-.122 .462-.309c.077-.187 .034-.402-.109-.545z"},sentry:{title:"Sentry",source:"Simple Icons",path:"M13.696,3.574c-.775-1.285-2.637-1.285-3.411,0l-2.806,4.806c4.362,2.178 7.243,6.505 7.57,11.369h-1.971c-.326-4.169-2.834-7.855-6.593-9.688l-2.597,4.491c2.11,.947 3.594,2.902 3.936,5.19h-4.525c-.109-.008-.207-.07-.261-.165c-.053-.096-.055-.212-.004-.309l1.254-2.132c-.425-.354-.91-.629-1.432-.81l-1.242,2.132c-.261,.448-.332,.981-.196,1.481c.135,.5 .466,.925 .917,1.18c.294,.166 .626,.254 .964,.256h6.197c.234-2.888-1.06-5.689-3.412-7.382l.985-1.706c2.969,2.039 4.639,5.495 4.393,9.088h5.249c.249-5.444-2.417-10.609-6.998-13.56l1.991-3.412c.092-.155 .292-.206 .447-.115c.226,.124 8.653,14.828 8.811,14.998c.057,.101 .055,.226-.005,.325c-.06,.1-.169,.159-.285,.157h-2.03c.026,.543 .026,1.085 0,1.625h2.038c.702,.004 1.352-.368 1.704-.975c.352-.607 .353-1.355 .002-1.963z"},shadcn:{title:"shadcn/ui",source:"Simple Icons",path:"M20.516,11.82l-8.696,8.696c-.339,.339-.339,.89 0,1.23c.339,.339 .89,.339 1.23,0l8.696-8.696c.339-.34 .339-.891 0-1.23c-.34-.339-.891-.339-1.23,0zM18.777,2.254l-16.522,16.522c-.339,.339-.339,.89 0,1.23c.34,.339 .891,.339 1.23,0l16.522-16.522c.339-.339 .339-.89 0-1.23c-.34-.339-.891-.339-1.23,0z"},slack:{title:"Slack",source:"svgl",path:"M9.336,1.99c-1.104,.001-1.998,.897-1.998,2.002c-.001,1.104 .894,2.001 1.998,2.002h1.998v-2.001c.001-1.104-.894-2.001-1.999-2.002c.001,0 .001,0 0,0M9.336,7.329h-5.327c-1.104,.001-1.999,.897-1.998,2.002c-.002,1.104 .893,2.001 1.998,2.002h5.328c1.104-.001 1.999-.897 1.998-2.002c.001-1.105-.894-2.002-1.998-2.002zM21.99,9.33c.001-1.104-.894-2.001-1.998-2.002c-1.104,.001-1.999,.897-1.998,2.002v2.002h1.998c1.104-.001 1.999-.897 1.998-2.002zM16.662,9.33v-5.339c.001-1.104-.893-2-1.998-2.002c-1.104,.001-1.999,.897-1.998,2.002v5.339c-.002,1.104 .893,2.001 1.998,2.002c1.104-.001 1.999-.897 1.998-2.002zM14.664,22.01c1.104-.001 1.999-.897 1.998-2.002c.001-1.104-.894-2.001-1.998-2.002h-1.998v2.002c-.001,1.104 .894,2 1.998,2.002zM14.664,16.671h5.328c1.104-.001 1.999-.897 1.998-2.002c.002-1.104-.893-2.001-1.998-2.002h-5.328c-1.104,.001-1.999,.897-1.998,2.002c-.001,1.105 .893,2.002 1.998,2.002zM2.01,14.669c-.001,1.104 .894,2.001 1.998,2.002c1.104-.001 1.999-.897 1.998-2.002v-2.002h-1.998c-1.104,.001-1.999,.897-1.998,2.002zM7.338,14.669v5.339c-.002,1.104 .893,2.001 1.998,2.002c1.104-.001 1.999-.897 1.998-2.002v-5.338c.002-1.104-.893-2.001-1.998-2.002c-1.105,0-1.999,.896-1.998,2.001c0,0 0,.001 0,0"},square:{title:"Square",source:"Simple Icons",path:"M5.342,2c-1.846,0-3.342,1.496-3.342,3.342v13.317c0,1.842 1.5,3.333 3.342,3.342h13.317c1.842,0 3.342-1.5 3.342-3.342v-13.325c-.005-1.842-1.499-3.333-3.342-3.333h-13.325zM6.692,5.633h10.617c.583,0 1.05,.475 1.05,1.058v10.617c0,.583-.467,1.058-1.05,1.058h-10.617c-.583,0-1.05-.475-1.05-1.058v-10.617c0-.581 .469-1.054 1.05-1.058zM9.883,9.258c-.336,0-.608,.272-.608,.608v4.242c0,.333 .267,.6 .6,.6h4.25c.333,0 .604-.267 .608-.6v-4.242c0-.336-.272-.608-.608-.608h-4.25z"},stripe:{title:"Stripe",source:"Simple Icons",path:"M13.948,9.189c-2.142-.795-3.31-1.406-3.31-2.376c0-.82 .674-1.287 1.875-1.287c2.196,0 4.453,.846 6.007,1.609l.878-5.419c-1.232-.59-3.752-1.551-7.235-1.551c-2.464,0-4.513,.645-5.978,1.846c-1.523,1.258-2.315,3.077-2.315,5.273c0,3.984 2.433,5.681 6.387,7.12c2.55,.907 3.398,1.552 3.398,2.548c0,.967-.828,1.524-2.322,1.524c-1.849,0-4.897-.908-6.894-2.08l-.888,5.479c1.717,.966 4.883,1.962 8.167,1.962c2.605,0 4.777-.615 6.241-1.788c1.641-1.287 2.49-3.192 2.49-5.653c0-4.071-2.489-5.771-6.504-7.205z"},supabase:{title:"Supabase",source:"Simple Icons",path:"M11.916,2.745c-.013-.832-1.064-1.19-1.582-.538l-7.818,9.835c-.923,1.162-.096,2.874 1.389,2.874h8.086l.095,6.339c.012,.831 1.063,1.189 1.581,.537l7.818-9.836c.923-1.161 .095-2.872-1.389-2.872h-8.139z"},teams:{title:"Microsoft Teams",source:"svgl",path:"M12,10.378h6.489c1.792,0 3.244,1.453 3.244,3.244v5.407c0,1.792-1.453,3.244-3.244,3.244c-1.792,0-3.244-1.453-3.244-3.244v-5.407c0-1.792-1.453-3.244-3.244-3.244zM4.43,12.541c0-1.792 1.453-3.244 3.244-3.244h4.326c1.792,0 3.244,1.453 3.244,3.244v6.489c0,1.792 1.453,3.244 3.244,3.244h-8.652c-2.986,0-5.407-2.421-5.407-5.407zM17.948,9.296c1.493,0 2.704-1.21 2.704-2.704c0-1.493-1.21-2.704-2.704-2.704c-1.493,0-2.704,1.21-2.704,2.704c0,1.493 1.21,2.704 2.704,2.704zM9.837,8.215c1.792,0 3.244-1.453 3.244-3.244c0-1.792-1.453-3.244-3.244-3.244c-1.792,0-3.244,1.453-3.244,3.244c0,1.792 1.453,3.244 3.244,3.244zM4.024,20.652c-.971,0-1.757-.787-1.757-1.757v-5.137c0-.971 .787-1.757 1.757-1.757h5.137c.971,0 1.757,.787 1.757,1.757v5.137c0,.971-.787,1.757-1.757,1.757zM8.474,14.761v-.906h-3.764v.906h1.323v4.037h1.117v-4.037h1.324zM8.474,14.761v-.906h-3.764v.906h1.323v4.037h1.117v-4.037h1.324z"},telegram:{title:"Telegram",source:"Simple Icons",path:"M11.953,2c-5.505,.026-9.953,4.495-9.953,10c0,5.523 4.477,10 10,10c5.523,0 10-4.477 10-10c0-5.523-4.477-10-10-10c-.016,0-.031,0-.047,0zM16.088,8.02c.083-.002 .268,.019 .388,.117c.08,.069 .131,.166 .143,.271c.013,.078 .03,.255 .017,.393c-.15,1.582-.802,5.418-1.133,7.189c-.14,.75-.416,1.001-.683,1.025c-.58,.054-1.021-.383-1.583-.752c-.88-.577-1.377-.937-2.232-1.5c-.987-.65-.347-1.008 .215-1.592c.148-.153 2.706-2.481 2.756-2.692c.006-.027 .012-.125-.047-.177c-.058-.052-.145-.034-.207-.02c-.088,.02-1.494,.95-4.217,2.788c-.4,.275-.761,.408-1.085,.4c-.357-.007-1.043-.201-1.554-.367c-.627-.204-1.124-.312-1.081-.657c.023-.18 .271-.364 .744-.552c2.915-1.27 4.858-2.107 5.832-2.512c2.777-1.155 3.354-1.356 3.73-1.362z"},vercel:{title:"Vercel",source:"Simple Icons",path:"M12,2.694l10.746,18.612h-21.492z"},webflow:{title:"Webflow",source:"Simple Icons",path:"M24,4.515l-7.658,14.97h-7.193l3.205-6.204h-.144c-2.644,3.432-6.589,5.692-12.21,6.204v-6.118c0,0 3.596-.213 5.71-2.435h-5.71v-6.417h6.417v5.278l.144-.001l2.622-5.277h4.854v5.244h.144l2.72-5.244z"},wix:{title:"Wix",source:"Simple Icons",path:"M0,7.355l2.113,9.292h.801c.726,0 1.354-.508 1.506-1.218l1.351-6.34c.016-.079 .086-.137 .167-.137c.08,0 .15,.058 .167,.137l1.352,6.34c.152,.71 .78,1.218 1.506,1.218h.805l2.113-9.292h-.565c-.62,0-1.159,.43-1.296,1.035l-1.26,5.545l-1.106-5.176c-.102-.473-.395-.883-.81-1.134c-.414-.251-.914-.319-1.38-.19c-.639,.176-1.113,.716-1.251,1.365l-1.094,5.127l-1.26-5.537c-.138-.605-.675-1.035-1.296-1.035zM13.992,7.355c-.525,0-.95,.425-.951,.95v8.342h.635c.525-.001 .95-.425 .951-.95v-8.343h-.635zM15.77,7.355l3.158,4.66l-3.14,4.632h1.325c.368,0 .712-.181 .918-.486l1.756-2.59c.022-.032 .059-.051 .099-.051c.039,0 .076,.019 .099,.051l1.754,2.59c.206,.305 .55,.486 .918,.486h1.326l-3.14-4.632l3.158-4.66h-1.326c-.368,0-.712,.181-.918,.486l-1.772,2.617c-.022,.032-.059,.051-.098,.051c-.039,0-.076-.019-.098-.051l-1.773-2.617c-.206-.304-.55-.486-.918-.486z"},zapier:{title:"Zapier",source:"Simple Icons",path:"M14.5,12.003c0,.744-.137,1.455-.384,2.113c-.656,.248-1.369,.384-2.112,.384h-.007c-.744,0-1.454-.137-2.112-.384c-.247-.657-.384-1.369-.384-2.112v-.007c0-.744 .137-1.454 .384-2.112c.658-.247 1.368-.384 2.112-.384h.008c.744,0 1.457,.137 2.113,.385c.248,.657 .384,1.368 .384,2.113zM21.863,10.333h-5.837l4.123-4.127c-.325-.457-.683-.883-1.079-1.277c-.394-.395-.821-.756-1.275-1.08l-4.128,4.124v-5.836c-.541-.087-1.094-.137-1.662-.137h-.008c-.567,0-1.122,.051-1.662,.138v5.838l-4.125-4.124c-.457,.322-.883,.684-1.278,1.078c-.395,.395-.757,.823-1.08,1.278l4.124,4.127h-5.836c0,0-.137,1.097-.137,1.663v.008c0,.567 .051,1.123 .138,1.663h5.838l-4.124,4.127c.648,.913 1.444,1.709 2.356,2.358l4.127-4.125v5.837c.54,.088 1.094,.138 1.659,.138h.014c.566,0 1.12-.05 1.659-.137v-5.837l4.127,4.125c.457-.312 .883-.677 1.274-1.075h.004c.394-.387 .755-.813 1.08-1.276l-4.125-4.124h5.837c.088-.537 .138-1.087 .138-1.65v-.026c0-.565-.05-1.119-.137-1.658"}},te=B(_(),1);function de({id:s}){let a=ne[s];return(0,te.jsx)("svg",{viewBox:"0 0 24 24",focusable:"false","aria-hidden":"true",children:(0,te.jsx)("path",{fill:"currentColor",fillRule:a.evenodd?"evenodd":void 0,d:a.path})})}var e=B(_(),1),pe={atlassian:"jira","chrome-devtools":"chrome",codex:"openai","microsoft-teams":"teams","better-stack":"betterstack"};function ie({name:s,label:a,connected:c}){let r=s.toLowerCase().replace(/^agent:/,"").replace(/^mcp:.*:/,""),n=Object.hasOwn(ne,r)?r:pe[r]??null,m=(a.trim().match(/[\p{L}\p{N}]/u)?.[0]??"?").toUpperCase();return(0,e.jsx)("span",{className:"brand-mark","data-connected":String(c),...n===null?{"data-letter":""}:{},"aria-hidden":"true",children:n===null?m:(0,e.jsx)(de,{id:n})})}var Z=[["all","All"],["track","Watch & triage"],["fix","Keep things working"],["report","Research & reports"],["kits","With an agent"],["recipes","One-time work"],["starters","Starter flows"]],ce=[["check","Passing tests or commands"],["changed-path","Changed files"],["screenshot","Screenshot"],["manual-review","Reviewer assessment"]],he=[["free","Do it"],["limit","Do it, up to a limit"],["ask","Ask first"],["never","Never"]],me=[["npm outdated","npm (Node)"],["pip list --outdated","pip (Python)"],["cargo outdated","Cargo (Rust)"],["bundle outdated","Bundler (Ruby)"],["go list -u -m all","Go modules"]];function re({projects:s,current:a,id:c}){return s.length<=1?(0,e.jsx)("input",{type:"hidden",name:"repo",value:s[0]?.path??a??""}):(0,e.jsx)(w,{label:"Project",children:({id:r})=>(0,e.jsx)(T,{id:c||r,name:"repo",defaultValue:a??s[0].path,wide:!0,items:s.map(n=>[n.path,n.name])})})}function ol({view:s}){let[a,c]=(0,g.useState)(null),[r,n]=(0,g.useState)(null),[m,j]=(0,g.useState)("No file chosen"),[l,t]=(0,g.useState)(""),[d,b]=(0,g.useState)(""),[v,N]=(0,g.useState)(""),Y=(0,g.useRef)(null),p=s.canCreate&&s.projects.length>0,x=i=>i===null?"/flows":`/flows?project=${encodeURIComponent(i)}`,k=i=>i.tone==="running"?(0,e.jsx)(C,{word:i.label,tone:"live"}):i.tone==="failed"?(0,e.jsx)(C,{word:i.label,tone:"failed"}):i.tone==="finished"?(0,e.jsx)(C,{word:i.label,tone:"done"}):i.tone==="ask"?(0,e.jsx)(C,{word:i.label,tone:"ask"}):(0,e.jsx)(C,{word:i.label,dot:i.dot});return(0,e.jsxs)("div",{className:"fl-page","data-kit-page":"",children:[(0,e.jsx)(E,{title:"Flows",right:(0,e.jsxs)(e.Fragment,{children:[s.projects.length>1&&(0,e.jsx)(Q,{label:"Project",current:s.scope??"all",items:[{key:"all",label:"All",href:"/flows"},...s.projects.map(i=>({key:i.path,label:i.name,href:x(i.path)}))]}),(0,e.jsx)(o,{variant:"ghost",sm:!0,iconOnly:"more",label:"More",onClick:i=>c(i.currentTarget)}),p&&(0,e.jsx)(f,{variant:"primary",sm:!0,lead:"plus",label:"New flow",href:"/flows/new"})]})}),(0,e.jsxs)("div",{className:"fl-pbar k-phone-only",children:[s.projects.length>1?(0,e.jsx)("form",{method:"get",action:"/flows",children:(0,e.jsx)(T,{name:"project","aria-label":"Project",value:s.scope??"",wide:!0,items:[["","All projects"],...s.projects.map(i=>[i.path,i.name])],onChange:i=>i.currentTarget.form?.requestSubmit()})}):(0,e.jsx)("span",{className:"k-grow"}),(0,e.jsx)(o,{variant:"outline",iconOnly:"more",label:"More",onClick:i=>c(i.currentTarget)})]}),s.problem!==null&&(0,e.jsx)("div",{className:"fl-say",children:(0,e.jsx)(M,{children:s.problem})}),s.totalFlows===0?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(J,{title:"No flows yet.",text:"A flow repeats work for you: run your tests every night, turn labelled issues into pull requests, draft replies to support mail.",action:p?(0,e.jsxs)(z,{children:[(0,e.jsx)(f,{sm:!0,href:"/flows/new",label:"Browse templates"}),(0,e.jsx)(o,{variant:"ghost",sm:!0,label:"Import a flow file",onClick:i=>n(i.currentTarget)})]}):void 0}),p&&(0,e.jsx)("div",{className:"fl-try",children:(0,e.jsxs)(h,{action:"/flows/example",children:[(0,e.jsx)("span",{className:"k-note",children:"Or see one work: Claude drafts a reply to a sample customer question for you to approve."}),s.projects.length===1?(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.projects[0].path}):(0,e.jsx)(T,{name:"repo","aria-label":"Project",sm:!0,items:s.projects.map(i=>[i.path,i.name])}),(0,e.jsx)(o,{sm:!0,type:"submit",label:"Try an example"})]})})]}):s.groups.every(i=>i.rows.length===0)?(0,e.jsx)(J,{title:`No flows in ${s.projects.find(i=>i.path===s.scope)?.name??"this project"}.`,action:(0,e.jsx)(f,{variant:"ghost",sm:!0,href:"/flows",label:"Show all projects"})}):(0,e.jsxs)("div",{className:"fl-rows","aria-label":"Flows",children:[s.groups.filter(i=>i.rows.length>0).map(i=>(0,e.jsxs)("div",{children:[(0,e.jsx)(V,{label:i.label,count:(0,e.jsx)(P,{n:i.rows.length})}),i.rows.map(u=>(0,e.jsx)("div",{"data-flow":u.id,children:(0,e.jsx)(ae,{href:u.href,chip:k(u.chip),title:u.name,desc:u.desc,wait:u.wait,meta:(0,e.jsxs)(e.Fragment,{children:[u.projectName!==null&&(0,e.jsx)("span",{children:u.projectName}),u.nextWords!==null&&(0,e.jsxs)("span",{className:"k-num",children:["Next ",u.nextWords]})]}),action:u.action!==null?(0,e.jsx)(f,{sm:!0,href:u.action.href,label:u.action.label}):void 0})},u.id))]},i.key)),p&&(0,e.jsx)("p",{className:"k-foot",children:(0,e.jsx)(o,{variant:"ghost",sm:!0,label:"Import a flow file",onClick:i=>n(i.currentTarget)})})]}),a&&(0,e.jsxs)(G,{kind:"menu",title:"More",trigger:a,onClose:()=>c(null),children:[p&&(0,e.jsx)("button",{type:"button",onClick:()=>{let i=a;c(null),n(i)},children:"Import a flow file…"}),(0,e.jsx)("a",{href:"/flows/new?group=kits",children:"Starter kits"}),(0,e.jsx)("a",{href:"/settings/lead/subagents",children:"Subagents"})]}),p&&r&&(0,e.jsx)(G,{kind:"drawer",title:"Import a flow file",trigger:r,onClose:()=>n(null),children:(0,e.jsxs)(h,{ref:Y,action:"/flows/import",className:"fl-imp","data-flow-import":"",onSubmit:i=>{l.trim()===""&&d.trim()===""&&(i.preventDefault(),N("Choose a flow file or give its address."))},children:[(0,e.jsx)(y,{children:"A flow file from another Toolroll, a teammate or a gist. Nothing runs until you import it, and any script it brings waits for your approval."}),(0,e.jsx)(re,{projects:s.projects,current:s.scope,id:"fl-imp-project"}),(0,e.jsxs)("div",{className:"k-field",children:[(0,e.jsx)("span",{className:"k-label",children:"File"}),(0,e.jsxs)("div",{className:"fl-file",children:[(0,e.jsxs)("label",{className:"k-btn k-btn-outline k-btn-sm",children:[(0,e.jsx)("input",{type:"file",accept:".json,application/json","data-flow-file":"",onChange:i=>{let u=i.currentTarget.files?.[0];if(t(""),N(""),!u){j("No file chosen");return}if(u.size>s.maxFileBytes){N(`That file is too big: a flow file is at most ${s.maxFileBytes/1024} KB.`),i.currentTarget.value="",j("No file chosen");return}j(u.name),u.text().then(F=>t(F))}}),(0,e.jsx)("span",{className:"k-face",children:"Choose a file"})]}),(0,e.jsx)("span",{className:"k-note","data-flow-file-name":"",children:m})]})]}),(0,e.jsx)("textarea",{name:"document",hidden:!0,readOnly:!0,value:l,"data-flow-document":""}),(0,e.jsx)(w,{label:"Or its address",children:({id:i})=>(0,e.jsx)($,{id:i,name:"url",type:"url",inputMode:"url",placeholder:"https://gist.github.com/…",value:d,onChange:u=>b(u.target.value)})}),v!==""&&(0,e.jsx)(M,{children:v}),(0,e.jsx)(z,{children:(0,e.jsx)(o,{type:"submit",label:"Preview import"})})]})}),p&&(0,e.jsx)(R,{children:(0,e.jsx)(f,{variant:"primary",lead:"plus",label:"New flow",href:"/flows/new"})})]})}function dl({view:s}){return(0,e.jsxs)("div",{className:"fl-page","data-kit-page":"",children:[(0,e.jsx)(L,{title:`Import ${s.fileName}`,back:"/flows"}),(0,e.jsxs)(O,{children:[(0,e.jsx)(U,{title:`Import ${s.fileName}`,back:["/flows","Flows"],meta:`Into ${s.projectName}. Nothing is made until you import it.`,same:!0}),s.problem!==null&&(0,e.jsx)(M,{children:s.problem}),s.plan!==null&&(0,e.jsxs)(e.Fragment,{children:[s.plan.about!==null&&(0,e.jsx)(y,{children:s.plan.about}),(0,e.jsxs)("section",{className:"k-sec",children:[(0,e.jsx)("h3",{children:"Steps"}),(0,e.jsx)(A,{children:"Its instructions come from the file, not from you: read what each step is asked before you import."}),s.plan.steps.length>0&&(0,e.jsx)("ul",{className:"fl-terms",children:s.plan.steps.map((a,c)=>(0,e.jsx)("li",{children:a},c))})]}),s.plan.triggers.length>0&&(0,e.jsxs)("section",{className:"k-sec",children:[(0,e.jsx)("h3",{children:"Triggers"}),(0,e.jsx)("ul",{className:"fl-terms",children:s.plan.triggers.map((a,c)=>(0,e.jsx)("li",{children:a},c))})]}),(s.plan.scripts.length>0||s.plan.kept.length>0)&&(0,e.jsxs)("section",{className:"k-sec",children:[(0,e.jsx)("h3",{children:"Scripts"}),(0,e.jsxs)("ul",{className:"fl-terms",children:[s.plan.scripts.map((a,c)=>(0,e.jsxs)("li",{children:[a.text,a.body!==null&&(0,e.jsx)(q,{summary:"Show the script",children:(0,e.jsx)("pre",{className:"k-mono",children:a.body})})]},c)),s.plan.kept.map((a,c)=>(0,e.jsx)("li",{children:a},`k-${c}`))]})]}),(0,e.jsxs)("section",{className:"k-sec",children:[(0,e.jsx)("h3",{children:"Good to know"}),(0,e.jsx)("ul",{className:"fl-terms",children:s.plan.notes.map((a,c)=>(0,e.jsx)("li",{children:a},c))})]})]}),(0,e.jsxs)(h,{action:"/flows/import",className:"fl-pv-form",id:"fl-pv-form",children:[(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"previewed",value:s.previewed}),(0,e.jsx)("textarea",{name:"document",hidden:!0,readOnly:!0,value:s.document}),s.parameters.length>0&&(0,e.jsxs)("fieldset",{children:[(0,e.jsx)("legend",{children:"Fill in"}),s.parameters.map(a=>(0,e.jsx)(w,{label:a.optional?`${a.about} (optional)`:a.about,children:({id:c})=>(0,e.jsx)($,{id:c,name:`param.${a.id}`,defaultValue:a.value,maxLength:200,autoComplete:"off"})},a.id))]}),(0,e.jsxs)(z,{children:[s.plan!==null&&(0,e.jsx)(o,{variant:"primary",type:"submit",docked:!0,name:"confirm",value:"yes",label:"Import flow"}),s.parameters.length>0&&(0,e.jsx)(o,{variant:s.plan===null?"primary":"outline",type:"submit",name:"confirm",value:"",label:s.plan===null?"Preview":"Update preview"}),(0,e.jsx)(f,{variant:"ghost",href:"/flows",label:"Cancel"})]})]})]}),s.plan!==null&&(0,e.jsx)(R,{children:(0,e.jsx)(o,{variant:"primary",type:"submit",form:"fl-pv-form",name:"confirm",value:"yes",label:"Import flow"})})]})}function oe({steps:s}){return(0,e.jsx)("ol",{className:"gallery-steps","aria-label":"Steps",children:s.map((a,c)=>(0,e.jsxs)("li",{children:[c>0&&(0,e.jsx)("span",{"aria-hidden":"true",children:"→"}),a.highlight?(0,e.jsx)("b",{children:a.name}):a.name]},c))})}function pl({view:s}){let[a,c]=(0,g.useState)(s.ask.value),[r,n]=(0,g.useState)(s.projects.find(t=>t.path===s.repo)?.name??s.projects[0]?.name??""),m=Z.some(([t])=>t===s.group)?s.group:"all",j=t=>m==="all"||m===t,l=t=>{let d=new URLSearchParams({...t==="all"?{}:{group:t},...s.repo===null?{}:{repo:s.repo}}).toString();return`/flows/new${d?`?${d}`:""}`};return(0,e.jsxs)("div",{className:"fl-new","data-kit-page":"",children:[(0,e.jsx)(L,{title:"New flow",back:"/flows"}),(0,e.jsxs)(O,{children:[(0,e.jsx)(U,{title:"New flow",back:["/flows","Flows"],meta:s.canUse?"Describe it in a sentence, or start from a template.":"An approver creates flows.",same:!0}),s.problem!==null?(0,e.jsx)(M,{children:s.problem}):s.said!==null?(0,e.jsx)(A,{children:s.said}):null,s.canUse&&(0,e.jsxs)("section",{className:"k-sec","aria-labelledby":"fl-dh",children:[(0,e.jsx)("h3",{id:"fl-dh",children:"Describe what you want"}),(0,e.jsxs)("form",{method:"get",action:"/flows/new",id:"fl-ask-form",children:[(0,e.jsx)("input",{type:"hidden",name:"project",value:r}),(0,e.jsx)(ee,{id:"fl-ask",name:"describe",label:"What should happen",rows:3,value:a,onChange:c,onSend:()=>{},submit:!0,gate:!1,sendLabel:"Draft the flow",placeholder:"Every night, run npm run e2e. When it fails, find the cause, fix it and open a pull request.",...s.projects.length>0?{project:{current:r,items:s.projects.map(t=>t.name)}}:{},onProject:n,error:s.ask.error,note:"Opens in chat: your lead drafts it for you to check. Nothing runs until you create it."})]})]}),(0,e.jsxs)("section",{className:"k-sec","aria-labelledby":"fl-th",children:[(0,e.jsxs)("div",{className:"fl-th",children:[(0,e.jsx)("h3",{id:"fl-th",children:"Start from a template"}),(0,e.jsx)("span",{className:"k-desk-only",children:(0,e.jsx)(Q,{label:"Templates",current:m,items:Z.map(([t,d])=>({key:t,label:d,href:l(t)}))})}),(0,e.jsx)("span",{className:"k-phone-only fl-tsel",children:(0,e.jsxs)("form",{method:"get",action:"/flows/new",children:[s.repo!==null&&(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)(T,{name:"group","aria-label":"Templates",value:m,wide:!0,items:Z,onChange:t=>t.currentTarget.form?.requestSubmit()})]})})]}),(0,e.jsxs)("div",{className:"fl-tlist",children:[s.templateGroups.filter(t=>j(t.id)).map(t=>(0,e.jsxs)("div",{"data-group":t.id,children:[(0,e.jsx)(V,{label:t.label,count:(0,e.jsx)(P,{n:t.rows.length})}),t.rows.map(d=>(0,e.jsxs)("div",{className:"fl-trow","data-template":d.id,children:[(0,e.jsxs)("div",{className:"fl-tmain",children:[(0,e.jsx)("b",{children:d.name}),(0,e.jsx)("span",{className:"fl-tp",children:d.promise}),(0,e.jsxs)("span",{className:"fl-tline",children:[(0,e.jsx)(oe,{steps:d.steps}),d.tools.length>0&&(0,e.jsx)("ul",{className:"gallery-tools","aria-label":"Tools",children:d.tools.map(b=>(0,e.jsxs)("li",{"data-tool":b.id,"data-state":b.state??"unknown",children:[(0,e.jsx)(ie,{name:b.id.replace(/-desktop$/,""),label:b.label,connected:b.state==="connected"}),(0,e.jsxs)("span",{children:[b.label,b.state==="open"?" (not connected)":""]})]},b.id))}),d.needsWords!==""&&(0,e.jsxs)("span",{children:["· ",d.needsWords]})]})]}),(0,e.jsx)("div",{className:"fl-ta",children:d.href!==null&&(0,e.jsx)(f,{sm:!0,href:d.href,"aria-label":`Use ${d.name}`,label:"Use this"})})]},d.id))]},t.id)),j("kits")&&(0,e.jsxs)("div",{"data-group":"kits",children:[(0,e.jsx)(V,{label:"With an agent",count:(0,e.jsx)(P,{n:s.kits.length})}),s.kits.map(t=>(0,e.jsxs)("div",{className:"fl-trow","data-kit":t.id,children:[(0,e.jsxs)("div",{className:"fl-tmain",children:[(0,e.jsx)("b",{children:t.name}),(0,e.jsx)("span",{className:"fl-tp",children:t.promise}),(0,e.jsx)("span",{className:"fl-tline",children:t.line})]}),(0,e.jsx)("div",{className:"fl-ta",children:t.href!==null&&(0,e.jsx)(f,{sm:!0,href:t.href,label:t.actionLabel})})]},t.id))]}),j("recipes")&&(0,e.jsxs)("div",{children:[(0,e.jsx)(V,{label:s.recipes.projectName===null?"One-time work":`One-time work in ${s.recipes.projectName}`,count:(0,e.jsx)(P,{n:s.recipes.rows.length})}),s.recipes.error!==null?(0,e.jsx)(M,{children:s.recipes.error}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{"data-group":"recipes",children:s.recipes.rows.map(t=>(0,e.jsxs)("div",{className:"fl-trow","data-recipe-card":"","data-recipe":t.id,children:[(0,e.jsxs)("div",{className:"fl-tmain",children:[(0,e.jsx)("b",{children:t.name}),(0,e.jsx)("span",{className:"fl-tp",children:t.description}),(0,e.jsx)("span",{className:"fl-tline",children:t.line})]}),(0,e.jsx)("div",{className:"fl-ta",children:t.href!==null&&(0,e.jsx)(f,{sm:!0,href:t.href,"aria-label":`Use ${t.name}`,label:"Use this"})})]},`${t.id}-${t.revision}`))}),(0,e.jsxs)("div",{className:"fl-recipe-more",children:[s.recipes.project===null?(0,e.jsx)(y,{children:"Open a project to use, save or import a recipe."}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{className:"k-acts fl-recipe-acts",children:(0,e.jsx)(f,{sm:!0,href:"/recipes/new",label:"Create a recipe"})}),(0,e.jsx)(q,{summary:"Import a shared recipe",children:(0,e.jsxs)(h,{action:"/recipes/import",className:"fl-recipe-import",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.recipes.revision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.recipes.project}),(0,e.jsx)(w,{label:"Recipe JSON",hint:"Paste exported recipe JSON. You review it in this project before any work is made.",children:({id:t})=>(0,e.jsx)(W,{id:t,name:"document",rows:6,required:!0,maxLength:32768,spellCheck:!1})}),(0,e.jsx)(z,{children:(0,e.jsx)(o,{type:"submit",label:"Review imported recipe"})})]})})]}),s.recipes.recent.length>0&&(0,e.jsx)(q,{summary:`Made from recipes lately (${s.recipes.recent.length})`,children:(0,e.jsx)("div",{className:"fl-recipe-recent",children:s.recipes.recent.map((t,d)=>(0,e.jsxs)("a",{href:t.href,children:[(0,e.jsx)("span",{children:t.name}),(0,e.jsx)("span",{className:"k-note",children:t.state})]},d))})})]})]})]}),j("starters")&&s.starters!==null&&(0,e.jsxs)("div",{children:[(0,e.jsx)(V,{label:`Starter flows for ${s.starters.projectName}`}),(0,e.jsx)("div",{"data-group":"starters",children:s.starters.rows.map(t=>(0,e.jsxs)("div",{id:`starter-${t.id}`,className:"fl-trow","data-starter":t.id,"data-suggested":String(t.id===s.starters.suggested&&t.onFlowId===null),children:[(0,e.jsxs)("div",{className:"fl-tmain",children:[(0,e.jsx)("b",{children:t.name}),(0,e.jsx)("span",{className:"fl-tp",children:t.summary}),(0,e.jsx)("span",{className:"fl-tline",children:t.onFlowId!==null?(0,e.jsx)(C,{word:"On",tone:"done"}):t.blocked!==null?(0,e.jsx)("span",{children:t.blocked}):(0,e.jsxs)("span",{children:[(0,e.jsx)("ul",{className:"fl-starter-does",children:t.does.map((d,b)=>(0,e.jsx)("li",{children:d},b))}),(0,e.jsx)("span",{className:"fl-starter-never",children:t.never})]})})]}),(0,e.jsx)("div",{className:"fl-ta",children:t.onFlowId!==null?(0,e.jsx)(f,{sm:!0,href:`/flows/${t.onFlowId}`,label:"Open flow"}):t.blocked===null&&s.starters.canSwitch&&(0,e.jsxs)(h,{action:"/settings/flows/on",children:[(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.starters.repo}),(0,e.jsx)("input",{type:"hidden",name:"starter",value:t.id}),(0,e.jsx)(o,{sm:!0,type:"submit","aria-label":`Switch on ${t.name}`,label:"Switch on"})]})})]},t.id))}),!s.starters.canSwitch&&s.starters.rows.some(t=>t.onFlowId===null)&&(0,e.jsx)(y,{children:"An approver switches these on."})]}),s.blankHref!==null&&(0,e.jsx)("p",{className:"k-note fl-blank",children:(0,e.jsx)("a",{href:s.blankHref,children:"Start from a blank flow"})})]})]})]}),s.canUse&&(0,e.jsx)(R,{children:(0,e.jsx)(o,{variant:"primary",type:"submit",form:"fl-ask-form",label:"Draft the flow"})})]})}function ue(){let[s,a]=(0,g.useState)("");return(0,e.jsx)(X,{proof:"tools-connect",value:s,onChange:a})}function hl({view:s}){let a=s.tools.filter(n=>n.state!=="connected"&&n.state!=="taken"),c={connected:"Connected",open:"Not connected",taken:"Added another way"},r=s.preview!==null;return(0,e.jsxs)("div",{className:"fl-use","data-kit-page":"","data-gallery-template":s.template.id,children:[(0,e.jsx)(L,{title:s.template.name,back:"/flows/new"}),(0,e.jsxs)(O,{children:[(0,e.jsx)(U,{title:s.template.name,back:["/flows/new","New flow"],meta:s.template.promise,same:!0}),s.problem!==null&&(0,e.jsx)(M,{children:s.problem}),s.said!==null&&(0,e.jsx)(A,{children:s.said}),(s.steps.length>0||s.needsWords!=="")&&(0,e.jsxs)("section",{className:"k-sec","aria-label":"Steps",children:[s.steps.length>0&&(0,e.jsx)(oe,{steps:s.steps}),s.needsWords!==""&&(0,e.jsx)(y,{children:s.needsWords})]}),s.tools.length>0&&(0,e.jsxs)("section",{className:"k-sec","aria-label":"Tools",children:[(0,e.jsx)("h3",{children:"Tools"}),(0,e.jsx)("div",{children:s.tools.map(n=>(0,e.jsxs)("div",{className:"fl-tool","data-tool":n.id,"data-state":String(n.state),children:[(0,e.jsxs)("p",{className:"fl-tool-h",children:[(0,e.jsx)(ie,{name:n.id.replace(/-desktop$/,""),label:n.label,connected:n.state==="connected"})," ",n.label," ",n.state!==null&&(0,e.jsx)(C,{word:c[n.state],tone:n.state==="connected"?"done":"",dot:n.state==="connected"})]}),n.state!=="connected"&&n.state!=="taken"&&s.canAct&&(0,e.jsxs)(h,{action:"/settings/tools/connect",children:[(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"shown",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"template",value:s.template.id}),(0,e.jsx)(y,{children:n.id==="figma-desktop"?"Open the Figma desktop app and turn on its Dev Mode MCP server in Preferences.":`You sign in on ${n.label}, then come back here.`}),(0,e.jsx)(ue,{}),(0,e.jsx)(z,{children:(0,e.jsx)(o,{type:"submit",name:"service",value:n.id,label:`Connect ${n.label}`})})]})]},n.id))})]}),(0,e.jsxs)(h,{action:`/flows/new/${s.template.id}`,"data-gallery-use":"",id:"fl-use-form",children:[(0,e.jsx)("input",{type:"hidden",name:"previewed",value:s.preview?.digest??""}),s.projects.length>1?(0,e.jsx)(w,{label:"Project",children:({id:n})=>(0,e.jsx)(T,{id:n,name:"repo",defaultValue:s.repo,wide:!0,items:s.projects.map(m=>[m.path,m.name])})}):(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),s.template.asks.map(n=>(0,e.jsx)(w,{label:n.label,...n.hint!==void 0?{hint:n.hint}:{},children:({id:m})=>n.key==="outdated"?(0,e.jsx)(T,{id:m,name:"outdated",defaultValue:n.value,wide:!0,items:me}):(0,e.jsx)($,{id:m,name:n.key,defaultValue:n.value,required:!0,maxLength:n.key==="command"?500:n.key==="team"?12:100,spellCheck:n.key==="command"||n.key==="team"?!1:void 0,autoCapitalize:n.key==="command"?"off":n.key==="team"?"characters":void 0})},n.key)),(0,e.jsx)(w,{label:"Name",children:({id:n})=>(0,e.jsx)($,{id:n,name:"name",defaultValue:s.name,maxLength:80})}),s.sendResult.show&&(0,e.jsxs)("label",{className:"fl-check",children:[(0,e.jsx)("input",{type:"checkbox",name:s.sendResult.key,value:"yes",defaultChecked:s.sendResult.checked,"data-send-result":""}),(0,e.jsxs)("span",{children:[s.sendResult.title,(0,e.jsx)("span",{className:"k-note",children:"When a card finishes, what was done comes to you in your chat apps."})]})]}),s.preview!==null&&(0,e.jsxs)("section",{className:"k-sec fl-will","aria-labelledby":"fl-will",children:[(0,e.jsx)("h3",{id:"fl-will",children:"What it will do"}),(0,e.jsx)("ul",{children:s.preview.does.map((n,m)=>(0,e.jsx)("li",{children:n},m))}),(0,e.jsx)("p",{className:"fl-never",children:s.preview.never}),a.filter(n=>n.zones.length>0).map(n=>(0,e.jsxs)("p",{className:"k-note","data-needs-tool":n.id,children:[n.zones.map(m=>`“${m}”`).join(" and ")," need",n.zones.length===1?"s":""," ",n.label,", which isn't connected."]},n.id)),s.tools.filter(n=>n.state==="taken"&&n.zones.length>0).map(n=>(0,e.jsxs)("p",{className:"k-note","data-tool-taken":n.id,children:[n.zones.map(m=>`“${m}”`).join(" and ")," use",n.zones.length===1?"s":""," ",n.label,", added another way."]},n.id)),s.preview.startsFrom.length===0?(0,e.jsx)(y,{children:"Cards start when you add them."}):s.preview.startsFrom.map((n,m)=>(0,e.jsxs)(y,{children:["Starts from: ",n]},m)),(0,e.jsx)(q,{summary:"Every step",children:(0,e.jsx)("ol",{children:s.preview.steps.map((n,m)=>(0,e.jsx)("li",{children:n.replace(/^\d+\.\s/,"")},m))})})]}),s.preview!==null&&s.preview.anyone&&(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsx)(w,{label:"Your password",hint:"It brings in items from anyone.",children:({id:n})=>(0,e.jsx)($,{id:n,name:"password",type:"password",autoComplete:"current-password"})})}),(0,e.jsxs)(z,{children:[r&&(0,e.jsx)(o,{variant:a.length>0?"outline":"primary",type:"submit",docked:!0,name:"intent",value:"create",label:"Create flow",...a.length>0?{"data-without-tools":""}:{}}),(0,e.jsx)(o,{variant:r?"outline":"primary",type:"submit",name:"intent",value:"preview",label:r?"Update preview":"Preview"})]}),r&&(0,e.jsx)(y,{children:s.preview.anyone?"Creating it asks for your password: it brings in items from anyone.":"Creating it needs no password."})]})]}),(0,e.jsx)(R,{children:(0,e.jsx)(o,{variant:"primary",type:"submit",form:"fl-use-form",name:"intent",value:r?"create":"preview",label:r?"Create flow":"Preview"})})]})}function ml({view:s}){return(0,e.jsxs)("div",{className:"fl-kit","data-kit-page":"","data-kit":s.kit.id,children:[(0,e.jsx)(L,{title:s.kit.name,back:s.backHref}),(0,e.jsxs)(O,{children:[(0,e.jsx)(U,{title:s.kit.name,back:[s.backHref,"New flow"],meta:s.kit.promise,same:!0}),s.problem!==null&&(0,e.jsx)(M,{children:s.problem}),s.said!==null&&(0,e.jsx)(A,{children:s.said}),(0,e.jsx)(se,{rows:[["Project",s.projectName],["Agent",s.kit.agentDesc],["Flow",s.kit.flowName],...s.kit.toolsWords===null?[]:[["Works with",s.kit.toolsWords]]]}),!s.installed&&(0,e.jsx)(y,{children:"Nothing goes out without you approving it."}),!s.installed&&s.canSetUp&&(0,e.jsxs)(h,{action:`/kits/${s.kit.id}/setup`,id:"fl-kit-setup",children:[(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)(z,{children:(0,e.jsx)(o,{variant:"primary",type:"submit",docked:!0,label:`Set up ${s.kit.name}`})})]}),s.steps.length>0&&(0,e.jsxs)("section",{className:"k-sec","aria-labelledby":"fl-kit-next",children:[(0,e.jsx)("h3",{id:"fl-kit-next",children:"Next steps"}),(0,e.jsx)("ol",{className:"fl-kit-steps",children:s.steps.map(a=>(0,e.jsxs)("li",{"data-step":a.id,"data-done":String(a.done),children:[a.done?(0,e.jsx)(K,{name:"check",small:!0}):(0,e.jsx)("span",{className:"fl-kit-ring","aria-hidden":"true"}),(0,e.jsx)("span",{className:"fl-kit-said",children:a.said}),a.done?a.href!==null&&(0,e.jsx)(f,{sm:!0,href:a.href,label:"Open"}):a.action==="sample"||a.action==="github"?s.canSetUp&&(0,e.jsxs)(h,{action:`/kits/${s.kit.id}/${a.action}`,children:[(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),a.action==="github"&&(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsx)($,{name:"password",type:"password",autoComplete:"current-password","aria-label":"Your password",placeholder:"Your password"})}),(0,e.jsx)(o,{sm:!0,type:"submit",label:a.action==="sample"?"Try it":"Bring them in"})]}):a.href!==null&&(0,e.jsx)(f,{sm:!0,href:a.href,label:a.action==="connect"?"Connect":"Set up"})]},a.id))})]})]}),!s.installed&&s.canSetUp&&(0,e.jsx)(R,{children:(0,e.jsx)(o,{variant:"primary",type:"submit",form:"fl-kit-setup",label:`Set up ${s.kit.name}`})})]})}function ul({view:s}){return(0,e.jsxs)("div",{className:"subagents","data-kit-page":"",children:[(0,e.jsx)(E,{title:"Subagents",back:"/settings/lead",right:(0,e.jsx)(f,{sm:!0,variant:"ghost",href:"/settings/lead",label:"Lead"})}),s.problem!==null&&(0,e.jsx)(M,{children:s.problem}),s.said!==null&&(0,e.jsx)(A,{children:s.said}),(0,e.jsxs)(y,{children:["Your lead's helpers. Each works within rules you write and asks you when they say to. The quickest start is a ",(0,e.jsx)("a",{className:"k-link",href:"/kits",children:"starter kit"}),"."]}),s.mates.length===0?(0,e.jsx)(y,{children:"No subagents yet."}):s.mates.map(a=>(0,e.jsx)("article",{className:"card","data-subagent":a.handle,children:(0,e.jsxs)("div",{className:"flow-row",children:[(0,e.jsx)("h2",{children:(0,e.jsx)("a",{href:`/settings/lead/subagents/${a.id}`,children:a.label})}),(0,e.jsxs)("span",{className:"flow-counts",children:[a.projectName," · ",a.state==="active"?"Working":"Paused"," · ",a.today," today",a.openQuestions>0?` · ${a.openQuestions} question${a.openQuestions===1?"":"s"} for you`:""]})]})},a.id)),s.canCreate&&s.projects.length>0&&(0,e.jsxs)("details",{className:"card",id:"add",open:s.mates.length===0||s.adding||void 0,children:[(0,e.jsx)("summary",{children:"Add subagent"}),(0,e.jsxs)(h,{action:"/settings/lead/subagents/new","data-new-subagent":"",children:[(0,e.jsx)(w,{label:"Start from",children:({id:a})=>(0,e.jsx)(T,{id:a,name:"template",wide:!0,items:[...s.templates.map(c=>[c.id,`${c.label}: ${c.about}`]),["blank","Blank: write its soul file yourself"]]})}),(0,e.jsx)(w,{label:"Name",children:({id:a})=>(0,e.jsx)($,{id:a,name:"name",maxLength:40,placeholder:"keep the template's name"})}),(0,e.jsx)(re,{projects:s.projects,current:s.projects[0]?.path??null,id:"subagent-repo"}),(0,e.jsx)(z,{children:(0,e.jsx)(o,{type:"submit",label:"Add subagent"})})]})]})]})}function xl({view:s}){let{mate:a}=s,c=s.problem?.includes("Codex backup")===!0,r=c&&s.problem?.startsWith("Enter your Toolroll password")===!0,[n,m]=(0,g.useState)(()=>{let l={};for(let t of s.tools.grants)for(let d of t.actions)l[`${t.tool}:${d.name}`]=d.use;return l}),j=l=>l.split(`
|
|
3
|
-
`).map((t,d)=>(0,e.jsxs)("span",{children:[d>0&&(0,e.jsx)("br",{}),t]},d));return(0,e.jsxs)("div",{className:"subagent-detail","data-kit-page":"",children:[(0,e.jsx)(E,{title:a.label,back:"/settings/lead/subagents",right:(0,e.jsx)(f,{sm:!0,variant:"ghost",href:"/settings/lead",label:"Lead"})}),s.problem!==null&&!c&&(0,e.jsx)(M,{children:s.problem}),s.said!==null&&(0,e.jsx)(A,{children:s.said}),(0,e.jsxs)(y,{children:[a.projectName," · ",a.state==="active"?"Working":"Paused: its decisions go to people"," · reports to ",a.manager]}),s.canManage&&(0,e.jsxs)("div",{className:"subagent-actions",children:[(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/state`,children:[(0,e.jsx)("input",{type:"hidden",name:"state",value:a.state==="active"?"paused":"active"}),(0,e.jsx)(o,{variant:a.state==="active"?"outline":"primary",type:"submit",label:a.state==="active"?`Pause ${a.name}`:`Resume ${a.name}`})]}),(0,e.jsx)(h,{action:`/settings/lead/subagents/${a.id}/summary`,children:(0,e.jsx)(o,{type:"submit",label:"Send today's summary"})})]}),s.questions.length>0&&(0,e.jsxs)("section",{children:[(0,e.jsx)("h2",{children:"Questions"}),s.questions.map(l=>(0,e.jsxs)("article",{className:"card subagent-question","data-question":l.id,...l.isSuggestion?{"data-suggestion":""}:{},children:[(0,e.jsxs)("p",{className:"meta",children:[l.isSuggestion?"Suggests a rule change":l.card===null?"About a card":(0,e.jsxs)(e.Fragment,{children:["About ",(0,e.jsx)("a",{href:`/flows/${l.card.flowId}?card=${l.card.cardId}`,children:l.card.title})]})," · ",(0,e.jsx)("time",{dateTime:l.createdAt,title:D(l.createdAt),children:S(l.createdAt)}),!l.mine&&` · for ${l.askedOf}`]}),(0,e.jsx)("p",{children:(0,e.jsx)("strong",{children:l.question})}),l.mine&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"question-options",children:l.options.map(t=>(0,e.jsxs)(h,{action:`/settings/lead/subagents/questions/${l.id}/answer`,children:[(0,e.jsx)("input",{type:"hidden",name:"choice",value:t.id}),l.isSuggestion&&t.id==="accept"&&(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsx)("input",{type:"password",name:"password",autoComplete:"current-password","aria-label":"Your password",placeholder:"Your password"})}),(0,e.jsx)(o,{type:"submit",label:t.label})]},t.id))}),(0,e.jsxs)(h,{action:`/settings/lead/subagents/questions/${l.id}/answer`,className:"question-reply",children:[(0,e.jsx)(w,{label:"Or answer in your words",children:({id:t})=>(0,e.jsx)(W,{id:t,name:"text",rows:2,maxLength:2e3})}),(0,e.jsx)(o,{type:"submit",label:"Answer"})]})]})]},l.id))]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"Today"}),(0,e.jsx)("p",{className:"subagent-summary",children:j(s.todaySummary)})]}),(0,e.jsxs)("details",{className:"card subagent-week",id:"week",open:!0,children:[(0,e.jsx)("summary",{children:"This week"}),(0,e.jsx)("p",{className:"subagent-week-said",children:j(s.week.summary)}),s.week.overrides.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h3",{children:"What you overrode"}),(0,e.jsx)("ul",{className:"subagent-overrides",children:s.week.overrides.map((l,t)=>(0,e.jsxs)("li",{children:[l.said,l.href!==null&&(0,e.jsxs)(e.Fragment,{children:[" · ",(0,e.jsx)("a",{href:l.href,children:"open"})]})," ",(0,e.jsx)("span",{className:"meta",children:(0,e.jsx)("time",{dateTime:l.at,title:D(l.at),children:S(l.at)})})]},t))})]}),s.week.undoable.length>0&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h3",{children:"Undo"}),(0,e.jsx)("ul",{className:"subagent-undo",children:s.week.undoable.map(l=>(0,e.jsxs)("li",{"data-undo":l.call,children:[(0,e.jsx)("span",{children:l.words})," ",(0,e.jsxs)("span",{className:"meta",children:[(0,e.jsx)("time",{dateTime:l.at,title:D(l.at),children:S(l.at)}),l.href!==null&&(0,e.jsxs)(e.Fragment,{children:[" · ",(0,e.jsx)("a",{href:l.href,children:"open"})]})]}),s.canManage&&(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/week`,children:[(0,e.jsx)("input",{type:"hidden",name:"id",value:String(l.call)}),(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"undo",label:`Undo with ${l.undo}`})]})]},l.call))})]}),s.canManage&&(0,e.jsx)(h,{action:`/settings/lead/subagents/${a.id}/week`,children:(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"send",label:"Send the week's report"})})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"Works on"}),s.zones.length===0?(0,e.jsxs)("p",{className:"meta",children:["Not on any zone yet. In a flow, choose ",a.name," under “Who decides” on a “Person decides” zone, or add a “Subagent handles it” zone."]}):(0,e.jsx)("ul",{children:s.zones.map((l,t)=>(0,e.jsxs)("li",{children:[(0,e.jsx)("a",{href:`/flows/${l.flowId}`,children:l.flowName})," · ",l.kind==="decides"?"decides":"handles"," ",l.title]},t))})]}),(s.tools.grants.length>0||s.canManage&&(s.tools.ungranted.length>0||s.tools.grants.length===0))&&(0,e.jsxs)("section",{className:"card subagent-tools",id:"tools",children:[(0,e.jsx)("h2",{children:"Tools"}),s.tools.grants.length===0&&(0,e.jsxs)("p",{className:"meta",children:[a.name," doesn't use any tools yet. Reading starts as “Do it”; everything else asks you first."]}),s.tools.grants.map(l=>(0,e.jsxs)("div",{className:"tool-grant","data-tool-grant":l.tool,children:[(0,e.jsx)("h3",{children:l.tool}),l.gone&&(0,e.jsxs)("p",{className:"problem",children:["This project doesn't have ",l.tool," any more, so ",a.name," can't use it."]}),s.canManage?(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/tools`,children:[(0,e.jsx)("input",{type:"hidden",name:"tool",value:l.tool}),l.actions.map(t=>{let d=n[`${l.tool}:${t.name}`]??t.use,b=`use-${l.tool}-${t.name}`.replace(/[^A-Za-z0-9_-]/g,"-");return(0,e.jsxs)("div",{className:"tool-rule","data-tool-action":t.name,children:[(0,e.jsxs)("label",{htmlFor:b,children:[(0,e.jsx)("strong",{children:t.name}),t.about!==""&&(0,e.jsx)("span",{className:"meta",children:t.about})]}),(0,e.jsx)("select",{id:b,name:`use.${t.name}`,value:d,onChange:v=>m(N=>({...N,[`${l.tool}:${t.name}`]:v.target.value})),children:he.filter(([v])=>v!=="limit"||t.numbers.length>0).map(([v,N])=>(0,e.jsx)("option",{value:v,children:N},v))}),t.numbers.length>0&&d==="limit"&&(0,e.jsxs)("span",{className:"tool-limit",style:{display:"flex"},children:["Ask first when"," ",(0,e.jsx)("select",{name:`field.${t.name}`,"aria-label":"The number the limit is on",defaultValue:t.limitField??t.numbers[0],children:t.numbers.map(v=>(0,e.jsx)("option",{value:v,children:v},v))})," ","is over"," ",(0,e.jsx)("input",{type:"number",name:`over.${t.name}`,min:"0",step:"any",defaultValue:t.limitOver,"aria-label":"The limit"})]})]},t.name)}),l.hasUndo&&(0,e.jsxs)("details",{className:"tool-undo",open:l.actions.some(t=>t.undo!=="")||void 0,children:[(0,e.jsx)("summary",{children:"Undo"}),(0,e.jsx)("p",{className:"meta",children:"When an action has an opposite, a person can press Undo on its receipts: the opposite is called with the same input."}),l.actions.filter(t=>!t.readOnly).map(t=>(0,e.jsxs)("label",{className:"tool-undo-row",children:[t.name," is undone by",(0,e.jsxs)("select",{name:`undo.${t.name}`,defaultValue:t.undo,children:[(0,e.jsx)("option",{value:"",children:"nothing"}),l.actions.filter(d=>d.name!==t.name).map(d=>(0,e.jsx)("option",{value:d.name,children:d.name},d.name))]})]},t.name))]}),(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsxs)("label",{children:["Your password ",(0,e.jsx)("span",{className:"meta",children:"only to let it do more on its own"}),(0,e.jsx)("input",{type:"password",name:"password",autoComplete:"current-password"})]})}),(0,e.jsxs)("div",{className:"tool-buttons",children:[(0,e.jsx)(o,{type:"submit",name:"op",value:"rules",label:"Save rules"}),(0,e.jsx)(o,{type:"submit",name:"op",value:"revoke",variant:"outline",label:`Stop using ${l.tool}`})]})]}):(0,e.jsx)("ul",{children:l.actions.map(t=>(0,e.jsxs)("li",{className:"tool-rule",children:[(0,e.jsxs)("span",{children:[(0,e.jsx)("strong",{children:t.name})," · ",t.words]}),t.about!==""&&(0,e.jsx)("span",{className:"meta",children:t.about})]},t.name))})]},l.tool)),s.canManage&&(s.tools.grants.length===0&&s.tools.ungranted.length===0?(0,e.jsxs)("p",{className:"meta",children:["This project has no tools yet. ",(0,e.jsx)("a",{href:s.tools.toolsPageHref,children:"Add one"}),", then let ",a.name," use it here."]}):s.tools.ungranted.length>0&&(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/tools`,className:"tool-add",children:[(0,e.jsx)("input",{type:"hidden",name:"op",value:"grant"}),(0,e.jsxs)("label",{children:["Let ",a.name," use",(0,e.jsx)("select",{name:"tool",children:s.tools.ungranted.map(l=>(0,e.jsxs)("option",{value:l.name,children:[l.name,l.about===""?"":` — ${l.about}`]},l.name))})]}),(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsxs)("label",{children:["Your password",(0,e.jsx)("input",{type:"password",name:"password",autoComplete:"current-password"})]})}),(0,e.jsx)(o,{type:"submit",label:"Add tool"})]}))]}),(0,e.jsxs)("section",{className:"card subagent-desk",id:"desk",children:[(0,e.jsx)("h2",{children:"Desk and routines"}),(0,e.jsxs)("p",{className:"meta",children:["Message ",a.name," by name in your chat app, like “@",a.handle," where's order 1042?”. It lands on"," ",s.desk.deskFlowId===null?"its desk":(0,e.jsxs)("a",{href:`/flows/${s.desk.deskFlowId}`,children:[a.name,"'s desk"]}),", and the answer comes back to you."]}),s.desk.routines.length>0&&(0,e.jsx)("ul",{className:"subagent-routines",children:s.desk.routines.map(l=>(0,e.jsxs)("li",{"data-routine":l.id,children:[(0,e.jsxs)("span",{children:[(0,e.jsx)("strong",{children:l.scheduleWords})," · ",l.text]}),(0,e.jsxs)("span",{className:"meta",children:[l.state==="paused"?"Paused":l.nextAt===null?"":(0,e.jsxs)(e.Fragment,{children:["Next ",(0,e.jsx)("time",{dateTime:l.nextAt,children:S(l.nextAt)})]}),l.lastAt!==null&&(0,e.jsxs)(e.Fragment,{children:[" · last ",(0,e.jsx)("time",{dateTime:l.lastAt,children:S(l.lastAt)}),l.lastOutcome===null?"":`: ${l.lastOutcome}`]})]}),s.canManage&&(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/routines`,className:"routine-buttons",children:[(0,e.jsx)("input",{type:"hidden",name:"id",value:String(l.id)}),(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"run",label:"Run now"}),(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"remove",label:"Remove"})]})]},l.id))}),s.canManage&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/routines`,className:"routine-add",children:[(0,e.jsx)("input",{type:"hidden",name:"op",value:"add"}),(0,e.jsxs)("label",{children:["When",(0,e.jsx)("input",{type:"text",name:"schedule",maxLength:80,placeholder:"weekdays 09:00",required:!0})]}),(0,e.jsxs)("label",{children:["What to do",(0,e.jsx)("input",{type:"text",name:"text",maxLength:200,placeholder:"Look up yesterday's refunds and tell me the total.",required:!0})]}),(0,e.jsx)(o,{type:"submit",label:"Add routine"})]}),(0,e.jsxs)("p",{className:"meta",children:["A routine puts a card on its desk on that schedule (“weekdays 09:00”, “daily 17:00”, “monday 09:00”, “every 2 hours”; times are this computer's, ",s.localZone,", unless you name one); the answer goes to ",a.manager,"."]})]})]}),(0,e.jsxs)("section",{className:"card subagent-memory",id:"memory",children:[(0,e.jsx)("h2",{children:"Memory"}),s.canManage&&(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/note`,className:"memory-tell",children:[(0,e.jsxs)("label",{className:"k-sr",htmlFor:"subagent-note",children:["Tell ",a.name," something"]}),(0,e.jsx)(W,{id:"subagent-note",name:"note",rows:2,maxLength:s.memory.maxChars,placeholder:"For example: this week, offer free shipping instead of a refund when you can."}),(0,e.jsx)(o,{type:"submit",label:`Tell ${a.name}`})]}),(s.memory.items.length>8||(s.memory.query??"")!=="")&&(0,e.jsxs)("form",{method:"get",action:`/settings/lead/subagents/${a.id}#memory`,className:"memory-search",role:"search",children:[(0,e.jsxs)("label",{className:"k-sr",htmlFor:"memory-q",children:["Search what ",a.name," remembers"]}),(0,e.jsx)($,{id:"memory-q",type:"search",name:"q",defaultValue:s.memory.query??"",placeholder:`Search what ${a.name} remembers`}),(0,e.jsx)(o,{type:"submit",label:"Search"})]}),s.memory.items.length===0?(0,e.jsx)("p",{className:"meta",children:(s.memory.query??"")!==""?`Nothing ${a.name} remembers matches that.`:`Nothing yet. What you tell ${a.name} is kept here, and it keeps short facts from the cards it works.`}):(0,e.jsx)("ul",{className:"subagent-memories",children:s.memory.items.map(l=>(0,e.jsxs)("li",{"data-memory":l.id,"data-source":l.source,children:[(0,e.jsx)("span",{children:l.text})," ",(0,e.jsxs)("span",{className:"meta",children:[l.source==="person"?`${l.createdBy} told it`:l.card===null?"it kept this":(0,e.jsxs)(e.Fragment,{children:["it kept this from ",(0,e.jsx)("a",{href:`/flows/${l.card.flowId}?card=${l.card.id}`,children:l.card.title.slice(0,60)})]})," · ",(0,e.jsx)("time",{dateTime:l.updatedAt,children:S(l.updatedAt)})]}),s.canManage&&(0,e.jsxs)("details",{className:"memory-edit",children:[(0,e.jsx)("summary",{children:"Edit"}),(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/memory`,children:[(0,e.jsx)("input",{type:"hidden",name:"id",value:String(l.id)}),(0,e.jsx)("label",{className:"k-sr",htmlFor:`memory-${l.id}`,children:"Memory"}),(0,e.jsx)(W,{id:`memory-${l.id}`,name:"text",rows:2,maxLength:s.memory.maxChars,defaultValue:l.text}),(0,e.jsxs)("div",{className:"memory-buttons",children:[(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"edit",label:"Save"}),(0,e.jsx)(o,{sm:!0,type:"submit",name:"op",value:"forget",label:"Forget"})]})]})]})]},l.id))}),s.memory.query===null&&s.memory.olderCount>0&&(0,e.jsxs)("p",{className:"meta",children:[s.memory.olderCount," older ",s.memory.olderCount===1?"memory":"memories",": search to find them."]})]}),(0,e.jsxs)("details",{className:"card",open:s.canManage||void 0,children:[(0,e.jsx)("summary",{children:"Soul file"}),(0,e.jsxs)("p",{className:"meta",children:["Who ",a.name," is and its rules, read every turn. Version ",a.version,s.latestVersion!==null&&(0,e.jsxs)(e.Fragment,{children:[" · saved by ",s.latestVersion.savedBy,", ",(0,e.jsx)("time",{dateTime:s.latestVersion.savedAt,children:S(s.latestVersion.savedAt)})]})," · ",(0,e.jsx)("a",{href:`/settings/lead/subagents/${a.id}/soul.md`,download:!0,children:"Download"})]}),s.canManage?(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/soul`,"data-soul-form":"",children:[(0,e.jsx)("label",{className:"k-sr",htmlFor:"subagent-soul",children:"Soul file"}),(0,e.jsx)("textarea",{id:"subagent-soul",name:"soul",rows:24,className:"k-mono",maxLength:12e3,spellCheck:!1,defaultValue:s.soulDraft??a.soul}),(0,e.jsx)(o,{type:"submit",label:"Save"})]}):(0,e.jsx)("pre",{className:"k-mono",children:a.soul})]}),(0,e.jsxs)("details",{className:"card",children:[(0,e.jsxs)("summary",{children:["What ",a.name," did"]}),s.events.length===0?(0,e.jsx)("p",{className:"meta",children:"Nothing yet."}):(0,e.jsx)("ul",{className:"subagent-activity",children:s.events.map((l,t)=>(0,e.jsxs)("li",{"data-event":l.kind,children:[l.said,l.cardHref!==null&&(0,e.jsxs)(e.Fragment,{children:[" · ",(0,e.jsx)("a",{href:l.cardHref,children:"open"})]})," ",(0,e.jsx)("span",{className:"meta",children:(0,e.jsx)("time",{dateTime:l.at,children:S(l.at)})})]},t))})]}),s.canManage&&(0,e.jsxs)("details",{className:"card",open:c||void 0,children:[(0,e.jsx)("summary",{children:"Settings"}),(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/settings`,children:[(0,e.jsxs)("label",{children:["Model",(0,e.jsx)("select",{name:"model",defaultValue:a.model,children:s.models.map(l=>(0,e.jsx)("option",{value:l,children:l==="default"?"The lead chat's model":l[0].toUpperCase()+l.slice(1)},l))})]}),(0,e.jsxs)("label",{children:["Turns a day, at most",(0,e.jsx)("input",{type:"number",name:"dailyTurns",min:1,max:2e3,defaultValue:a.dailyTurns})]}),(0,e.jsxs)("label",{children:["Reports to",(0,e.jsx)("select",{name:"manager",defaultValue:a.manager,children:s.approvers.map(l=>(0,e.jsx)("option",{value:l,children:l},l))})]}),(0,e.jsx)("input",{type:"hidden",name:"backupPresent",value:"1"}),(0,e.jsxs)("details",{className:"k-disclose",id:"backup",open:c||a.codexBackupModel!==null||void 0,children:[(0,e.jsxs)("summary",{children:["Codex backup · ",a.codexBackupModel===null?"Off":"On"]}),(0,e.jsx)("p",{className:"meta",children:"When Claude hits its limit or isn't installed, send this teammate's card, memory and tool results to Codex through your ChatGPT sign-in. Tool approvals stay the same."}),(0,e.jsx)(w,{label:"Codex model",hint:"Leave blank to turn off. Each Claude or Codex attempt counts toward the daily limit.",error:c&&!r?s.problem:null,children:({id:l})=>(0,e.jsx)($,{id:l,name:"codexBackupModel",defaultValue:s.backupDraft??a.codexBackupModel??"",autoComplete:"off",spellCheck:!1})}),(0,e.jsx)(I,{kind:"step-up",field:"password",children:(0,e.jsx)(w,{label:"Password to enable or change backup",error:r?s.problem:null,children:({id:l})=>(0,e.jsx)($,{id:l,name:"password",type:"password",autoComplete:"current-password"})})})]}),(0,e.jsx)(o,{type:"submit",label:"Save settings"})]}),(0,e.jsxs)(h,{action:`/settings/lead/subagents/${a.id}/state`,className:"danger-zone mt-3",children:[(0,e.jsx)("input",{type:"hidden",name:"state",value:"removed"}),(0,e.jsx)(o,{variant:"danger",type:"submit",label:`Remove ${a.name} from the team`})]})]})]})}function jl({view:s}){let{recipe:a}=s;return(0,e.jsxs)("div",{"data-kit-page":"",children:[(0,e.jsx)("a",{className:"meta",href:"/recipes",children:"← Your recipes"}),(0,e.jsxs)("div",{className:"recipe-heading",children:[(0,e.jsx)("p",{className:"recipe-kicker",children:s.saved?"Recipe saved · ready when you are":"Use a recipe"}),(0,e.jsx)("h1",{children:a.name}),(0,e.jsx)("p",{className:"hint",children:a.description||"Your saved instructions, ready to use again."})]}),s.problem!==null&&(0,e.jsx)("p",{role:"alert",className:"card recipe-error",children:s.problem}),(0,e.jsxs)(h,{action:"/recipes/prepare",className:"recipe-run card",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.projectRevision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"recipe",value:a.id}),(0,e.jsx)("input",{type:"hidden",name:"recipeRevision",value:String(a.revision)}),(0,e.jsx)("h2",{children:s.inputs.length>0?"What changes this time?":"Ready to go"}),s.inputs.map(c=>(0,e.jsxs)("label",{children:[c.label,(0,e.jsx)("textarea",{name:`answer-${c.key}`,rows:2,maxLength:500,required:!0,defaultValue:c.value})]},c.key)),s.inputs.length===0&&(0,e.jsx)("p",{children:"No setup to repeat. Preview the saved scope and create the work."}),(0,e.jsx)("p",{className:"meta",children:a.schedule===null?"Creates one task each time you use this recipe.":"Creates a new schedule with these answers fixed for every firing. Manage an existing schedule from Routines."}),(0,e.jsx)(o,{type:"submit",variant:"primary",label:"Preview this run →"}),(0,e.jsx)("p",{className:"meta",children:"Previewing starts no agents. Existing project approvals apply when you create work."})]}),(0,e.jsxs)("details",{className:"card",children:[(0,e.jsx)("summary",{children:"Saved instructions and boundaries"}),(0,e.jsx)("p",{className:"recap",children:a.goal}),(0,e.jsxs)("p",{className:"recap",children:["Leave alone: ",a.outOfScope??"No additional exclusions."]}),(0,e.jsxs)("p",{children:["Allowed paths: ",a.touches.length>0?a.touches.join(", "):"This project"]}),(0,e.jsx)("ul",{children:a.acceptanceStatements.map((c,r)=>(0,e.jsx)("li",{children:c},r))}),(0,e.jsx)("a",{href:`/recipes/start?recipe=${a.id}&revision=${a.revision}`,children:"Edit a copy of this recipe →"})]})]})}function bl({view:s}){let{initial:a}=s,[c,r]=(0,g.useState)(a.goal),[n,m]=(0,g.useState)(a.cadence),[j,l]=(0,g.useState)(a.repeat),[t,d]=(0,g.useState)(a.criteria),[b,v]=(0,g.useState)(a.questions),N=(0,g.useRef)(null),Y=p=>{if(!/^[a-z][a-z0-9_]{0,31}$/.test(p))return;let x=N.current,k=x?.selectionStart??c.length,i=x?.selectionEnd??c.length;r(`${c.slice(0,k)} {{${p}}} ${c.slice(i)}`),x?.focus()};return(0,e.jsxs)("div",{"data-kit-page":"",children:[(0,e.jsx)("a",{href:"/recipes",className:"meta",children:"← All recipes"}),(0,e.jsxs)("div",{className:"recipe-heading",children:[(0,e.jsx)("p",{className:"recipe-kicker",children:s.creator?"1 · Describe → 2 · Preview → 3 · Save":"1 · Choose → 2 · Customize → 3 · Preview"}),(0,e.jsx)("h1",{children:s.creator?"Create a reusable recipe":"Make this workflow yours"}),(0,e.jsxs)("p",{className:"hint",children:[s.projectName," · Choose the outcome, boundaries, and proof you want back."]})]}),s.problem!==null&&(0,e.jsx)("p",{role:"alert",className:"card recipe-error",children:s.problem}),(0,e.jsxs)(h,{action:"/recipes/preview",className:"recipe-editor",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.projectRevision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"source",value:s.source}),(0,e.jsx)("input",{type:"hidden",name:"sourceRevision",value:String(s.sourceRevision)}),(0,e.jsx)("input",{type:"hidden",name:"sourceFormat",value:s.sourceFormat}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"The outcome"}),(0,e.jsxs)("label",{children:[s.creator?"Recipe name":"Workflow name",(0,e.jsx)("input",{type:"text",name:"name",defaultValue:a.name,maxLength:200,required:!0})]}),(0,e.jsxs)("label",{children:["Short description",(0,e.jsx)("input",{type:"text",name:"description",defaultValue:a.description,maxLength:400})]}),(0,e.jsxs)("label",{children:["What should the agent do?",(0,e.jsx)("textarea",{ref:N,name:"goal",rows:5,maxLength:s.maxTextChars,required:!0,value:c,onChange:p=>r(p.target.value)})]}),(0,e.jsxs)("label",{children:["What should it leave alone?",(0,e.jsx)("textarea",{name:"not",rows:3,maxLength:s.maxTextChars,defaultValue:a.not})]}),(0,e.jsxs)("label",{children:["Allowed files or folders ",(0,e.jsx)("span",{className:"meta",children:"optional; one per line"}),(0,e.jsx)("textarea",{name:"touches",rows:2,placeholder:`src/
|
|
4
|
-
tests/`,defaultValue:a.touches})]}),(0,e.jsx)("p",{className:"meta",children:"Blank allows work across this project. Add paths to keep the workflow focused."})]}),(0,e.jsxs)("details",{className:"card",open:b.some(p=>p.key!==""||p.label!=="")||void 0,children:[(0,e.jsxs)("summary",{children:["Ask something each time ",(0,e.jsx)("span",{className:"meta",children:"optional"})]}),(0,e.jsxs)("p",{className:"hint",children:["For example: “Test ","{{module}}"," and cover ","{{scenario}}",".” Add a question for each placeholder. People answer these when they use the recipe; the saved instructions stay the same."]}),(0,e.jsx)("p",{className:"meta",children:"Use answers in the name, instructions, exclusions, or success checks. Keep allowed paths and check commands fixed. Don’t ask for passwords or keys."}),(0,e.jsx)("div",{"data-recipe-questions":"",children:b.map((p,x)=>(0,e.jsxs)("fieldset",{className:"recipe-question",children:[(0,e.jsxs)("legend",{children:["Question ",x+1]}),(0,e.jsxs)("div",{className:"recipe-options",children:[(0,e.jsxs)("label",{children:["Short key",(0,e.jsx)("input",{type:"text",name:`input-${x}-key`,value:p.key,maxLength:32,placeholder:"module",pattern:"[a-z][a-z0-9_]{0,31}",onChange:k=>{let i=k.target.value;v(u=>u.map((F,H)=>H===x?{...F,key:i}:F))}})]}),(0,e.jsxs)("label",{children:["What should we ask?",(0,e.jsx)("input",{type:"text",name:`input-${x}-label`,value:p.label,maxLength:80,placeholder:"Which module should we work on?",onChange:k=>{let i=k.target.value;v(u=>u.map((F,H)=>H===x?{...F,label:i}:F))}})]})]}),(0,e.jsxs)("label",{children:["Default answer ",(0,e.jsx)("span",{className:"meta",children:"optional"}),(0,e.jsx)("input",{type:"text",name:`input-${x}-default`,defaultValue:p.defaultValue,maxLength:500})]}),(0,e.jsxs)("p",{className:"meta",children:["Use ",(0,e.jsx)("code",{"data-question-token":"",children:`{{${p.key||"module"}}}`})," in your instructions or a success check. Clear this row and its placeholders to remove the question."]}),(0,e.jsx)(o,{sm:!0,label:"Insert into instructions",onClick:()=>Y(p.key)})]},x))}),b.length<s.maxQuestions&&(0,e.jsx)(o,{sm:!0,label:"Add a question",onClick:()=>v(p=>[...p,{key:"",label:"",defaultValue:""}])})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"What does success look like?"}),(0,e.jsx)("p",{className:"hint",children:"Give each outcome the evidence you want to see. The workflow checks these before calling the work done."}),(0,e.jsx)("div",{"data-recipe-criteria":"",children:t.map((p,x)=>(0,e.jsxs)("fieldset",{className:"recipe-criterion",children:[(0,e.jsx)("legend",{children:x===0?"Success check 1":`Success check ${x+1} (optional)`}),(0,e.jsx)("input",{type:"hidden",name:`criterion-${x}-id`,value:p.id}),(0,e.jsxs)("label",{children:["What should be true?",(0,e.jsx)("textarea",{name:`criterion-${x}-statement`,rows:2,maxLength:300,defaultValue:p.statement})]}),(0,e.jsx)("div",{className:"recipe-evidence",children:ce.map(([k,i])=>(0,e.jsxs)("label",{children:[(0,e.jsx)("input",{type:"checkbox",name:`criterion-${x}-evidence`,value:k,defaultChecked:p.evidence.includes(k)}),i]},k))}),(0,e.jsxs)("label",{children:["How to check it ",(0,e.jsx)("span",{className:"meta",children:"optional; command or review instructions"}),(0,e.jsx)("input",{type:"text",name:`criterion-${x}-how`,defaultValue:p.how,maxLength:500})]})]},p.id))}),t.length<s.maxCriteria&&(0,e.jsx)(o,{sm:!0,label:"Add another success check",onClick:()=>d(p=>[...p,{id:`c${p.length+1}`,statement:"",evidence:["check"],how:""}])})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"How it should run"}),(0,e.jsxs)("div",{className:"recipe-options",children:[(0,e.jsxs)("label",{children:["Result",(0,e.jsxs)("select",{name:"deliverable",defaultValue:a.deliverable,children:[(0,e.jsx)("option",{value:"branch",children:"Code change with evidence"}),(0,e.jsx)("option",{value:"report",children:"Report without code changes"})]})]}),(0,e.jsxs)("label",{children:["Planning",(0,e.jsxs)("select",{name:"planning",defaultValue:a.planning,children:[(0,e.jsx)("option",{value:"auto",children:"Plan when helpful"}),(0,e.jsx)("option",{value:"required",children:"Always plan first"}),(0,e.jsx)("option",{value:"skip",children:"Use this scope directly"})]})]})]}),(0,e.jsx)("p",{className:"meta",children:"Report work investigates directly. Repeating work files the same scope each time; plan-first workflows run once."}),(0,e.jsxs)("label",{children:["Frequency",(0,e.jsxs)("select",{name:"cadence","data-recipe-cadence":"",value:n,onChange:p=>m(p.target.value==="repeat"?"repeat":"once"),children:[(0,e.jsx)("option",{value:"once",children:"Run once"}),(0,e.jsx)("option",{value:"repeat",children:"Repeat on a schedule"})]})]}),(0,e.jsxs)("div",{"data-recipe-recurring":"",hidden:n!=="repeat",children:[(0,e.jsxs)("fieldset",{"data-schedule-editor":"",children:[(0,e.jsx)("legend",{children:"When to run"}),(0,e.jsxs)("label",{children:["Repeat",(0,e.jsxs)("select",{name:"repeat",value:j,onChange:p=>l(p.target.value),children:[(0,e.jsx)("option",{value:"daily",children:"Daily"}),(0,e.jsx)("option",{value:"weekly",children:"Weekly"}),(0,e.jsx)("option",{value:"custom",children:"Custom interval"})]})]}),(0,e.jsx)("div",{"data-schedule-kind":"weekly",hidden:j!=="weekly",children:(0,e.jsxs)("label",{children:["Day",(0,e.jsx)("select",{name:"weekday",disabled:n!=="repeat"||j!=="weekly",defaultValue:a.weekday,children:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map((p,x)=>(0,e.jsx)("option",{value:String(x),children:p},x))})]})}),(0,e.jsxs)("div",{"data-schedule-kind":"calendar",hidden:j==="custom",children:[(0,e.jsxs)("label",{children:["Time",(0,e.jsx)("input",{type:"time",name:"time",disabled:n!=="repeat"||j==="custom",defaultValue:a.time})]}),(0,e.jsxs)("label",{children:["Timezone",(0,e.jsx)("input",{type:"text",name:"timezone",disabled:n!=="repeat"||j==="custom",defaultValue:a.timezone,autoComplete:"off",placeholder:"America/Los_Angeles"})]}),(0,e.jsx)("p",{className:"meta",children:"Daily and weekly times follow this timezone. A skipped clock time skips that occurrence; a repeated time runs once."})]}),(0,e.jsxs)("div",{"data-schedule-kind":"custom",hidden:j!=="custom",children:[(0,e.jsxs)("label",{children:["Every",(0,e.jsx)("input",{type:"number",name:"interval",min:1,disabled:n!=="repeat"||j!=="custom",defaultValue:a.interval})]}),(0,e.jsxs)("label",{children:["Unit",(0,e.jsxs)("select",{name:"interval-unit",disabled:n!=="repeat"||j!=="custom",defaultValue:a.intervalUnit,children:[(0,e.jsx)("option",{value:"minutes",children:"minutes"}),(0,e.jsx)("option",{value:"hours",children:"hours"}),(0,e.jsx)("option",{value:"days",children:"days"})]})]}),(0,e.jsx)("p",{className:"meta",children:"Intervals range from 5 minutes to 7 days."})]})]}),(0,e.jsxs)("label",{children:["Weekly spending limit ",(0,e.jsx)("span",{className:"meta",children:"optional, USD"}),(0,e.jsx)("input",{type:"number",name:"ceiling",min:"0.01",step:"0.01",disabled:n!=="repeat",defaultValue:a.ceiling})]}),(0,e.jsx)("p",{className:"meta",children:"One instance at a time. A spending limit requires an agent that reports dollar costs; approval checks this."})]})]}),(0,e.jsxs)("div",{className:"sticky-actions",children:[(0,e.jsx)(o,{variant:"primary",type:"submit",name:"purpose",value:s.creator?"recipe":"workflow",label:s.creator?"Preview recipe →":"Preview workflow →"}),!s.creator&&(0,e.jsx)(o,{type:"submit",name:"purpose",value:"recipe",label:"Preview recipe to save"}),(0,e.jsx)("p",{className:"meta",children:s.creator?"Save the instructions once. You can use the recipe whenever this work comes up.":"Previewing runs no agents. You’ll see the approval and scheduling steps next."})]})]})]})}function vl({view:s}){let{document:a}=s,c=r=>r.map(n=>ce.find(([m])=>m===n)?.[1]??n).join(" · ");return s.mode==="recipe"?(0,e.jsxs)("div",{"data-kit-page":"",children:[(0,e.jsx)("a",{className:"meta",href:`/recipes/edit?preview=${s.token}&purpose=recipe`,children:"← Edit recipe"}),(0,e.jsxs)("div",{className:"recipe-heading",children:[(0,e.jsx)("p",{className:"recipe-kicker",children:"2 · Preview your recipe"}),(0,e.jsx)("h1",{children:a.name}),(0,e.jsx)("p",{className:"hint",children:a.description||"A reusable starting point for work you do often."})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"When someone uses this recipe"}),s.inputs.length>0?(0,e.jsx)("ol",{children:s.inputs.map(r=>(0,e.jsxs)("li",{children:[(0,e.jsx)("strong",{children:r.label}),(0,e.jsxs)("p",{className:"meta",children:[`{{${r.key}}}`,r.defaultValue?` · Default: ${r.defaultValue}`:" · Answer required each time"]})]},r.key))}):(0,e.jsx)("p",{children:"No questions to answer. The saved scope is ready to preview and use."}),(0,e.jsx)("p",{children:"Each use previews the exact work before creating it. The project’s approval and recovery settings still apply."})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"Saved instructions"}),(0,e.jsx)("p",{className:"recap",children:a.goal}),(0,e.jsx)("h3",{children:"Leave alone"}),(0,e.jsx)("p",{className:"recap",children:a.outOfScope??"No additional exclusions."}),(0,e.jsx)("h3",{children:"Allowed paths"}),(0,e.jsx)("p",{children:a.touches.length>0?a.touches.join(", "):"This project"}),(0,e.jsx)("h3",{children:"Success checks"}),(0,e.jsx)("ul",{children:a.acceptance.map((r,n)=>(0,e.jsxs)("li",{children:[r.statement,(0,e.jsxs)("p",{className:"meta",children:[c(r.evidence),r.how?` · ${r.how}`:""]})]},n))}),(0,e.jsxs)("p",{className:"meta",children:[a.deliverable==="report"?"Report":"Code change"," · ",a.schedule===null?"Run once":a.schedule," · ",a.planning==="required"?"Plan first":a.planning==="auto"?"Plan when helpful":"Use the approved scope directly",a.costCeilingUsd===null?"":` · $${a.costCeilingUsd} weekly limit`]})]}),(0,e.jsxs)("section",{className:"card recipe-launch",children:[(0,e.jsxs)("div",{children:[s.saved!==null?(0,e.jsx)("a",{className:"new-task",href:`/recipes/run?recipe=${s.saved.id}&revision=${s.saved.revision}`,children:"Use recipe →"}):(0,e.jsxs)(h,{action:"/recipes/save",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.projectRevision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"preview",value:s.token}),(0,e.jsx)("input",{type:"hidden",name:"next",value:"use"}),(0,e.jsx)(o,{variant:"primary",type:"submit",label:"Save recipe"})]}),(0,e.jsx)("p",{className:"meta",children:"Saving creates no work. Everyone with project access can reuse this copy."})]}),(0,e.jsx)("a",{href:`/recipes/export?preview=${s.token}`,children:"Export recipe JSON"})]})]}):(0,e.jsxs)("div",{"data-kit-page":"",children:[(0,e.jsx)("a",{href:`/recipes/edit?preview=${s.token}`,className:"meta",children:"← Edit this workflow"}),(0,e.jsxs)("div",{className:"recipe-heading",children:[(0,e.jsx)("p",{className:"recipe-kicker",children:"3 · Preview"}),(0,e.jsx)("h1",{children:a.name}),(0,e.jsx)("p",{className:"hint",children:a.description})]}),(0,e.jsxs)("div",{className:"recipe-preview-grid",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"What will happen"}),(0,e.jsx)("ol",{className:"recipe-steps",children:s.steps.map((r,n)=>(0,e.jsxs)("li",{children:[(0,e.jsx)("strong",{children:r.title}),(0,e.jsx)("p",{children:r.detail})]},n))})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"The agreed work"}),(0,e.jsx)("p",{className:"recap",children:a.goal}),(0,e.jsx)("h3",{children:"Leave alone"}),(0,e.jsx)("p",{className:"recap",children:a.outOfScope??"No additional exclusions."}),(0,e.jsx)("h3",{children:"Allowed paths"}),(0,e.jsx)("p",{children:a.touches.length>0?a.touches.join(", "):"This project"}),(0,e.jsx)("h3",{children:"Success checks"}),(0,e.jsx)("ul",{children:a.acceptance.map((r,n)=>(0,e.jsxs)("li",{children:[(0,e.jsx)("strong",{children:r.statement}),(0,e.jsxs)("p",{className:"meta",children:[c(r.evidence),r.how?` · ${r.how}`:""]})]},n))})]})]}),(0,e.jsxs)("aside",{children:[(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"Before it starts"}),s.readiness.map((r,n)=>(0,e.jsxs)("p",{children:[(0,e.jsx)("strong",{children:r.title}),(0,e.jsx)("br",{}),(0,e.jsxs)("span",{className:"meta",children:[r.detail,r.href!==void 0&&(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("a",{href:r.href,children:"Open settings →"})]})]})]},n)),(0,e.jsx)("p",{className:"meta",children:"These checks describe current setup. Agent availability and approval are checked again when work starts."})]}),(0,e.jsxs)("section",{className:"card",children:[(0,e.jsx)("h2",{children:"Schedule & control"}),(0,e.jsx)("p",{children:s.scheduleWords}),(0,e.jsx)("p",{children:a.costCeilingUsd===null?"Uses existing project and agent budget controls.":`Up to $${a.costCeilingUsd.toFixed(2)} per rolling seven days.`}),(0,e.jsx)("p",{children:a.schedule!==null?"Approve the routine once on the next screen. Pause it any time from scheduled work.":s.auto?"Your signed project policy will be evaluated when you create this workflow.":"Review and approve on the task page. You can stop or resume there."})]})]})]}),(0,e.jsxs)("div",{className:"card recipe-launch",children:[(0,e.jsxs)("div",{children:[s.targetHref!==null?(0,e.jsx)("a",{className:"new-task",href:s.targetHref,children:"Open created workflow →"}):(0,e.jsxs)(h,{action:"/recipes/launch",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.projectRevision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"preview",value:s.token}),(0,e.jsx)(o,{variant:"primary",type:"submit",label:a.schedule!==null?"Create scheduled workflow":s.auto?"Create workflow":"Create task for approval"})]}),(0,e.jsxs)("p",{className:"meta",children:[a.schedule!==null?"Nothing repeats until you turn the schedule on.":"A matching signed policy may start work automatically."," Creating this workflow twice returns the same work."]})]}),(0,e.jsxs)("div",{children:[s.saved!==null?(0,e.jsx)("a",{href:`/recipes/start?recipe=${s.saved.id}&revision=${s.saved.revision}`,children:"Recipe saved · reuse it →"}):(0,e.jsxs)(h,{action:"/recipes/save",children:[(0,e.jsx)("input",{type:"hidden",name:"projectRevision",value:String(s.projectRevision)}),(0,e.jsx)("input",{type:"hidden",name:"repo",value:s.repo}),(0,e.jsx)("input",{type:"hidden",name:"preview",value:s.token}),(0,e.jsx)(o,{type:"submit",label:"Save as a project recipe"})]}),(0,e.jsx)("a",{href:`/recipes/export?preview=${s.token}`,children:"Export recipe JSON"}),(0,e.jsx)("p",{className:"meta",children:"Save or export without running anything. Sharing includes the work definition, never project access or approvals."})]})]})]})}export{dl as FlowImportView,ol as FlowsListView,hl as GalleryUseView,ml as KitView,pl as NewFlowView,bl as RecipeEditorView,vl as RecipePreviewView,jl as RecipeRunView,xl as SubagentDetailView,ul as SubagentsListView};
|
|
Binary file
|