wizards 0.2.33 → 0.2.35

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.
Files changed (44) hide show
  1. package/apps/web/dist/assets/{Account-DoBENv2J.js → Account-C4ntAWHo.js} +1 -1
  2. package/apps/web/dist/assets/{ChangelogDialog-D_a-50dd.js → ChangelogDialog-CfkOQYX6.js} +1 -1
  3. package/apps/web/dist/assets/{CreditsDialog-DZaYayDL.js → CreditsDialog-CiP1Mkdh.js} +1 -1
  4. package/apps/web/dist/assets/{EditorPage-B5CnSoeU.js → EditorPage-DqLg30iB.js} +1 -1
  5. package/apps/web/dist/assets/{FlowPreview-CrfwITiJ.js → FlowPreview-rtZjYO-k.js} +1 -1
  6. package/apps/web/dist/assets/{Harness-DxuzPSzJ.js → Harness-BrnUwhLT.js} +1 -1
  7. package/apps/web/dist/assets/{HomePage-DugTpas_.js → HomePage-CiVC6VJA.js} +1 -1
  8. package/apps/web/dist/assets/{ImportWizard-hVYpY1mj.js → ImportWizard-DVUZg6by.js} +1 -1
  9. package/apps/web/dist/assets/{LocalRuntime-D0L3FtDm.js → LocalRuntime-BHbm81e0.js} +1 -1
  10. package/apps/web/dist/assets/{NewWizardPage-DFTdNRsX.js → NewWizardPage-BqKjMnMW.js} +2 -2
  11. package/apps/web/dist/assets/{ProjectPage-WIHBuHQV.js → ProjectPage-CiTSx_dp.js} +1 -1
  12. package/apps/web/dist/assets/{PublicRunner-DTmJ9EH4.js → PublicRunner-ByQclkAB.js} +1 -1
  13. package/apps/web/dist/assets/{RunDrawer-ttQUshZU.js → RunDrawer-DiEiJl0S.js} +1 -1
  14. package/apps/web/dist/assets/{RunnerView-BhiFqDrn.js → RunnerView-ChOOf81e.js} +1 -1
  15. package/apps/web/dist/assets/{SettingsPage-xjsNjJ78.js → SettingsPage-BEKz4OIw.js} +1 -1
  16. package/apps/web/dist/assets/{SetupPage-DhkkLaOp.js → SetupPage-BLGp1fZR.js} +1 -1
  17. package/apps/web/dist/assets/{SharePage-CM6L7Z26.js → SharePage-jyczm9ga.js} +1 -1
  18. package/apps/web/dist/assets/arrow-right-s2iM-FdV.js +1 -0
  19. package/apps/web/dist/assets/changelog-C-hnB2ef.js +1 -0
  20. package/apps/web/dist/assets/{circle-alert-Czg98m49.js → circle-alert-D-HLBo3u.js} +1 -1
  21. package/apps/web/dist/assets/{definition-DMIWA8dM.js → definition-Cx9vPl5g.js} +1 -1
  22. package/apps/web/dist/assets/{esm-NnqfyT_X.js → esm-WsXAE_e1.js} +1 -1
  23. package/apps/web/dist/assets/{external-link-CbxUCKS8.js → external-link-DyiVuS6H.js} +1 -1
  24. package/apps/web/dist/assets/{image-BuCJ3Peh.js → image-BXLu-ZNk.js} +1 -1
  25. package/apps/web/dist/assets/{index-KVvpYi_r.js → index-fV8e92PG.js} +4 -4
  26. package/apps/web/dist/assets/{lock-B_LTwWO5.js → lock-Dbw9GSUA.js} +1 -1
  27. package/apps/web/dist/assets/{meta-DiSekcZt.js → meta-CEXPhCuW.js} +1 -1
  28. package/apps/web/dist/assets/{pen-line-D0OKCmpB.js → pen-line-DfFA2h8J.js} +1 -1
  29. package/apps/web/dist/assets/{refresh-cw-LyAykaPl.js → refresh-cw-CETp19YT.js} +1 -1
  30. package/apps/web/dist/assets/{settings-menu-NtPzTC97.js → settings-menu-D0gNWFmn.js} +1 -1
  31. package/apps/web/dist/assets/{star-C9ADb1bK.js → star-D2JV1Xb1.js} +1 -1
  32. package/apps/web/dist/assets/{surface-CywgBXMy.js → surface-SFrZF4HR.js} +1 -1
  33. package/apps/web/dist/assets/{trash-CGJ09WWJ.js → trash-uTp8IUFS.js} +1 -1
  34. package/apps/web/dist/assets/ui-BjgTkixF.js +9 -0
  35. package/apps/web/dist/assets/{upload-Dl_w8YOa.js → upload-fEbmHcYn.js} +1 -1
  36. package/apps/web/dist/assets/{video-DDj7eGwZ.js → video-BryKdAVn.js} +1 -1
  37. package/apps/web/dist/assets/{volume-2-dg1-eKM_.js → volume-2-DkMcjqNb.js} +1 -1
  38. package/apps/web/dist/assets/{wand-sparkles-Bmg2IFLf.js → wand-sparkles-B4FOO-89.js} +1 -1
  39. package/apps/web/dist/index.html +3 -3
  40. package/apps/web/dist/mcp/flow.html +1 -1
  41. package/package.json +1 -1
  42. package/apps/web/dist/assets/arrow-right-CXu8-CPy.js +0 -1
  43. package/apps/web/dist/assets/changelog-DCBBW4Ql.js +0 -1
  44. package/apps/web/dist/assets/ui-DyazyiaK.js +0 -9
@@ -0,0 +1 @@
1
+ var e=JSON.parse(`[{"version":"v0.2.35","timestamp":1791549383,"commits":[{"id":"18d894a","message":"a local studio's sign-in page names the command that lets a browser in, \`wizards open\`, instead of the link printed at start – a runtime started as a service prints nothing to a terminal","group":"Fixed","scope":"studio","breaking":false}]},{"version":"v0.2.34","timestamp":1791548294,"commits":[{"id":"381c822","message":"someone signed in at engenty.ai who opens the studio is signed in to it by itself instead of being sent back to the landing page – the studio's start page sees the account's engenty_signed_in cookie and starts the sign-in, which goes through without a question; only visitors without an account go to the landing page","group":"Fixed","scope":"studio","breaking":false}]},{"version":"v0.2.33","timestamp":1791547315,"commits":[{"id":"62b3675","message":"\`wizards\` on a terminal opens a menu – it shows what runs (address, pid, since when), whether it starts at login and whether a newer version is out, and offers start, start here, open the studio, restart, stop, update, start at login, connect AI apps, status, setup and help; with options or without a terminal it starts as before. New: \`wizards restart\` (one the command started starts again where it ran, any other is stopped and started as a service) and \`wizards start --service\` / \`-s\` (detached from the terminal, the command returns, output in logs/runtime.log); after an update the command says \`wizards restart\`","group":"Added","scope":"cli","breaking":false}]},{"version":"v0.2.32","timestamp":1791510190,"commits":[{"id":"f1f5374","message":"the flow widget keeps a usable size and never goes blank – it is at least 360px tall from its first paint (the page root no longer holds the frame at full height, so a host can also shrink it), a runner that breaks leaves the diagram and panel instead of an empty frame, and the whole widget shows a short message if it cannot render at all; the docs say the runner reaches the runtime with the run's ticket and note that Cursor folds the widget into its \\"Worked for …\\" group (a known Cursor bug)","group":"Fixed","scope":"mcp-app","breaking":false}]},{"version":"v0.2.31","timestamp":1791496763,"commits":[{"id":"73dff59","message":"pictures from the web show in what a step makes – a generated page may load nothing from the network, so an <img src=\\"https://…\\"> a model wrote or a photo URL in a widget's data (a listing's photos, a product's cover; by key or extension) stayed blank; now each is fetched once when the step runs through the public-only guard (image/* only, 8 MB, 10 s, up to 40 per step), kept as a web-image asset of the run and referred to as asset://ID, inlined wherever the page is shown or rendered to PNG, PDF or film; a picture that cannot be fetched is left as it was; the authoring guide says so","group":"Fixed","scope":"runtime","breaking":false}]},{"version":"v0.2.30","timestamp":1791496576,"commits":[{"id":"e580e33","message":"Pro modules on a local install – the closed plugins the linked account's plan includes come from its Manage-App (/v1/modules) as zips signed for the release, checked against the public key the runtime ships with before anything is unpacked, and installed into <DATA_DIR>/pro-modules apart from the person's plugins; they load only while the entitlement the Manage-App signed lists them, belongs to the linked account and has not ended (a week offline), and only in the release they were built for, are fetched anew for a new release or build, and go off with the plan or the account while their files and tables stay; Settings → Plugins has a Pro modules section (install, update, remove, check the plan) and stays reachable for a linked account without plugins; concurrent refreshes of the account token share one request, so the start-up checks no longer refuse each other","group":"Added","scope":"plugins","breaking":false},{"id":"a2223b0","message":"plan for Pro modules in a local install – signed packages downloaded with the linked account, a signed entitlement that turns them on and off with the plan, what can and cannot be protected on the person's machine","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.2.29","timestamp":1791489398,"commits":[{"id":"ff33bd7","message":"an AI step can call one plugin tool without a model – call { tool, input } with the inputs filled from earlier answers (a whole number or true/false passed as one, an empty one left out), checked against the tool's schema, the answer kept as the step's json output (output.fields name the keys later steps read); it costs no credits, needs no model and answers as fast as the tool; the authoring guide and the plugin docs show it for free appointment times","group":"Added","scope":"engine","breaking":false}]},{"version":"v0.2.28","timestamp":1791485787,"commits":[{"id":"adfb75b","message":"the catalog knows which plugins a wizard needs and the plan that has them – an entry carries plugins (read from its tools named <plugin>.<tool>), plan (free, or pro as soon as it uses a plugin) and the plugin starter it stands for; searching filters by plan with its counts; a runtime with the plugin lists the plugin's own starter and leaves out the entry for it, one without marks the entry with what it needs and refuses to start it; the studio shows Pro on such templates, a Paket filter beside the others and what is missing, list_starters says needsPro","group":"Added","scope":"marketplace","breaking":false}]},{"version":"v0.2.27","timestamp":1791481636,"commits":[{"id":"c8fe868","message":"a time picker in the studio's look – a field that opens an hour and a minute column below it, arrow keys move the time by its step, compact without the clock for narrow rows; the plugin docs list it with the page menu and the composer","group":"Added","scope":"ui","breaking":false},{"id":"57339da","message":"what a booking plugin needs from the runtime – a plugin connects accounts of the space itself (server.connections: start, list, call, remove, with the shared sign-in callback and token refresh), brings starters to the marketplace (registerStarter), learns whether a step runs as a test (step.mode) and in which wizard, and tells the space assistant what its own page holds (registerAssistantContext), where the assistant now stands docked (studio.Assistant) and the page names its place in the top bar's trail (studio.useCrumbs); a page field of kind slot offers free times as chips by day; the studio has a date picker and a date range picker, a composer shared by every chat (a pill on one line, the buttons level with the text, a menu beside the mic to choose the microphone and to hold to record) that floats docked over a blurred band clear of a phone's home bar, and a page menu that slides one level down at the side and becomes tabs on a phone; Google Calendar and Outlook events take a location, Google's an invitation to send and Outlook lists every event with its free/busy; the first slash of the trail stands as close to the wordmark as the others","group":"Added","scope":"plugins","breaking":false}]},{"version":"v0.2.26","timestamp":1791464989,"commits":[{"id":"0b3552e","message":"the wizard editor has a Memory tab – the wizard's part of the space data, the notes its AI steps keep with the pages tool and the tables of its shared lists, a short list that opens each in the space's own editor, with a new note at hand; a test run reads the memory but writes into a copy of its own in the run, which goes with it; files dropped on the Files tab are uploaded and files dropped on the conversation are attached to the next message, each with a drop sign over the pane; the Files and Memory explanations sit small at the foot of their pane; holding to delete takes 1.2 seconds; costs say credits instead of cr","group":"Added","scope":null,"breaking":false},{"id":"0073896","message":"a view step shows a preview of itself with sample data in the shape of what it reads (a kept list's rows by its columns, an AI step's table and fields by their kind), and a small button in its corner turns it into its JSON with highlighting, edited in place and kept when it is valid; deleting a step takes holding its button for two seconds while it fills up, a short press says to hold; the step panel's resize grip sits outside the panel beside its edge, clear of its scrollbar","group":"Added","scope":null,"breaking":false},{"id":"dab5525","message":"a step can be added that only some runs take – the add-step prompt asks when the step comes (always, only if a condition the admin writes in their own words holds, or when the AI finds a statement true) and the assistant builds it as a side path; a branch with only a target is now the step's \\"otherwise\\", where every run goes that no other branch takes, so a side step rejoins the flow – the engine, decided branches and the required-steps checks follow it, the step panel shows and edits its target, the diagram labels it and draws no plain line beside it; the diagram's add action is now \\"Add step\\" on the selected step's lower edge instead of a + on every line, and the step panel's button says the same","group":"Added","scope":null,"breaking":false},{"id":"e8a548e","message":"a step is added by saying what it should do – the step panel's one-line footer opens a prompt (and a + on a line in the diagram does too) where the admin describes the step and picks its kind or leaves it to the AI; the request goes to the conversation as the admin's message, the new step is shown in its place as being built and selected once the assistant has built it completely (a widget with its HTML and sample data); an empty step can still be inserted; a widget without its HTML offers to let the assistant build it or to upload an HTML file instead of a dead end","group":"Added","scope":null,"breaking":false},{"id":"55b5517","message":"the step panel shows where the run goes next – a step without branches shows the step that follows, folded to its title and unfolding to what it asks or makes, its cost and where it leads; a step with branches lists one row per way (conditions, the statements the AI decides, otherwise) with its target, each unfolding to edit it, and conditions can now be added and edited there too; how a decision is made moved into the AI chip's hint; a test run's decision is shown only while the step's branches are still the ones it decided over","group":"Added","scope":null,"breaking":false},{"id":"a325060","message":"a wizard's branches can be inspected in the studio – a click on a branch line in the diagram opens the step's branches: its conditions in the order they are checked, the statements the AI decides together in one call with their target steps, where the run goes when none clearly holds, how it is decided and how often a loop may run; statements can be edited, added and removed there; after a test run the diagram marks the branch the decision took with how probable it found it, and the step shows the probability of each statement and whether a decision model or the language model decided","group":"Added","scope":null,"breaking":false},{"id":"3963759","message":"a wizard can show what a run found in its own look – a new step type \\"surface\\" (a view) is built from a fixed set of native parts (text, facts, key figures, lists with pictures, tables, bar, line and ring charts, buttons) bound to the run's answers, results and kept lists, written once by the assistant and free on every run; a view can leave some of its parts to the AI, which shows a chart only when there is something to compare; an AI step with json output can lay out a view of its own result, checked against the parts before it is kept; reviews and the result page show a step's view instead of a plain table, a view's button can ask for a new version in a review or open a file, and a view downloads as JSON","group":"Added","scope":null,"breaking":false},{"id":"04fe9e7","message":"the AI can decide how a wizard goes on and which questions it asks – a branch can carry a statement instead of a condition (\\"the person wants a refund\\") and all such branches of a step are decided together in one small call, a field can be shown when the AI finds a statement true and fields of a group are alternatives of which it shows the one that fits, decided once as the run reaches the page; every decision goes to a decision model where there is a way to one (Jev through the credits, an AI Gateway key or a TypeSafe key) and otherwise to the classifier class's language model, so decision steps now carry how probable their answers are (branches read it as steps.<id>.<field>.p) and Wissen's relevance check works without Jev; decision steps answer scores on a scale; a branch back to an earlier step is a loop that stops after its max (ten without one) and the step that runs again sees what it made last time; an AI step can run once per row of a table or a kept list and hands on one table of the results","group":"Added","scope":null,"breaking":false},{"id":"0d1fe8d","message":"a field can be shown only under a condition – it appears as the person answers another field of the same page, or depends on anything known before the page – and a hidden field is neither required nor kept; the choices of a select can come from earlier data (a list an AI step found, a column of its table, or a column of a list the wizard keeps), with the fixed choices standing in while that data is empty; branches compare numbers (greater, less), look into multiselects, lists and texts (contains), read how many rows a kept list has, and take several conditions that must all hold; the studio edits a field's condition and the source of its choices, the diagram labels the new conditions, and the assistant is told to use conditions instead of one copy of a page per answer","group":"Added","scope":null,"breaking":false},{"id":"edd24e9","message":"Gmail, Drive, Calendar and Contacts connect on a local install without a Google client of its own: through the linked engenty account, which holds the client and refreshes the tokens; before an account is linked, connecting asks to link it first","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.25","timestamp":1791351205,"commits":[{"id":"d144800","message":"connecting a mailbox over IMAP finds Google Workspace on a company domain through its MX record, gives up after 15 seconds instead of spinning, and a failed connect names the server it tried and says what to check","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.24","timestamp":1791319759,"commits":[{"id":"762d5f2","message":"a run opened in the drawer (editor test runs and the space's results) can be dragged wider or narrower at its left edge – arrow keys too, a double click resets – and an expand button in its bar makes it fill the browser window; width and expansion are remembered per browser","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.23","timestamp":1791319363,"commits":[{"id":"4db55b6","message":"a wizard's brand colour no longer makes its buttons unreadable: the text on a button is light or dark by the button's own colour, not by the theme (a black accent in dark mode got dark text), and ember as text and marks on the page keeps a lightness the paper can carry; the selected chip of an output follows the same rule instead of always white","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.22","timestamp":1791318739,"commits":[{"id":"cacabd1","message":"a model an own AI Gateway key may not use is found before a run starts, not after minutes of work: the check before a run (and the runtime's start, and the Models page) asks Vercel once per key and model with a call of a token or a word – a refusal of the free tier costs nothing, is asked again after five minutes so a top-up counts, and an allowed model is not asked again for a day; videos and images not made by a chat model cannot be asked that cheaply, there a refusal a run met counts; a step refused for the free tier says so and how to fix it (top up at Vercel, with the link, or pick another way under Einstellungen → Modelle) instead of Vercel's raw message, and web addresses in a run's error, the editor's missing-models notice and the Models page are links","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.21","timestamp":1791314990,"commits":[{"id":"23b5001","message":"a wizard can make a film with Claude Code: the new step type \\"film\\" lets the AI client installed on this computer write a motion-graphics film as code in a folder of its own – with HyperFrames' skills (fetched once from GitHub at a pinned version), the wizard's style kit (a .zip in its workspace, unpacked as the bar to reach), the space's brand (name, colours named by use, facts, logos) and the run's material (voice, script, pictures, uploads) – and the runtime renders the MP4 with HyperFrames (installed into the data folder on the first film); the client's shell runs in its sandbox, writing only inside the folder and without network, and reaches HyperFrames' render, snapshots and checks through a tool of the step limited to the folder; sounds come only from a catalog of CC0 effects (soundcn by Kenney, HyperFrames' own); a film runs only where Claude Code is the AI subscription, never on credits or in the cloud, the runner says so before a run starts and the marketplace shows it as a capability; a film that stops picks up the client's session on the next try, a failed final render goes back to the client to fix, and a review's note changes the film's code instead of making it again; the folder goes with the run's files","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.20","timestamp":1791314485,"commits":[{"id":"d6a5fca","message":"a team's plan reaches the runtime: the Manage-App names the plan, its feature switches and the people it allows, and a count of spaces may be unbounded (null); in a team the owner and the admins make and delete wizards, spaces and connectors while a member edits, tests and publishes the wizards there are – enforced in the services for studio, API and MCP alike (403 forbidden); the settings get a Team page with the plan, the places and who is in the team, managed at the Manage-App; own API keys in the cloud studio are a feature of the plan; and the Manage-App learns which plugins a runtime carries (GET /api/internal/plugins)","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.19","timestamp":1791313075,"commits":[{"id":"3243a25","message":"the gallery has three more categories (Bilder & Video, Anfragen & Termine, Beratung & Preise) so the category row fills two even rows","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.18","timestamp":1791312078,"commits":[{"id":"661b2c9","message":"Wissen in the space: what the space's wizards look things up in, as pages with sub-pages, tables and files sorted by typed Kategorien (choice, date, number, text, yes/no), filtered by them and searched by words and meaning, with a classifier that keeps only what answers the question; an upload is converted on arrival (a long document becomes a page with sub-pages, a sheet a table, the original stays beside it) and a model fills its Kategorien; every value of a Kategorie has its Übersicht and its entries, numbers in ranges; steps get project_search with a filter, project_list, page_read and table_read by path; the assistant docks at the bottom of an opened item and knows Wissen; plugins write into Wissen through server.spaceData (pages, tables, files, documents with their Kategorien), and what a person edits stays theirs","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.17","timestamp":1791310689,"commits":[{"id":"6a0e1ba","message":"a run's price follows one way through the wizard instead of adding up branches that exclude each other, and leaves out the steps that have no model here (the video ad: about 111 credits with clips, 11 without a video model, was 207 either way); what a step reports while it works shows in the language the person reads, the run's log keeps it in German; English wizards write amounts and today's date the English way (€2,400.00) instead of the German one","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.16","timestamp":1791307427,"commits":[{"id":"883404e","message":"a wizard that needs a model not set up here says so before anything is paid for: in the gallery, video, speech output or voice notes that only some answers need no longer block a template (\\"Works without: …\\"); on its pages, the choices that would lead to such a step are locked with the reason and the default moves to one that works, an optional voice note nothing here can listen to gives way to the reason, and the server refuses those answers","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.15","timestamp":1791294678,"commits":[{"id":"2c5ae49","message":"on phones and small tablets the editor's pane is a bottom sheet whose height is dragged at its handle, touch included; a tap on the handle folds it to its tabs and unfolds it to the height it had, a step tapped in the diagram or a tab unfolds it too, and the height is remembered per browser; the sheet and the diagram now fit the screen, so the chat's input is no longer cut off at the bottom","group":"Added","scope":null,"breaking":false},{"id":"cfe23fa","message":"a saved wizard whose link is gone (a new link, or the wizard deleted) shows as unavailable instead of offering Start into the runner's not-found page","group":"Fixed","scope":"mobile","breaking":false}]},{"version":"v0.2.14","timestamp":1791291788,"commits":[{"id":"ff63c86","message":"\\"What's new\\" in the banner about a newer release opens the changelog of that release in the studio instead of its page on GitHub; offline it shows the changelog this version came with","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.13","timestamp":1791289689,"commits":[{"id":"94297b8","message":"the space opens behind the folder in the top bar and has four parts in the settings' sliding menu: Info & Marke (Basis, Logos, Farben, Assets, Fakten), Wissen (Dokumente), Daten and Ergebnisse; Daten holds tables with typed columns, edited cell by cell, and Markdown pages, of the space or of one of its wizards; a wizard's list can be shared, one table for every run that the person running it never sees, and a step with the new Pages tool writes the wizard's pages; the space's own tables and pages go to the cloud with each published wizard and are read-only there, while what runs write stays where they ran; Ergebnisse lists the finished runs of all wizards or of one, the wizard with the latest result first, with search, live or test and the last days; a plugin's section of the space chooses its part; the studio is a step smaller on laptops and nearer the edge on phones; the run-log example no longer adds an icon to the top bar","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.12","timestamp":1791289473,"commits":[{"id":"3aaf939","message":"the documentation deploys like the cloud runtime: its image is built on GitHub's runners beside the checks of a release tag and pushed to GHCR, and the server only pulls it (deploy/Dockerfile.docs, built with --pull); the docs Dockerfile keeps its install cached across releases; a change of the docs image no longer redeploys the runtime","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.11","timestamp":1791287681,"commits":[{"id":"50041f3","message":"the cloud runtime deploys in minutes: its two images are built on GitHub's runners beside the checks of a release tag, with their layers cached in the registry, and pushed to GHCR; once both are green they become latest and the server pulls them instead of building for up to an hour; the runtime's Dockerfile keeps both dependency installs cached across releases (the root version blanked out, the production install in its own stage) and puts what changes every release last; IMAGE_TAG on the server pins a release","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.10","timestamp":1791286327,"commits":[{"id":"c5c99b0","message":"signing in from the studio returns to the studio page that asked for it, not to the host's root, which is the landing page since the studio moved to /studio","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.9","timestamp":1791284806,"commits":[{"id":"fff4ab3","message":"plugins add to the space: sections of the space page under the plugin's name in its menu, tools of the space assistant whose results the plugin draws as cards in its chat, a block and tools for every AI step of the space, texts in the space's search index that project_search finds beside its documents, events when a space is made, changed or deleted and when a file is read or removed, jobs that run on a schedule, public routes under an address of their own, and the runtime's web reader and document parser; the run-log example shows a space's last runs on the space page; the plugin docs describe the space","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.8","timestamp":1791284267,"commits":[{"id":"040a292","message":"Settings → Models says what the wizards can do (text, images, videos, voice, voice notes) and who does each: an AI subscription on this computer, an own API key (OpenAI, Anthropic, Google, fal.ai, ElevenLabs, Replicate, AI Gateway), a local model, or the credits, which step in where nothing of one's own is set up (a switch, on with a linked account) and may name a model of the gateway (credits:<model>: fal, ElevenLabs, Veo …); each provider's key is checked with the provider before it is kept, and a try makes a text, an image, a voice or a short clip to look at; in the cloud the page is the team's, its keys sealed per tenant and changed by its admins; voice notes run on transcription models (Scribe, Whisper) where one is bound, also on the credits; the settings show their name in the top bar's trail instead of a heading, and one container on the left slides one level down to the menu of Models and Integrate and back; on a phone the sections, a section's menu and the page take turns with a way back; Integrate puts the app's name, what it gets and its steps on one line","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.7","timestamp":1791281338,"commits":[{"id":"cc15aad","message":"the space is a page of its own: the top bar opens it beside the gear, and a menu at its left jumps to Basis, Logos, Farben, Assets, Dokumente and Fakten and marks the one in view (a picker on a phone); the studio, its assistant and the docs call a project a space (German „Space“), the address is /space and /settings/project leads there; the settings keep Konto, Connectors, Modelle and Einbinden, and the gear opens Konto; the assistant's input is one line until the text needs more, in its card and docked at the bottom","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.6","timestamp":1791280942,"commits":[{"id":"198e23c","message":"a wizard's link installs and bookmarks with the wizard's own icon: its engenty in its own colour on a pale ground of that colour with its name in small capitals below, drawn by the runtime for the manifest, the iPhone's home screen and phones that cut icons to their own shape; the page's favicon is the engenty alone, so a bookmark or tab shows it too; the name keeps the whole words that fit and never ends on a short word like \\"aus\\"; the studio's icon stands in where the runtime cannot draw; on a computer the start page offers a bookmark (⌘ D or Strg + D) instead of an install, phones keep \\"Zum Startbildschirm hinzufügen\\"","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.5","timestamp":1791272370,"commits":[{"id":"fc58644","message":"a local install says where each wizard runs and which link others can open: the cards and the editor's top bar show Live with a cloud when engenty.ai runs the version, Lokal when it runs only on this computer, Wird gesendet or Nicht in der Cloud when it did not arrive; a card's Link copies the cloud's address; the share dialog leads with that one link, says on top where the wizard runs and what the cloud lacks, folds website, QR code and the settings away, and creates a new link in the cloud too; the avatar and its menu show whether an account is connected, with its credits; Settings → Konto puts engenty.ai first and takes name and e-mail from the account; without an account the share dialog, a card's Link and the note about missing models say what an account would add","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.4","timestamp":1791242529,"commits":[{"id":"fbcfbc3","message":"a wizard a local install sends arrives whole or not at all, and the install sends again by itself: the cloud runtime keeps the files' bytes first and writes the project, the wizard, its workspace, the version and the logo in one transaction, so an object store that fails in the middle leaves nothing half done; the install plans another try after a minute, then twice as long each time up to an hour, when the cloud was out of reach or answered with an error of its own, and the share dialog says when; refusals stay with the person; a first sync that stops at an unreachable cloud marks the remaining wizards for the retry too; the public link is set on every sync; the runtime asks GitHub for a newer release once an hour instead of every six","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.3","timestamp":1791238483,"commits":[{"id":"38d161b","message":"the mobile app's data folder (apps/mobile/src/data) is in the repository: the ignore rule for the runtime's data folder hid every folder of that name, so main neither typechecked nor passed the mobile app's tests; the rule now names the runtime's two data folders","group":"Fixed","scope":null,"breaking":false},{"id":"251d6f4","message":"with an account signed in, what a local install publishes also runs in the cloud: the published version and its files go to the account's cloud runtime under the ids they have here, which shows the project without editing and makes the link; Settings → Konto signs in or creates an account with an invitation code and shows the credits and when they end; the share dialog says what a wizard lacks in the cloud; a team without building rights changes nothing on the server, and what visitors send is capped in size","group":"Added","scope":null,"breaking":false},{"id":"d80eb4e","message":"inside the mobile app the runner reads in the system's font, like the app's own screens; headings keep the brand's","group":"Added","scope":null,"breaking":false},{"id":"4604875","message":"the mobile app looks native: the system font, Liquid Glass (a blur before iOS 26) on the floating tab bar and the nav buttons, inset grouped lists with hairlines, Add as a form sheet with eight ID boxes, swipe to share or delete a result, files listed as the Files app does, settings rows with icon tiles","group":"Added","scope":null,"breaking":false},{"id":"d9edbe4","message":"the mobile app runs on Android: no iOS-only WebView prop that crashed the Run screen, plain http only for a runtime on this computer, result rows in the wizard's colour","group":"Fixed","scope":null,"breaking":false},{"id":"34a4588","message":"the mobile app (apps/mobile, Expo): wizards added by QR code, ID or link, runs in the runtime's runner with the app's scanner, share sheet, downloads, notifications and sign-in sheet, results kept on the phone and shared from there; engenty.ai's /w/ and /s/ links and engenty-wizards:// open in it","group":"Added","scope":null,"breaking":false},{"id":"2c19636","message":"a run tells the mobile app's device when it is done, failed or waits for the person: the app gives the run its device (POST /api/runs/:id/notify), the runtime asks the Manage-App to push (POST /v1/push in the contract); the app's own requests name the visitor in an x-wizards-visitor header, since iOS merges a Cookie header with its cookie store","group":"Added","scope":null,"breaking":false},{"id":"767e170","message":"the runner works inside the mobile app: ?app=1 drops the web's header, footer and install hint, and window.engentyApp takes over the scanner, share sheet, downloads, wake lock, notifications and account sign-in; a wizard gets an 8-character ID (GET /api/public/codes/:code) and the studio's share dialog shows it with a QR code to download as PNG or SVG; the runtime serves apple-app-site-association and assetlinks.json for the app","group":"Added","scope":null,"breaking":false},{"id":"d8f3712","message":"plan for the mobile app that runs wizards on iOS and Android","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.2.2","timestamp":1791237386,"commits":[{"id":"a6c55de","message":"server.generate asks a model of the current tenant (a class, a prompt, optionally a zod schema for an object), on the models its studio is set up with and paid like any other call; without a model it throws with status 503 and the code no_model, which a route passes on","group":"Added","scope":"plugins","breaking":false},{"id":"e895e50","message":"the documentation deploys to engenty.ai/docs: an image of its own (apps/docs/Dockerfile, a standalone Next.js server on port 8896), and a release tag moves the branch deploy/docs when the site or its pages changed","group":"Deploy","scope":null,"breaking":false},{"id":"4d8b773","message":"a documentation site with a user guide and the developer docs for plugins, built like the engenty repo's: Next.js and Fumadocs in apps/docs, the pages in docs/content, in the app's light and dark colours; docs/plugins.md became its pages, and the product's build, image, package and credits leave the site out","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.2.1","timestamp":1791223500,"commits":[{"id":"9c16b47","message":"the AI apps start the MCP server as the wizards command, after the rename from engenty-wizards","group":"Fixed","scope":null,"breaking":false},{"id":"f118703","message":"the wizards run in the person's own AI apps — connect writes the MCP server into Claude Desktop, Cursor, Codex and others, a run shows the wizard itself as an MCP App widget, and Settings → Einbinden adds an app with one click and tests it until it works","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.0","timestamp":1791223087,"commits":[{"id":"4404371","message":"a runtime takes plugins: tools for agent steps, routes with tables of their own, listeners on runs that end, and pages, top bar icons and settings sections in the studio; they load from modules/ and PLUGINS_DIR at start and again while it runs","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.11","timestamp":1791208594,"commits":[{"id":"85facbd","message":"the package is on npm as wizards, and the README's studio picture shows the branches with their conditions","group":"Docs","scope":null,"breaking":false},{"id":"6ca5cfc","message":"a branch that skips steps runs beside them in the editor, with its condition readable on the line; it ran behind the step with the condition hidden","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.10","timestamp":1791206923,"commits":[{"id":"8f35bf0","message":"the README shows the studio with a branched flow and a wizard in use, from its first page to the result","group":"Docs","scope":null,"breaking":false},{"id":"7abf9df","message":"the editor's review notes, tool names and branch labels follow the language; they were German in the English studio","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.9","timestamp":1791203125,"commits":[{"id":"5182fec","message":"the installer is engenty.ai/install.sh (was wizards.sh), and the command and the npm package are wizards (were engenty-wizards); the installer renames an install made under the old names","group":"Changed","scope":null,"breaking":false},{"id":"c6500f9","message":"the proxy sends the runtime /w/ and /s/ with the slash","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.8","timestamp":1791196160,"commits":[{"id":"a965d36","message":"the marketplace's pages are written by the site at engenty.ai, at /wizards/<slug> and /de/wizards/<slug>","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.7","timestamp":1791194770,"commits":[{"id":"66e9109","message":"a banner in the studio says when a newer release is out; the update installs from there, the runtime restarts into the new version and the page reloads","group":"Added","scope":null,"breaking":false},{"id":"5e27bf6","message":"the studio chat counts the seconds of a turn and says what the architect is doing and thinking; pasted pictures show in the thread and the architect sees them","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.6","timestamp":1791167380,"commits":[{"id":"481807b","message":"video models render at 720p, or 480p when a step asks; a larger clip is scaled down, and the price follows the resolution","group":"Added","scope":null,"breaking":false},{"id":"bb20f2b","message":"the settings say Codex makes images on the sign-in too; only video and audio still need a key","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.5","timestamp":1791151312,"commits":[{"id":"f4b7e43","message":"plan for a setup by capability","group":"Docs","scope":null,"breaking":false},{"id":"8ddaab7","message":"a wizard says which models it lacks before it runs, and only refuses to start when every path needs one; templates can be filtered by capability, and those this install cannot run are greyed out","group":"Added","scope":null,"breaking":false},{"id":"2689c74","message":"Codex makes images on the ChatGPT plan, and runs each model class on its own model (Luna, Sol, Astra); image, video and voice stay empty without a gateway key instead of naming models nothing can reach","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.4","timestamp":1791144283,"commits":[{"id":"071e6ca","message":"the changelog's groups read NEW, FIXED, DOCS in every language, like the entries they stand before","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.3","timestamp":1791142528,"commits":[{"id":"32d1698","message":"the publish job fetches the package artifact by name; with one artifact left it no longer lands in its own folder","group":"Fixed","scope":"release","breaking":false}]},{"version":"v0.1.2","timestamp":1791140122,"commits":[{"id":"4bc37b9","message":"a marketplace entry opens in the local studio at localhost:24368 instead of the Mac app's engenty-wizards:// link","group":"Added","scope":null,"breaking":false},{"id":"e09e748","message":"the Mac app is no longer built or offered; the studio offers to install itself as a Chrome app in a banner, starting at login on a Mac is a LaunchAgent that runs the command, and the setup, README and docs point there","group":"Added","scope":null,"breaking":false},{"id":"ab10b49","message":"engenty wizards starts at login — the Mac app opens in the menu bar without its window (\\"Open at Login\\" in its menus), on Linux a systemd user service; the setup asks, \`engenty-wizards autostart on|off\` switches it, and the Mac app's server takes port 24368 too","group":"Added","scope":null,"breaking":false},{"id":"239e338","message":"the setup page installs a missing AI client in its own terminal, and both setups suggest the client whose app is on the Mac — its subscription is most likely already paid for","group":"Added","scope":null,"breaking":false},{"id":"b479df7","message":"an inline terminal's stream sends its last lines and its end before it closes; a page that opens it afterwards gets them all","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.1","timestamp":1791138130,"commits":[{"id":"21f70df","message":"the German tagline on the sign-in page follows the new one","group":"Docs","scope":null,"breaking":false},{"id":"765ae7c","message":"the studio says when a newer release is out and, on an install made by wizards.sh, updates it from the footer","group":"Added","scope":null,"breaking":false},{"id":"825da6c","message":"the tagline is \\"Make a wish. Get your wizard.\\" In the README, the npm package description and the banner of wizards.sh.","group":"Docs","scope":null,"breaking":false},{"id":"05e2e5c","message":"the local runtime listens on 24368, AGENT on a phone keypad; the Docker image stays on 8891","group":"Added","scope":null,"breaking":false},{"id":"71bb778","message":"Ctrl-C stops engenty-wizards again — the login shell that reads the person's variables runs in a session of its own and no longer keeps the terminal","group":"Fixed","scope":null,"breaking":false},{"id":"ee20646","message":"wizards.sh opens with the tall engenty — one eye; it wakes up, looks around, hops and blinks","group":"Added","scope":null,"breaking":false},{"id":"81d4f21","message":"the studio moves to /studio; the root of a host is free for a landing page","group":"Added","scope":null,"breaking":false},{"id":"f6058fd","message":"the marketplace is an app of its own; the runtime searches it live and keeps its starters and the starred entries for offline use","group":"Added","scope":null,"breaking":false},{"id":"e6fdeab","message":"engenty-wizards://new?starter=<id> opens a marketplace template in the desktop app","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.0","timestamp":1791100948,"commits":[{"id":"71cc075","message":"install with wizards.sh; the local install and how its pieces share it","group":"Docs","scope":null,"breaking":false},{"id":"6ae641d","message":"the desktop app is a window on the local install and brings no runtime along","group":"Added","scope":null,"breaking":false},{"id":"9c9dbb8","message":"an installer, wizards.sh, that every runtime serves","group":"Added","scope":null,"breaking":false},{"id":"34d0a1a","message":"an engenty-wizards command for a local install in ~/.engenty/wizards","group":"Added","scope":null,"breaking":false},{"id":"4ac6329","message":"the search skips filler words with umlauts too","group":"Fixed","scope":null,"breaking":false},{"id":"3bda9a6","message":"the gallery's footer stays without version, changelog and open-source links","group":"Fixed","scope":null,"breaking":false},{"id":"9e65725","message":"a changelog and open-source credits in the studio's footer; pnpm release cuts a release from the commits","group":"Added","scope":null,"breaking":false},{"id":"45d2906","message":"an entry's search terms are scored one by one, not as one long text","group":"Fixed","scope":null,"breaking":false},{"id":"648819c","message":"marketplace entries carry the words people ask for, so a search by words finds them","group":"Added","scope":null,"breaking":false},{"id":"0838373","message":"one project unless the limit says more; an account page; previews and layouts in the project settings","group":"Added","scope":null,"breaking":false},{"id":"8da2aaf","message":"a project holds base infos, logos, colours, assets, documents and facts for all its wizards","group":"Added","scope":null,"breaking":false},{"id":"8679ae2","message":"the gallery has the studio's footer line","group":"Fixed","scope":null,"breaking":false},{"id":"d5086f3","message":"the gallery's field is narrower","group":"Fixed","scope":null,"breaking":false},{"id":"4a82b26","message":"the gallery invites to start a wizard from a template","group":"Other","scope":null,"breaking":false},{"id":"07d2def","message":"a template's header is the dialog's own colour under a spotlight; in the light a tinted grey","group":"Fixed","scope":null,"breaking":false},{"id":"d10be9f","message":"a template opens with its flow as a diagram; the gallery's field is narrower, its chips centred","group":"Added","scope":null,"breaking":false},{"id":"fbee998","message":"the gallery says what it is, compact and from the left; its search is a two-line field to write into","group":"Added","scope":null,"breaking":false},{"id":"478f271","message":"the gallery opens with one question and the search field; quieter filter chips","group":"Added","scope":null,"breaking":false},{"id":"15d7f94","message":"the marketplace search asks the model for the signed-in tenant; a sentence without a model keeps only close finds","group":"Fixed","scope":null,"breaking":false},{"id":"c254357","message":"a marketplace of wizards to start from, with a gallery, admin, translation and search","group":"Added","scope":null,"breaking":false},{"id":"4d6e270","message":"AI media is marked in its file and labelled with the EU icons (AI Act, Art. 50)","group":"Added","scope":null,"breaking":false},{"id":"f86f070","message":"two writers of the same blob no longer share a temporary file","group":"Fixed","scope":null,"breaking":false},{"id":"c6a06cc","message":"plan for definition versions and importing older packages","group":"Docs","scope":null,"breaking":false},{"id":"a37e826","message":"wizard packages carry their own extension, .wizard","group":"Added","scope":null,"breaking":false},{"id":"e104574","message":"wizards export as a package (.wizard.zip) and import into a project","group":"Added","scope":null,"breaking":false},{"id":"b389539","message":"the editor pane's resize handle is a short, thick pill","group":"Added","scope":null,"breaking":false},{"id":"670c3ce","message":"chat composer takes files (+) and dictation","group":"Added","scope":null,"breaking":false},{"id":"766f6fd","message":"editor side pane resizable; Steps tab steps with ← / →, header and strip spacing fixed","group":"Added","scope":null,"breaking":false},{"id":"8205c88","message":"the arrow on a live wizard's card opens it in a new tab","group":"Added","scope":null,"breaking":false},{"id":"2696a50","message":"the AI clients page says it is an MCP server and sets a client up step by step","group":"Added","scope":null,"breaking":false},{"id":"6004a7d","message":"settings in sub-pages with a nav on the left (a dropdown on phones); MCP servers under Connectors","group":"Added","scope":null,"breaking":false},{"id":"49054fa","message":"settings button in the top bar; the user menu closes on Einstellungen","group":"Added","scope":null,"breaking":false},{"id":"65c9867","message":"at most 5 projects per tenant","group":"Added","scope":null,"breaking":false},{"id":"7ecca24","message":"the project switcher switches the wizard list","group":"Fixed","scope":null,"breaking":false},{"id":"c037604","message":"light / dark in the user menu, in place of the top bar's toggle","group":"Added","scope":null,"breaking":false},{"id":"ef464ab","message":"upload limits and sorting, pictures while a step works, faster photo steps, a feedback box on reviews","group":"Added","scope":null,"breaking":false},{"id":"1cbc02f","message":"starters for receipts, video ad, property film, window offer, menu plan and ten website helpers","group":"Added","scope":null,"breaking":false},{"id":"8069115","message":"photos reach an installed AI client, and a photo without text is described","group":"Fixed","scope":null,"breaking":false},{"id":"013f7df","message":"embed a wizard in a website, inline or behind a button that opens it in a window","group":"Added","scope":null,"breaking":false},{"id":"78c2a2a","message":"the editor at /edit/<id>, signed-out visitors of the start page go to SIGNED_OUT_URL","group":"Fixed","scope":null,"breaking":false},{"id":"deb4942","message":"wizards at /w/<token>, the app at the root of https://engenty.ai","group":"Added","scope":null,"breaking":false},{"id":"b811b4c","message":"serve the app under a path (https://engenty.ai/w)","group":"Added","scope":null,"breaking":false},{"id":"4821fb1","message":"the hosted addresses (engenty.ai) as defaults, no private repo names in the public sources","group":"Fixed","scope":null,"breaking":false},{"id":"ca2207e","message":"the drop engenty as app icon, tray icon and favicon","group":"Added","scope":null,"breaking":false},{"id":"90fcbce","message":"a README for people who install it, developer notes in docs/development.md","group":"Docs","scope":null,"breaking":false},{"id":"4b0c54a","message":"a built runtime links to its own port, the sandbox falls back to agentOS","group":"Fixed","scope":null,"breaking":false},{"id":"7071edf","message":"no links to the clients' pages, a placeholder dot in the footer","group":"Fixed","scope":"setup","breaking":false},{"id":"14171bf","message":"installed AI clients as the model of a local runtime, first-start setup as a wizard","group":"Added","scope":null,"breaking":false},{"id":"ca3f3a7","message":"align vertical head turn with pointer gaze","group":"Fixed","scope":"engenty","breaking":false},{"id":"e1f04ff","message":"add furry and jelly renderers with an interactive builder","group":"Added","scope":"engenty","breaking":false},{"id":"99207af","message":"whole credits in the top bar, a footer line with the account's places","group":"Added","scope":null,"breaking":false},{"id":"e498ab1","message":"decision steps — yes/no and choice output fields, branches on step outputs","group":"Added","scope":null,"breaking":false},{"id":"e83a433","message":"pnpm workspace with apps/ and packages/","group":"Changed","scope":null,"breaking":false},{"id":"281e3a3","message":"desktop app — Tauri shell with the runtime as a Node sidecar","group":"Added","scope":null,"breaking":false},{"id":"9296521","message":"a database per tenant, model classes, sign-in at the Manage-App, phone inputs","group":"Added","scope":null,"breaking":false},{"id":"63b1693","message":"engenty's built-in connectors — Gmail, Drive, Calendar, Contacts, Outlook, OneDrive, Slack, GitHub, HubSpot, S3","group":"Added","scope":null,"breaking":false},{"id":"cd431c9","message":"connectors from the integrations registry, asked-first changes in connected accounts","group":"Added","scope":null,"breaking":false},{"id":"8dbe30d","message":"harden browser and file downloads, step navigation in the inspector, store and mailbox docs","group":"Added","scope":null,"breaking":false},{"id":"54370e8","message":"light/dark mode with engenty-coloured dark pages, jelly and fur coats, quiet focus rings","group":"Added","scope":null,"breaking":false},{"id":"371b033","message":"lists and connections kept between runs, mail and browser tools, camera and ask panel","group":"Added","scope":null,"breaking":false},{"id":"07df228","message":"setup per AI client and a self-served plugin with /wizard","group":"Added","scope":null,"breaking":false},{"id":"de27ae8","message":"interactive widgets with a workspace per wizard, shareable results","group":"Added","scope":null,"breaking":false},{"id":"12854e1","message":"live studio — MCP and other edits show up without a reload","group":"Added","scope":null,"breaking":false},{"id":"7f72420","message":"OAuth sign-in for MCP clients, connected apps in settings","group":"Added","scope":null,"breaking":false},{"id":"3014699","message":"MCP endpoint for authoring wizards with personal API keys","group":"Added","scope":null,"breaking":false},{"id":"985e612","message":"engenty wizards — prompt-built AI wizards with shareable links","group":"Added","scope":null,"breaking":false}]}]`);export{e as default};
@@ -1 +1 @@
1
- import{G as e}from"./ui-DyazyiaK.js";var t={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};t.node;var n=e(t);export{n as t};
1
+ import{G as e}from"./ui-BjgTkixF.js";var t={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{a as e,c as t,d as n,f as r,i,l as a,m as o,n as s,o as c,p as l,r as u,s as d,u as f}from"./surface-CywgBXMy.js";var p=a({description:n().max(1024).optional(),edit:u([`inline`,`popout`]).optional(),id:n().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/,`column id must be a lowercase slug (a-z, 0-9, _)`),name:n().min(1).max(128),required:e().optional()}),ee=u([`integer`,`decimal`,`percent`,`currency`]),m=a({currency:n().regex(/^[A-Z]{3}$/,`currency must be an ISO 4217 code`).optional(),fractionDigits:t().int().min(0).max(8).optional(),grouping:e().optional(),style:ee}).superRefine((e,t)=>{e.style===`currency`&&!e.currency&&t.addIssue({code:`custom`,message:`currency style needs an ISO 4217 code`,path:[`currency`]}),e.style!==`currency`&&e.currency&&t.addIssue({code:`custom`,message:`currency is only valid on currency columns`,path:[`currency`]})}),h=u([`date`,`datetime`,`time`]),g=u([`short`,`medium`,`long`,`iso`]),_=u([`hours`,`minutes`,`seconds`]),te=a({dateStyle:g.optional(),kind:h,timePrecision:_.optional()}),v=u([`milliseconds`,`seconds`,`minutes`,`hours`,`days`]),y=u([`hms`,`hours`,`minutes`,`decimal-hours`,`iso`]),b=a({display:y,inputUnit:v}),x=a({id:n().min(1).max(64),label:n().min(1).max(128)}),S=a({allowCustom:e(),multiple:e().optional(),options:i(x).max(200)}),ne=u([`single`,`multiline`,`markdown`]),C=a({style:ne.default(`single`)}),w=c(`type`,[p.extend({format:C.optional(),type:d(`text`)}),p.extend({format:m,type:d(`number`)}),p.extend({format:te,type:d(`date`)}),p.extend({format:b,type:d(`duration`)}),p.extend({format:S,type:d(`select`)}),p.extend({type:d(`boolean`)})]),T=i(w).min(1).max(64).superRefine((e,t)=>{let n=new Set;for(let r=0;r<e.length;r++){let i=e[r]?.id;i&&(n.has(i)&&t.addIssue({code:`custom`,message:`duplicate column id "${i}"`,path:[r,`id`]}),n.add(i))}}),E=a({description:n().optional(),edit:u([`inline`,`popout`]).optional(),format:a({allowCustom:e().optional(),currency:n().optional(),dateStyle:u([`short`,`medium`,`long`,`iso`]).optional(),display:y.optional(),fractionDigits:t().int().optional(),grouping:e().optional(),inputUnit:v.optional(),kind:h.optional(),multiple:e().optional(),options:i(x).optional(),style:u([`single`,`multiline`,`markdown`,`integer`,`decimal`,`percent`,`currency`]).optional(),timePrecision:_.optional()}).optional(),id:n(),name:n(),required:e().optional(),type:u([`text`,`number`,`date`,`duration`,`select`,`boolean`])});i(E),a({table_id:n().uuid()});var D=[`mail`],O=[`round`,`drop`,`dome`,`flame`,`oval`,`bean`,`pebble`,`sprout`,`tower`,`wedge`],k=[`text`,`textarea`,`number`,`select`,`multiselect`,`date`,`email`,`url`,`toggle`,`color`,`image`,`file`,`items`,`connection`,`list`,`location`,`audio`,`signature`,`slot`];function re(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let{lat:t,lng:n,label:r}=e;return typeof t==`number`&&typeof n==`number`||typeof r==`string`&&r.trim().length>0}function ie(e){return!!(e&&typeof e==`object`&&typeof e.asset==`string`&&e.asset)}var A=[`web_search`,`web_fetch`,`browser`,`sandbox`,`image`,`http`,`pages`],ae=/^[a-z][a-z0-9-]{0,39}$/,oe=/^[a-z][a-z0-9_]{0,39}$/,j=[`classifier`,`standard`,`high`,`highest`],se=[...j,`image`,`video`,`audio`,`speech`],M=[`low`,`medium`,`high`],N=[`image`,`video`,`voice`,`document`,`dashboard`],P=[`png`,`mp4`,`mp3`,`pdf`,`docx`,`html`,`md`,`txt`,`csv`,`xlsx`,`json`,`zip`],F=[`1:1`,`16:9`,`9:16`,`4:5`,`3:2`,`2:3`],I=[`720p`,`480p`],L=n().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,40}$/,`ids are letters, digits and _ and start with a letter`),R=a({id:L,label:n().min(1),kind:u([`text`,`number`,`money`])}),z=[`equals`,`notEquals`,`in`,`notEmpty`,`empty`,`gt`,`lt`,`contains`],B=a({field:n(),op:u(z),value:l([n(),t(),e(),i(n())]).optional()}),V=l([B,i(B).min(1)]),H=a({id:L,label:n().min(1),kind:u(k),required:e().optional(),placeholder:n().optional(),help:n().optional(),options:i(n()).optional(),default:l([n(),t(),e(),i(n())]).optional(),columns:i(R).optional(),vat:a({rate:t().optional(),field:n().optional()}).optional(),currency:n().optional(),multiple:e().optional(),min:t().int().min(1).max(30).optional(),max:t().int().min(1).max(30).optional(),camera:e().optional(),video:e().optional(),listen:e().optional(),scan:e().optional(),connection:n().optional(),list:n().optional(),prefill:n().optional(),when:V.optional(),optionsFrom:n().optional(),ask:n().min(1).optional(),group:n().optional()}),U=a({id:L,instructions:n().min(1),optional:e().optional()}),W=a({when:V.optional(),ask:n().min(1).optional(),goto:n(),max:t().int().min(1).max(50).optional()}).refine(e=>e.when===void 0||e.ask===void 0,{message:`A branch has "when" or "ask", not both.`}),G={id:L,title:n().min(1),description:n().optional(),next:i(W).optional()},K=a({id:L,kind:u([`text`,`number`,`list`,`table`,`yesno`,`choice`,`score`]),description:n().optional(),columns:i(n().min(1)).optional(),options:i(n().min(1)).min(2).max(40).optional()}).refine(e=>e.kind!==`choice`&&e.kind!==`score`||!!e.options?.length,{message:`A choice or score field lists its options.`,path:[`options`]}).refine(e=>e.kind!==`score`||(e.options?.length??0)<=10,{message:`A score has at most ten levels.`,path:[`options`]}),ce=a({...G,type:d(`page`),fields:i(H).min(1),groups:i(U).max(6).optional(),cta:n().optional()}),q=r([n().regex(ae),`.`,n().regex(oe)]),le=a({...G,type:d(`agent`),instructions:n().default(``),call:a({tool:q,input:f(n(),o()).default({})}).optional(),tools:i(l([u(A),q])).default([]),mcp:i(n()).optional(),connections:i(n()).optional(),output:a({format:u([`text`,`markdown`,`json`]),fields:i(K).optional(),surface:e().optional()}).default({format:`markdown`}),model:u(j).optional(),effort:u(M).optional(),each:n().optional(),working:n().optional()}),ue=a({...G,type:d(`generate`),asset:u(N),prompt:n().min(1),options:a({aspectRatio:u(F).optional(),duration:t().optional(),resolution:u(I).optional(),style:n().optional(),template:u([`invoice`,`offer`,`briefing`,`letter`,`report`,`free`]).optional()}).optional(),referenceImage:n().optional(),each:n().optional(),model:u(j).optional(),effort:u(M).optional(),working:n().optional()}),J=a({...G,type:d(`widget`),entry:n().min(1),data:f(n(),n()).default({}),sample:n().optional(),size:a({width:t().int().min(200).max(3840),height:t().int().min(200).max(3840)}).optional(),video:e().optional(),working:n().optional()}),de=[`16:9`,`9:16`,`1:1`],fe=a({...G,type:d(`film`),brief:n().min(1),skills:i(n().min(1)).max(12).default([`hyperframes`]),kit:n().optional(),inputs:f(n(),n()).default({}),format:u(de).default(`16:9`),seconds:t().int().min(3).max(600).optional(),model:u(j).optional(),effort:u(M).optional(),working:n().optional()}),pe=a({id:L,description:n().min(1),components:s,group:n().optional(),required:e().optional()}),me=a({...G,type:d(`surface`),components:s.optional(),candidates:i(pe).max(16).optional(),groups:i(U).max(6).optional(),data:f(n(),n()).default({}),working:n().optional()}).refine(e=>!!e.components!=!!e.candidates,{message:`A surface step has either "components" or "candidates".`});function he(e,t){let n=new Set(t),r=e.filter(e=>n.has(e.id));return[{id:`root`,component:`Column`,children:r.map(e=>e.components[0]?.id??e.id)},...r.flatMap(e=>e.components)]}var ge=a({...G,type:d(`review`),show:i(n()).min(1),edit:e().optional(),regenerate:e().optional()}),_e=a({from:n(),label:n().optional(),formats:i(u(P)).min(1)}),ve=a({...G,type:d(`result`),message:n().optional(),deliverables:i(_e)}),ye=c(`type`,[ce,le,ue,J,me,fe,ge,ve]);function be(e){let t=e.output.fields??[];return!e.call&&e.model===`classifier`&&e.output.format===`json`&&t.length>0&&t.every(e=>e.kind===`yesno`||e.kind===`choice`||e.kind===`score`)&&!e.each&&e.tools.length===0&&!e.mcp?.length&&!e.connections?.length}var xe=a({id:L,title:n().min(1),description:n().optional(),columns:T,key:n().optional(),check:a({file:n().optional(),status:n().optional()}).optional(),shared:e().optional()}),Se=a({id:L,kind:u(D).optional(),connector:n().optional(),actions:i(n()).max(200).optional(),policy:f(n(),u([`allow`,`ask`])).optional(),title:n().optional(),description:n().optional()});a({version:d(1).default(1),title:n().min(1),description:n().default(``),avatar:u(O).default(`round`),intro:n().optional(),lists:i(xe).max(12).optional(),connections:i(Se).max(12).optional(),steps:i(ye).min(1)});function Ce(e){if(e.type===`generate`)switch(e.asset){case`image`:return e.each?[`png`,`zip`]:[`png`];case`video`:return e.each?[`mp4`,`zip`]:[`mp4`];case`voice`:return[`mp3`];case`document`:return[`pdf`,`docx`,`html`,`md`,`png`];case`dashboard`:return[`html`,`pdf`,`png`]}return e.type===`film`?[`mp4`]:e.type===`widget`?e.video?[`mp4`,`png`]:[`html`,`png`,`pdf`,`mp4`,`json`]:e.type===`surface`?[`json`]:e.type===`agent`?e.output.format===`json`?[`json`,`csv`,`xlsx`,`md`,`zip`]:[`md`,`txt`,`docx`,`pdf`,`html`,`zip`]:[]}var we=/^lists\.([a-zA-Z][a-zA-Z0-9_]*)$/;function Te(e){return e.match(we)?.[1]??null}function Ee(e){return e.trim().replace(/^\{\{\s*/,``).replace(/\s*\}\}$/,``)}function De(e){return e.when===void 0&&e.ask===void 0}function Y(e){return e==null||e===``||Array.isArray(e)&&e.length===0}function X(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function Z(e){if(typeof e==`number`)return Number.isFinite(e)?e:null;if(typeof e!=`string`||!e.trim())return null;let t=Number(e.replace(/\s/g,``).replace(`,`,`.`));return Number.isFinite(t)?t:null}function Oe(e,t){let n=t[e.field];switch(e.op){case`empty`:return Y(n);case`notEmpty`:return!Y(n);case`equals`:return String(n)===String(e.value);case`notEquals`:return String(n)!==String(e.value);case`in`:return Array.isArray(e.value)&&e.value.map(String).includes(String(n));case`gt`:case`lt`:{let t=Z(n),r=Z(e.value);return t!==null&&r!==null&&(e.op===`gt`?t>r:t<r)}case`contains`:return Array.isArray(n)?n.map(String).includes(String(e.value)):typeof n==`string`&&e.value!==void 0&&n.toLowerCase().includes(String(e.value).toLowerCase())}}function ke(e,t){return X(e).every(e=>Oe(e,t))}function Ae(e){return!!(e.ask||e.group)}function je(e,t,n){let r={...t,...n},i=[];for(let t of e)ke(t.when,r)?i.push(t):delete r[t.id];return i}var Me=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;function Q(e){let t=Me.exec(e.trim());if(!t)return null;let[,n,r,i,a,o]=t.map(Number),s=new Date(Date.UTC(n,r-1,i,a,o));return s.getUTCMonth()!==r-1||s.getUTCDate()!==i||a>23||o>59||!Number.isFinite(Date.parse(e))?null:{day:`${t[1]}-${t[2]}-${t[3]}`,time:`${t[4]}:${t[5]}`,wall:s}}function Ne(e,t=`de`){let n=Q(e);if(!n)return e;let r=Ie[t];return`${n.wall.toLocaleDateString(r,{weekday:`long`,timeZone:`UTC`})}, ${n.wall.toLocaleDateString(r,{day:`numeric`,month:`long`,timeZone:`UTC`})}`}function Pe(e,t,n){let r=Array.isArray(t)?t:[],i=(e.columns??[]).filter(e=>e.kind!==`text`),a=r.map(e=>{let t=i.length?i.reduce((t,n)=>t*Fe(e[n.id]),1):0;return{...e,amount:$(t)}}),o=$(a.reduce((e,t)=>e+t.amount,0)),s=e.vat?.rate??0;if(e.vat?.field){let t=n[e.vat.field],r=Number.parseFloat(String(t??``).replace(`,`,`.`));Number.isFinite(r)&&(s=r)}let c=$(o*s/100);return{rows:a,net:o,vatRate:s,vat:c,gross:$(o+c),currency:e.currency??`EUR`}}function Fe(e){let t=Number(typeof e==`string`?e.replace(/\s/g,``).replace(`,`,`.`):e);return Number.isFinite(t)?t:0}function $(e){return Math.round(e*100)/100}var Ie={de:`de-DE`,en:`en-GB`};export{Q as C,Ne as S,re as _,k as a,Te as b,A as c,X as d,Ee as f,be as g,Ae as h,O as i,I as l,ie as m,z as n,se as o,Ce as p,M as r,j as s,F as t,he as u,De as v,je as x,Pe as y};
1
+ import{a as e,c as t,d as n,f as r,i,l as a,m as o,n as s,o as c,p as l,r as u,s as d,u as f}from"./surface-SFrZF4HR.js";var p=a({description:n().max(1024).optional(),edit:u([`inline`,`popout`]).optional(),id:n().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/,`column id must be a lowercase slug (a-z, 0-9, _)`),name:n().min(1).max(128),required:e().optional()}),ee=u([`integer`,`decimal`,`percent`,`currency`]),m=a({currency:n().regex(/^[A-Z]{3}$/,`currency must be an ISO 4217 code`).optional(),fractionDigits:t().int().min(0).max(8).optional(),grouping:e().optional(),style:ee}).superRefine((e,t)=>{e.style===`currency`&&!e.currency&&t.addIssue({code:`custom`,message:`currency style needs an ISO 4217 code`,path:[`currency`]}),e.style!==`currency`&&e.currency&&t.addIssue({code:`custom`,message:`currency is only valid on currency columns`,path:[`currency`]})}),h=u([`date`,`datetime`,`time`]),g=u([`short`,`medium`,`long`,`iso`]),_=u([`hours`,`minutes`,`seconds`]),te=a({dateStyle:g.optional(),kind:h,timePrecision:_.optional()}),v=u([`milliseconds`,`seconds`,`minutes`,`hours`,`days`]),y=u([`hms`,`hours`,`minutes`,`decimal-hours`,`iso`]),b=a({display:y,inputUnit:v}),x=a({id:n().min(1).max(64),label:n().min(1).max(128)}),S=a({allowCustom:e(),multiple:e().optional(),options:i(x).max(200)}),ne=u([`single`,`multiline`,`markdown`]),C=a({style:ne.default(`single`)}),w=c(`type`,[p.extend({format:C.optional(),type:d(`text`)}),p.extend({format:m,type:d(`number`)}),p.extend({format:te,type:d(`date`)}),p.extend({format:b,type:d(`duration`)}),p.extend({format:S,type:d(`select`)}),p.extend({type:d(`boolean`)})]),T=i(w).min(1).max(64).superRefine((e,t)=>{let n=new Set;for(let r=0;r<e.length;r++){let i=e[r]?.id;i&&(n.has(i)&&t.addIssue({code:`custom`,message:`duplicate column id "${i}"`,path:[r,`id`]}),n.add(i))}}),E=a({description:n().optional(),edit:u([`inline`,`popout`]).optional(),format:a({allowCustom:e().optional(),currency:n().optional(),dateStyle:u([`short`,`medium`,`long`,`iso`]).optional(),display:y.optional(),fractionDigits:t().int().optional(),grouping:e().optional(),inputUnit:v.optional(),kind:h.optional(),multiple:e().optional(),options:i(x).optional(),style:u([`single`,`multiline`,`markdown`,`integer`,`decimal`,`percent`,`currency`]).optional(),timePrecision:_.optional()}).optional(),id:n(),name:n(),required:e().optional(),type:u([`text`,`number`,`date`,`duration`,`select`,`boolean`])});i(E),a({table_id:n().uuid()});var D=[`mail`],O=[`round`,`drop`,`dome`,`flame`,`oval`,`bean`,`pebble`,`sprout`,`tower`,`wedge`],k=[`text`,`textarea`,`number`,`select`,`multiselect`,`date`,`email`,`url`,`toggle`,`color`,`image`,`file`,`items`,`connection`,`list`,`location`,`audio`,`signature`,`slot`];function re(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let{lat:t,lng:n,label:r}=e;return typeof t==`number`&&typeof n==`number`||typeof r==`string`&&r.trim().length>0}function ie(e){return!!(e&&typeof e==`object`&&typeof e.asset==`string`&&e.asset)}var A=[`web_search`,`web_fetch`,`browser`,`sandbox`,`image`,`http`,`pages`],ae=/^[a-z][a-z0-9-]{0,39}$/,oe=/^[a-z][a-z0-9_]{0,39}$/,j=[`classifier`,`standard`,`high`,`highest`],se=[...j,`image`,`video`,`audio`,`speech`],M=[`low`,`medium`,`high`],N=[`image`,`video`,`voice`,`document`,`dashboard`],P=[`png`,`mp4`,`mp3`,`pdf`,`docx`,`html`,`md`,`txt`,`csv`,`xlsx`,`json`,`zip`],F=[`1:1`,`16:9`,`9:16`,`4:5`,`3:2`,`2:3`],I=[`720p`,`480p`],L=n().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,40}$/,`ids are letters, digits and _ and start with a letter`),R=a({id:L,label:n().min(1),kind:u([`text`,`number`,`money`])}),z=[`equals`,`notEquals`,`in`,`notEmpty`,`empty`,`gt`,`lt`,`contains`],B=a({field:n(),op:u(z),value:l([n(),t(),e(),i(n())]).optional()}),V=l([B,i(B).min(1)]),H=a({id:L,label:n().min(1),kind:u(k),required:e().optional(),placeholder:n().optional(),help:n().optional(),options:i(n()).optional(),default:l([n(),t(),e(),i(n())]).optional(),columns:i(R).optional(),vat:a({rate:t().optional(),field:n().optional()}).optional(),currency:n().optional(),multiple:e().optional(),min:t().int().min(1).max(30).optional(),max:t().int().min(1).max(30).optional(),camera:e().optional(),video:e().optional(),listen:e().optional(),scan:e().optional(),connection:n().optional(),list:n().optional(),prefill:n().optional(),when:V.optional(),optionsFrom:n().optional(),ask:n().min(1).optional(),group:n().optional()}),U=a({id:L,instructions:n().min(1),optional:e().optional()}),W=a({when:V.optional(),ask:n().min(1).optional(),goto:n(),max:t().int().min(1).max(50).optional()}).refine(e=>e.when===void 0||e.ask===void 0,{message:`A branch has "when" or "ask", not both.`}),G={id:L,title:n().min(1),description:n().optional(),next:i(W).optional()},K=a({id:L,kind:u([`text`,`number`,`list`,`table`,`yesno`,`choice`,`score`]),description:n().optional(),columns:i(n().min(1)).optional(),options:i(n().min(1)).min(2).max(40).optional()}).refine(e=>e.kind!==`choice`&&e.kind!==`score`||!!e.options?.length,{message:`A choice or score field lists its options.`,path:[`options`]}).refine(e=>e.kind!==`score`||(e.options?.length??0)<=10,{message:`A score has at most ten levels.`,path:[`options`]}),ce=a({...G,type:d(`page`),fields:i(H).min(1),groups:i(U).max(6).optional(),cta:n().optional()}),q=r([n().regex(ae),`.`,n().regex(oe)]),le=a({...G,type:d(`agent`),instructions:n().default(``),call:a({tool:q,input:f(n(),o()).default({})}).optional(),tools:i(l([u(A),q])).default([]),mcp:i(n()).optional(),connections:i(n()).optional(),output:a({format:u([`text`,`markdown`,`json`]),fields:i(K).optional(),surface:e().optional()}).default({format:`markdown`}),model:u(j).optional(),effort:u(M).optional(),each:n().optional(),working:n().optional()}),ue=a({...G,type:d(`generate`),asset:u(N),prompt:n().min(1),options:a({aspectRatio:u(F).optional(),duration:t().optional(),resolution:u(I).optional(),style:n().optional(),template:u([`invoice`,`offer`,`briefing`,`letter`,`report`,`free`]).optional()}).optional(),referenceImage:n().optional(),each:n().optional(),model:u(j).optional(),effort:u(M).optional(),working:n().optional()}),J=a({...G,type:d(`widget`),entry:n().min(1),data:f(n(),n()).default({}),sample:n().optional(),size:a({width:t().int().min(200).max(3840),height:t().int().min(200).max(3840)}).optional(),video:e().optional(),working:n().optional()}),de=[`16:9`,`9:16`,`1:1`],fe=a({...G,type:d(`film`),brief:n().min(1),skills:i(n().min(1)).max(12).default([`hyperframes`]),kit:n().optional(),inputs:f(n(),n()).default({}),format:u(de).default(`16:9`),seconds:t().int().min(3).max(600).optional(),model:u(j).optional(),effort:u(M).optional(),working:n().optional()}),pe=a({id:L,description:n().min(1),components:s,group:n().optional(),required:e().optional()}),me=a({...G,type:d(`surface`),components:s.optional(),candidates:i(pe).max(16).optional(),groups:i(U).max(6).optional(),data:f(n(),n()).default({}),working:n().optional()}).refine(e=>!!e.components!=!!e.candidates,{message:`A surface step has either "components" or "candidates".`});function he(e,t){let n=new Set(t),r=e.filter(e=>n.has(e.id));return[{id:`root`,component:`Column`,children:r.map(e=>e.components[0]?.id??e.id)},...r.flatMap(e=>e.components)]}var ge=a({...G,type:d(`review`),show:i(n()).min(1),edit:e().optional(),regenerate:e().optional()}),_e=a({from:n(),label:n().optional(),formats:i(u(P)).min(1)}),ve=a({...G,type:d(`result`),message:n().optional(),deliverables:i(_e)}),ye=c(`type`,[ce,le,ue,J,me,fe,ge,ve]);function be(e){let t=e.output.fields??[];return!e.call&&e.model===`classifier`&&e.output.format===`json`&&t.length>0&&t.every(e=>e.kind===`yesno`||e.kind===`choice`||e.kind===`score`)&&!e.each&&e.tools.length===0&&!e.mcp?.length&&!e.connections?.length}var xe=a({id:L,title:n().min(1),description:n().optional(),columns:T,key:n().optional(),check:a({file:n().optional(),status:n().optional()}).optional(),shared:e().optional()}),Se=a({id:L,kind:u(D).optional(),connector:n().optional(),actions:i(n()).max(200).optional(),policy:f(n(),u([`allow`,`ask`])).optional(),title:n().optional(),description:n().optional()});a({version:d(1).default(1),title:n().min(1),description:n().default(``),avatar:u(O).default(`round`),intro:n().optional(),lists:i(xe).max(12).optional(),connections:i(Se).max(12).optional(),steps:i(ye).min(1)});function Ce(e){if(e.type===`generate`)switch(e.asset){case`image`:return e.each?[`png`,`zip`]:[`png`];case`video`:return e.each?[`mp4`,`zip`]:[`mp4`];case`voice`:return[`mp3`];case`document`:return[`pdf`,`docx`,`html`,`md`,`png`];case`dashboard`:return[`html`,`pdf`,`png`]}return e.type===`film`?[`mp4`]:e.type===`widget`?e.video?[`mp4`,`png`]:[`html`,`png`,`pdf`,`mp4`,`json`]:e.type===`surface`?[`json`]:e.type===`agent`?e.output.format===`json`?[`json`,`csv`,`xlsx`,`md`,`zip`]:[`md`,`txt`,`docx`,`pdf`,`html`,`zip`]:[]}var we=/^lists\.([a-zA-Z][a-zA-Z0-9_]*)$/;function Te(e){return e.match(we)?.[1]??null}function Ee(e){return e.trim().replace(/^\{\{\s*/,``).replace(/\s*\}\}$/,``)}function De(e){return e.when===void 0&&e.ask===void 0}function Y(e){return e==null||e===``||Array.isArray(e)&&e.length===0}function X(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function Z(e){if(typeof e==`number`)return Number.isFinite(e)?e:null;if(typeof e!=`string`||!e.trim())return null;let t=Number(e.replace(/\s/g,``).replace(`,`,`.`));return Number.isFinite(t)?t:null}function Oe(e,t){let n=t[e.field];switch(e.op){case`empty`:return Y(n);case`notEmpty`:return!Y(n);case`equals`:return String(n)===String(e.value);case`notEquals`:return String(n)!==String(e.value);case`in`:return Array.isArray(e.value)&&e.value.map(String).includes(String(n));case`gt`:case`lt`:{let t=Z(n),r=Z(e.value);return t!==null&&r!==null&&(e.op===`gt`?t>r:t<r)}case`contains`:return Array.isArray(n)?n.map(String).includes(String(e.value)):typeof n==`string`&&e.value!==void 0&&n.toLowerCase().includes(String(e.value).toLowerCase())}}function ke(e,t){return X(e).every(e=>Oe(e,t))}function Ae(e){return!!(e.ask||e.group)}function je(e,t,n){let r={...t,...n},i=[];for(let t of e)ke(t.when,r)?i.push(t):delete r[t.id];return i}var Me=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;function Q(e){let t=Me.exec(e.trim());if(!t)return null;let[,n,r,i,a,o]=t.map(Number),s=new Date(Date.UTC(n,r-1,i,a,o));return s.getUTCMonth()!==r-1||s.getUTCDate()!==i||a>23||o>59||!Number.isFinite(Date.parse(e))?null:{day:`${t[1]}-${t[2]}-${t[3]}`,time:`${t[4]}:${t[5]}`,wall:s}}function Ne(e,t=`de`){let n=Q(e);if(!n)return e;let r=Ie[t];return`${n.wall.toLocaleDateString(r,{weekday:`long`,timeZone:`UTC`})}, ${n.wall.toLocaleDateString(r,{day:`numeric`,month:`long`,timeZone:`UTC`})}`}function Pe(e,t,n){let r=Array.isArray(t)?t:[],i=(e.columns??[]).filter(e=>e.kind!==`text`),a=r.map(e=>{let t=i.length?i.reduce((t,n)=>t*Fe(e[n.id]),1):0;return{...e,amount:$(t)}}),o=$(a.reduce((e,t)=>e+t.amount,0)),s=e.vat?.rate??0;if(e.vat?.field){let t=n[e.vat.field],r=Number.parseFloat(String(t??``).replace(`,`,`.`));Number.isFinite(r)&&(s=r)}let c=$(o*s/100);return{rows:a,net:o,vatRate:s,vat:c,gross:$(o+c),currency:e.currency??`EUR`}}function Fe(e){let t=Number(typeof e==`string`?e.replace(/\s/g,``).replace(`,`,`.`):e);return Number.isFinite(t)?t:0}function $(e){return Math.round(e*100)/100}var Ie={de:`de-DE`,en:`en-GB`};export{Q as C,Ne as S,re as _,k as a,Te as b,A as c,X as d,Ee as f,be as g,Ae as h,O as i,I as l,ie as m,z as n,se as o,Ce as p,M as r,j as s,F as t,he as u,De as v,je as x,Pe as y};