@engenty/wizards-runtime 0.12.1 → 0.13.0

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 (129) hide show
  1. package/apps/runtime/dist/agents/studio-assistant.js +42 -5
  2. package/apps/runtime/dist/app.js +15 -4
  3. package/apps/runtime/dist/credits/estimate.js +3 -3
  4. package/apps/runtime/dist/db/live-triggers.js +13 -3
  5. package/apps/runtime/dist/db/migrations/tenant/0027_space_skill.sql +48 -0
  6. package/apps/runtime/dist/db/migrations/tenant/meta/0027_snapshot.json +4120 -0
  7. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
  8. package/apps/runtime/dist/db/schema.js +31 -0
  9. package/apps/runtime/dist/docs/dev/skills.md +116 -0
  10. package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +20 -2
  11. package/apps/runtime/dist/docs/user-guide/models.md +105 -30
  12. package/apps/runtime/dist/docs/user-guide/skills.md +85 -0
  13. package/apps/runtime/dist/docs/user-guide/together.md +15 -2
  14. package/apps/runtime/dist/engine/decide.js +1 -1
  15. package/apps/runtime/dist/engine/requirements.js +139 -11
  16. package/apps/runtime/dist/engine/runner.js +47 -5
  17. package/apps/runtime/dist/engine/steps.js +23 -6
  18. package/apps/runtime/dist/engine/template.js +17 -0
  19. package/apps/runtime/dist/harness/model.js +4 -0
  20. package/apps/runtime/dist/link-preview.js +9 -0
  21. package/apps/runtime/dist/live/views.js +2 -0
  22. package/apps/runtime/dist/manage.js +25 -0
  23. package/apps/runtime/dist/mcp/handler.js +55 -1
  24. package/apps/runtime/dist/mcp/seen.js +47 -0
  25. package/apps/runtime/dist/models.js +206 -11
  26. package/apps/runtime/dist/motion-graphics/step.js +2 -2
  27. package/apps/runtime/dist/prompts/goose.md +15 -7
  28. package/apps/runtime/dist/prompts/safety.md +18 -0
  29. package/apps/runtime/dist/prompts/step.md +20 -2
  30. package/apps/runtime/dist/prompts/tools.md +33 -0
  31. package/apps/runtime/dist/routes/marketplace.js +3 -3
  32. package/apps/runtime/dist/routes/runs.js +5 -0
  33. package/apps/runtime/dist/routes/skills.js +84 -0
  34. package/apps/runtime/dist/routes/studio.js +103 -4
  35. package/apps/runtime/dist/safety.js +60 -18
  36. package/apps/runtime/dist/services/manage-reports.js +3 -0
  37. package/apps/runtime/dist/services/marketplace.js +7 -31
  38. package/apps/runtime/dist/services/pages.js +6 -2
  39. package/apps/runtime/dist/services/shares.js +5 -0
  40. package/apps/runtime/dist/services/skills-registry.js +209 -0
  41. package/apps/runtime/dist/services/skills.js +478 -0
  42. package/apps/runtime/dist/services/spaces.js +15 -1
  43. package/apps/runtime/dist/sync/records.js +81 -1
  44. package/apps/runtime/dist/texts.js +45 -0
  45. package/apps/runtime/dist/tools/index.js +7 -4
  46. package/apps/runtime/dist/tools/net-guard.js +8 -4
  47. package/apps/runtime/dist/tools/skills.js +197 -0
  48. package/apps/web/dist/assets/AboutDialog-B-JxkELB.js +1 -0
  49. package/apps/web/dist/assets/{ChangelogDialog-BWaEdlt3.js → ChangelogDialog-SwyId00t.js} +1 -1
  50. package/apps/web/dist/assets/CodeEditor-BwZsk5Al.js +2 -0
  51. package/apps/web/dist/assets/EditorPage-DQ_2FOzI.js +3 -0
  52. package/apps/web/dist/assets/{FlowPreview-DXpzFBRj.js → FlowPreview-DtSpjVTl.js} +1 -1
  53. package/apps/web/dist/assets/Marketplace-DoH4YO3D.js +2 -0
  54. package/apps/web/dist/assets/{NewWizardChannels-B5wuTm7J.js → NewWizardChannels-Tgoexgj4.js} +1 -1
  55. package/apps/web/dist/assets/NewWizardPage-B24AF482.js +7 -0
  56. package/apps/web/dist/assets/OnboardingPage-BEvq4slJ.js +1 -0
  57. package/apps/web/dist/assets/PreviewPane-B_v7Y8R7.js +10 -0
  58. package/apps/web/dist/assets/ProjectPage-ClRuhFJo.js +10 -0
  59. package/apps/web/dist/assets/PublicRunner-MicrpVsv.js +1 -0
  60. package/apps/web/dist/assets/{ReadOnly-Cap_e5ke.js → ReadOnly-BXjv-MSv.js} +1 -1
  61. package/apps/web/dist/assets/SettingsPage-DY8O1r43.js +2 -0
  62. package/apps/web/dist/assets/SetupPage-BOVkVpMu.js +1 -0
  63. package/apps/web/dist/assets/{SharePage-DEeVGatD.js → SharePage-DXGzJSnR.js} +1 -1
  64. package/apps/web/dist/assets/SkillEditor-BzzTDeaU.js +1 -0
  65. package/apps/web/dist/assets/changelog-BLdS-0Bj.js +1 -0
  66. package/apps/web/dist/assets/code-xml-TwKzzMtA.js +1 -0
  67. package/apps/web/dist/assets/{dist-BwhPmMDu.js → dist-BdDd1FxP.js} +1 -1
  68. package/apps/web/dist/assets/dist-EBVTpvRr.js +10 -0
  69. package/apps/web/dist/assets/dist-GlRRx9Xl.js +1 -0
  70. package/apps/web/dist/assets/dist-H1UN89OA.js +1 -0
  71. package/apps/web/dist/assets/eye-Brd-xPUJ.js +1 -0
  72. package/apps/web/dist/assets/i18n-8-Sw11tB.js +55 -0
  73. package/apps/web/dist/assets/index-OsdQFHmh.js +49 -0
  74. package/apps/web/dist/assets/index-QPipX5Fi.css +1 -0
  75. package/apps/web/dist/assets/json-CEsfHdlZ.js +1 -0
  76. package/apps/web/dist/assets/{lock-D-CjMpqn.js → lock-C0uxcOlq.js} +1 -1
  77. package/apps/web/dist/assets/markdown-5-I9_izp.js +29 -0
  78. package/apps/web/dist/assets/{oss-credits-CUpVhKSr.js → oss-credits-DpRWUPjD.js} +1 -1
  79. package/apps/web/dist/assets/{phone-CXSrxw3H.js → phone-DhkHteoJ.js} +1 -1
  80. package/apps/web/dist/assets/{runners-D71NjXtA.js → runners-G-XYaDgR.js} +1 -1
  81. package/apps/web/dist/assets/{session-B2LtqeDq.js → session-BWI-KENJ.js} +1 -1
  82. package/apps/web/dist/assets/theme-D7krsx0_.js +11 -0
  83. package/apps/web/dist/assets/ui-DSXG3f49.js +83 -0
  84. package/apps/web/dist/assets/{upload-hLkuT3Q6.js → upload-BYZTwJTD.js} +1 -1
  85. package/apps/web/dist/assets/{useMutation-C3XBoSVf.js → useMutation-D0QP_k2-.js} +1 -1
  86. package/apps/web/dist/assets/{volume-2-DIxdTlaA.js → volume-2-CVHoxdGM.js} +1 -1
  87. package/apps/web/dist/index.html +9 -8
  88. package/apps/web/dist/mcp/flow.html +66 -66
  89. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +3 -2
  90. package/node_modules/@engenty/wizards-shared/dist/assistant.d.ts +1 -0
  91. package/node_modules/@engenty/wizards-shared/dist/assistant.js +5 -0
  92. package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +107 -0
  93. package/node_modules/@engenty/wizards-shared/dist/definition.js +67 -4
  94. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +18 -0
  95. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +18 -0
  96. package/node_modules/@engenty/wizards-shared/dist/live.d.ts +1 -1
  97. package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +0 -5
  98. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +62 -0
  99. package/node_modules/@engenty/wizards-shared/dist/run.js +52 -0
  100. package/node_modules/@engenty/wizards-shared/dist/skills.d.ts +165 -0
  101. package/node_modules/@engenty/wizards-shared/dist/skills.js +346 -0
  102. package/node_modules/@engenty/wizards-shared/dist/sync.d.ts +4 -2
  103. package/node_modules/@engenty/wizards-shared/dist/sync.js +2 -1
  104. package/node_modules/@engenty/wizards-shared/dist/tiers.d.ts +195 -0
  105. package/node_modules/@engenty/wizards-shared/dist/tiers.js +98 -0
  106. package/package.json +7 -7
  107. package/plugin/.claude-plugin/plugin.json +1 -1
  108. package/plugin/plugin.json +1 -1
  109. package/apps/web/dist/assets/AboutDialog-uGYGy2R2.js +0 -1
  110. package/apps/web/dist/assets/CodeEditor-B5hV1IvK.js +0 -2
  111. package/apps/web/dist/assets/EditorPage-j9BOx5-V.js +0 -3
  112. package/apps/web/dist/assets/Marketplace-DSo6uZF6.js +0 -2
  113. package/apps/web/dist/assets/NewWizardPage-Ci1ZsTJk.js +0 -7
  114. package/apps/web/dist/assets/OnboardingPage-QkdluEZk.js +0 -1
  115. package/apps/web/dist/assets/PreviewPane-swAH89un.js +0 -10
  116. package/apps/web/dist/assets/ProjectPage-Djv5EOYU.js +0 -1
  117. package/apps/web/dist/assets/PublicRunner-Bt8gMxit.js +0 -1
  118. package/apps/web/dist/assets/SettingsPage-C2rmXm_Q.js +0 -2
  119. package/apps/web/dist/assets/SetupPage-CbqGgFPZ.js +0 -1
  120. package/apps/web/dist/assets/changelog-DAY6ZEyy.js +0 -1
  121. package/apps/web/dist/assets/dist-DVpDdhG9.js +0 -1
  122. package/apps/web/dist/assets/dist-DzdNG7Sf.js +0 -10
  123. package/apps/web/dist/assets/i18n-B3J2ypKu.js +0 -55
  124. package/apps/web/dist/assets/index-Dxwbli0m.css +0 -1
  125. package/apps/web/dist/assets/index-WY5lJ_-h.js +0 -49
  126. package/apps/web/dist/assets/json-D2GVvTXK.js +0 -1
  127. package/apps/web/dist/assets/markdown-DwdMW7q0.js +0 -29
  128. package/apps/web/dist/assets/theme-Dab079EV.js +0 -11
  129. package/apps/web/dist/assets/ui-DQX_CQ7c.js +0 -83
@@ -190,6 +190,13 @@
190
190
  "when": 1792835137127,
191
191
  "tag": "0026_run_impersonated_by",
192
192
  "breakpoints": true
193
+ },
194
+ {
195
+ "idx": 27,
196
+ "version": "6",
197
+ "when": 1793266571661,
198
+ "tag": "0027_space_skill",
199
+ "breakpoints": true
193
200
  }
194
201
  ]
195
202
  }
@@ -1,3 +1,4 @@
1
+ import { SKILL_MODES, SKILL_SOURCES, } from "@engenty/wizards-shared/skills";
1
2
  import { sql } from "drizzle-orm";
2
3
  import { blob, index, integer, primaryKey, real, sqliteTable, text, uniqueIndex, } from "drizzle-orm/sqlite-core";
3
4
  const now = sql `(unixepoch() * 1000)`;
@@ -509,6 +510,36 @@ export const spaceItemCategory = sqliteTable("space_item_category", {
509
510
  index("space_item_category_table").on(t.tableId),
510
511
  index("space_item_category_file").on(t.fileId),
511
512
  ]);
513
+ // --- Skills -------------------------------------------------------------------------
514
+ // Instructions in the Agent Skills format the space's wizards follow (docs/plans/skills.md):
515
+ // always, or when a step reads one. Text only, the folder's files kept beside the instructions.
516
+ export const spaceSkill = sqliteTable("space_skill", {
517
+ id: text("id").primaryKey(),
518
+ tenantId: text("tenant_id").notNull(),
519
+ projectId: text("project_id")
520
+ .notNull()
521
+ .references(() => project.id, { onDelete: "cascade" }),
522
+ /** Its name in the format: lower case and hyphens, unique in the space. */
523
+ name: text("name").notNull(),
524
+ description: text("description").notNull(),
525
+ /** The Markdown after the front matter of its `SKILL.md`. */
526
+ body: text("body").notNull().default(""),
527
+ /** The rest of the front matter, kept as it came (`license`, `metadata` …). */
528
+ meta: text("meta", { mode: "json" }).$type().notNull().default({}),
529
+ /** The other files of its folder, by their path in it. */
530
+ files: text("files", { mode: "json" }).$type().notNull().default([]),
531
+ /** Files for its scripts only, their bytes in the blob store (files/blobs.ts). */
532
+ blobFiles: text("blob_files", { mode: "json" }).$type().notNull().default([]),
533
+ mode: text("mode", { enum: SKILL_MODES }).notNull().default("demand"),
534
+ /** Its scripts run in the sandbox of a step that has one: switched on by a person, never by default. */
535
+ runScripts: integer("run_scripts", { mode: "boolean" }).notNull().default(false),
536
+ source: text("source", { enum: SKILL_SOURCES }).notNull().default("own"),
537
+ /** skills.sh: `owner/repo/skill`, and the hash of what it had when added. */
538
+ origin: text("origin"),
539
+ originHash: text("origin_hash"),
540
+ createdAt: createdAt(),
541
+ updatedAt: updatedAt(),
542
+ }, (t) => [uniqueIndex("space_skill_name").on(t.projectId, t.name)]);
512
543
  export const assistantChat = sqliteTable("assistant_chat", {
513
544
  id: text("id").primaryKey(),
514
545
  tenantId: text("tenant_id").notNull(),
@@ -0,0 +1,116 @@
1
+ ---
2
+ title: Skills
3
+ description: The skills of a space – the SKILL.md engenty wizards reads, its limits, the studio’s routes, the two tools a step reads skills with and how their scripts run in the sandbox.
4
+ version: 0.11.6
5
+ ---
6
+
7
+ A space’s skills are instructions in the Agent Skills format that its AI steps follow. They sit
8
+ behind the `skills` switch, which is off by default. While it is off, every route below answers
9
+ 404 and no step sees a skill.
10
+
11
+ ## The format
12
+
13
+ A skill is a folder with a `SKILL.md`: front matter, then Markdown.
14
+
15
+ ```markdown
16
+ ---
17
+ name: brand-voice
18
+ description: How we write. Use it for every text a person reads.
19
+ license: MIT
20
+ ---
21
+
22
+ # Brand voice
23
+
24
+ Short sentences, first names, no exclamation marks. Examples in references/examples.md.
25
+ ```
26
+
27
+ - `name`: lower-case letters, digits and single hyphens, at most 64 characters, unique in the
28
+ space.
29
+ - `description`: at most 1024 characters. On demand, a step decides by it alone.
30
+ - Other keys (`license`, `metadata`, `allowed-tools` …) are kept as they came and written back
31
+ on download. engenty wizards reads the subset of YAML skills use: plain and quoted values,
32
+ block scalars (`|`, `>`), lists and one level of mapping.
33
+ - Every other file of the folder is kept by its path. Text a model reads (Markdown, code, data,
34
+ YAML, JSON) sits in the skill’s row while it fits. Any other file (a font, a template, an
35
+ `.xsd` schema), and text past the limits, is a file for scripts: its bytes go to the blob store
36
+ by their SHA-256 (`blob_files` holds path, hash and size), so a step that reads the space’s
37
+ skills never loads them. No model reads them. They sync by hash, as workspace files do.
38
+
39
+ | | At most |
40
+ | --- | --- |
41
+ | `SKILL.md` | 100,000 bytes |
42
+ | Any other file | 256,000 bytes |
43
+ | A whole skill’s text | 1,000,000 bytes, 100 files |
44
+ | A file for scripts | 5,000,000 bytes |
45
+ | A skill’s files for scripts | 20,000,000 bytes, 200 files |
46
+ | Skills in a space | 100 |
47
+ | Skills always on | 5, their instructions 20,000 characters together |
48
+ | Skills on demand a step sees by name | 50 |
49
+
50
+ ## In a step
51
+
52
+ Every AI step of the space’s wizards gets, after Brand and Knowledge:
53
+
54
+ - **The skills always on**, whole, under `# SKILLS THE SPACE ALWAYS USES`, each in
55
+ `<skill name="…">`. The step’s ground rules and its task come first.
56
+ - **The skills on demand**, by name and description, under `# SKILLS ON DEMAND`.
57
+ - Two tools:
58
+ - `skill_load { name }` answers the skill’s instructions and the paths of its files.
59
+ - `skill_read { name, path, from? }` answers one file, 30,000 characters at a time.
60
+
61
+ Without the sandbox, `skill_read`’s description says that scripts are text and nothing runs
62
+ them. A file for scripts answers that it isn’t text to read.
63
+
64
+ A step that writes HTML (a document, a dashboard) gets the skills always on, without tools. A
65
+ model that runs no tools (an on-device model) gets the skills always on alone. The run shows
66
+ “Reading the skill …” for each read. Goose gets the same two tools and a list of the space’s
67
+ skills.
68
+
69
+ ## Scripts in the sandbox
70
+
71
+ `run_scripts` on a skill (`runScripts` in the API and the sync record) is off for every new
72
+ skill, from skills.sh too, and for a copy. A person switches it on in the studio. skills.sh
73
+ skills are unchecked third-party code, and the Docker sandbox has open internet access.
74
+
75
+ A step whose `tools` include `sandbox`, on a server where the sandbox is on, then:
76
+
77
+ - reads under the skills a line naming the skills whose scripts run (`skills.scripts` in
78
+ `prompts/step.md`);
79
+ - writes the skill’s folder to `skills/<name>/` in the sandbox’s working directory (`/sandbox`)
80
+ when `skill_load` loads it: `SKILL.md`, the text files and the files for scripts. The folder is
81
+ removed first and written once per run and version of the skill, eight files at a time;
82
+ - gets `folder` and a `scripts` note in `skill_load`’s answer, which says to run the scripts with
83
+ `run_command` from the working directory (`python3 skills/pdf/scripts/fill.py`) and to install
84
+ what they import first.
85
+
86
+ If the folder can’t be written, `skill_load` still answers the instructions, and the note says
87
+ the scripts can’t run in this step. A skill with `run_scripts` off, a step without the sandbox,
88
+ and Goose get the text alone. The code is in `apps/runtime/src/tools/skills.ts`.
89
+
90
+ ## Routes
91
+
92
+ Under `/api/studio`, signed in as for the studio:
93
+
94
+ | Route | What it does |
95
+ | --- | --- |
96
+ | `GET /projects/:id/skills` | The space’s skills, without their content |
97
+ | `POST /projects/:id/skills` | A new skill: `{ name, description, body?, mode? }` |
98
+ | `POST /projects/:id/skills/upload` | A `SKILL.md`, `.zip` or `.skill` in the form field `file` |
99
+ | `GET /projects/:id/skills/registry?q=` | A search on skills.sh |
100
+ | `GET /projects/:id/skills/registry/preview?ref=` | A skill of skills.sh read whole: `owner/repo/skill` |
101
+ | `POST /projects/:id/skills/registry` | Adds one: `{ ref, mode? }` |
102
+ | `GET`, `PATCH`, `DELETE /skills/:id` | One skill. `PATCH` takes `name`, `description`, `body`, `meta`, `files`, `mode`, `runScripts`, or the whole `skillMd` |
103
+ | `POST /skills/:id/copy` | A copy as the space’s own skill |
104
+ | `GET /skills/:id/zip` | The skill’s folder as a zip |
105
+ | `GET`, `POST /skills/:id/update` | What skills.sh has now, and taking it: `{ hash }` |
106
+
107
+ `mode` is `always`, `demand` or `off`. A skill from skills.sh changes its `mode` and
108
+ `runScripts` only. Its content changes with an update. An upload takes up to 32 MB.
109
+
110
+ ## skills.sh
111
+
112
+ The runtime searches `https://skills.sh/api/search` and reads a skill from
113
+ `https://skills.sh/r/<owner>/<repo>/<skill>`, which hands out the `SKILL.md` and the text files
114
+ of its folder; it leaves out fonts and pictures. `SKILLS_REGISTRY_URL` points elsewhere, for tests or a mirror. A skill from an owner
115
+ on skills.sh’s official list counts as from an official source. The list is in
116
+ `packages/shared/src/skills.ts`.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Agent steps
3
- description: An AI step's instructions, tools, output, model class, decisions, and one run per entry.
4
- version: 0.11.3
3
+ description: An AI step’s instructions, tools, output, model class and maker, decisions, and one run per entry.
4
+ version: 0.12.2
5
5
  ---
6
6
 
7
7
  An `agent` step is an AI step. It reads its `instructions`, may call tools, and returns its
@@ -77,6 +77,24 @@ outside the wizard.
77
77
  | `standard` | Research with tools, long documents, reasoning over many sources. The default |
78
78
  | `high` | Hard reasoning or writing code. Several times the cost of `standard` |
79
79
 
80
+ `maker` (`anthropic`, `openai`, `google`, `mistral`) asks for that maker’s model of the class,
81
+ never another maker’s. Each maker has its own classes:
82
+
83
+ | `maker` | `model` |
84
+ |---|---|
85
+ | `anthropic`, `openai` | `low`, `standard`, `high`, `highest` |
86
+ | `google` | `low`, `standard`, `high` |
87
+ | `mistral` | `low`, `high` |
88
+
89
+ `highest` exists only with a maker, and `classifier` takes none. A maker counts on engenty.ai,
90
+ where the organization’s model tier binds the maker’s class to one of its models. Elsewhere the
91
+ step runs on its plain class, `highest` as `high`. The editor writes `maker` when someone chooses a
92
+ step’s model by name.
93
+
94
+ ```json
95
+ { "id": "draft", "type": "agent", "model": "high", "maker": "anthropic" }
96
+ ```
97
+
80
98
  `effort` (`low`, `medium`, `high`) tells the model how hard to think, where the bound model can be
81
99
  told. Leave it out unless a step is clearly simple or clearly hard.
82
100
 
@@ -1,26 +1,34 @@
1
1
  ---
2
2
  title: Models and account
3
3
  description: What runs the AI in your wizards – an AI client on your computer, your own API keys, a local model or credits.
4
- version: 0.11.13
4
+ version: 0.12.2
5
5
  ---
6
6
 
7
7
  Settings → Models decides what runs the AI in your wizards. On your computer you set it up
8
- yourself. On engenty.ai you set it in the studio there.
8
+ yourself. On engenty.ai the organization’s admins set it in the studio there, for everyone in it.
9
9
 
10
- ## What the wizards can do
10
+ ## Overview
11
11
 
12
- The menu lists five capabilities under “Capabilities”. A dot beside each one shows how it runs:
13
- green on something of your own, amber on credits, hollow when nothing is set up.
12
+ The page opens on “Overview”. Its card says what everything “Runs with” – your subscription, your
13
+ own API key, a model on this computer or your engenty credits – and what it is “Helped by”. In the
14
+ cloud it names the organization’s plan and, on a plan with tiers, the [tier](#which-models).
14
15
 
15
- | Capability | Used for | Classes |
16
- |---|---|---|
17
- | Text & reasoning | Writing, research and decisions in the steps | Classifier, Low, Standard, High |
18
- | Images | Logos, product shots, illustrations | Image |
19
- | Videos | Short clips from text or an image | Video |
20
- | Voice | Reading text aloud | Speech |
21
- | Voice notes | Turning speech into text | Audio |
16
+ Below that, “Which model for what” lists each job with a dot for its state: green when it is
17
+ ready, amber when something is missing, hollow when the tier doesn’t offer it. The menu beside
18
+ the page has the same jobs in two groups:
19
+
20
+ | Group | Job | Used for | Classes |
21
+ |---|---|---|---|
22
+ | In the studio | Studio chat (Goose) | Goose and the chat in the editor that builds your wizards | Its own, see [Studio chat](#studio-chat-goose) |
23
+ | Agents & wizards | Text & reasoning | Writing, research, decisions and knowledge search in the steps | Classifier, Low, Standard, High |
24
+ | Agents & wizards | Images & video | Logos, product shots, illustrations, short clips | Image, Video |
25
+ | Agents & wizards | Voice | Reading text aloud, turning voice notes into text | Speech, Audio |
26
+
27
+ “Access” lists what engenty can use: Credits, AI apps, Local models and API keys, and in the cloud
28
+ Masking for the admins. On engenty.ai a member sees Credits and API keys; AI apps and local models
29
+ are the admins’ choice there.
22
30
 
23
- A capability’s page asks “Who does it?”:
31
+ A job’s page asks “Who does it?”:
24
32
 
25
33
  | Choice | What it is | Cost |
26
34
  |---|---|---|
@@ -28,14 +36,14 @@ A capability’s page asks “Who does it?”:
28
36
  | Your own API key | OpenAI, Anthropic, Google Gemini, fal.ai, ElevenLabs, Replicate or Vercel AI Gateway | The provider bills your key |
29
37
  | Apple Intelligence | The model on this Mac: short texts and decisions (Classifier, Standard) and voice notes. See [Apple Intelligence](#apple-intelligence) | Nothing |
30
38
  | Local model | [Ollama](https://ollama.com) on this computer: text, search and decisions. See [Local models](#local-models) | Nothing |
31
- | engenty credits | Your account’s credits. engenty chooses the model, or you choose one it offers (FLUX on fal, ElevenLabs voices, Veo …) | Credits |
39
+ | engenty credits | Your account’s credits. Auto picks the model, or you choose one it offers (FLUX on fal, ElevenLabs voices, Veo …) | Credits |
32
40
 
33
41
  Below that you choose the provider’s model, and “Try it” makes one real call: a short answer, a
34
42
  test image, a voice to hear, a 4-second clip or a transcript. A try costs the same as a real call.
35
43
 
36
44
  With an account, credits step in where you have nothing of your own set up – for example,
37
- videos without your own API key. The switch “Credits step in” on the page “engenty credits” turns
38
- that off. A capability with nothing of its own set up then doesn’t run.
45
+ videos without your own API key. The switch “Credits step in” on the page “Credits” turns that
46
+ off. A job with nothing of its own set up then doesn’t run.
39
47
 
40
48
  ## Local models
41
49
 
@@ -87,12 +95,15 @@ engenty wizards checks a key with its provider before it stores it. On your comp
87
95
  in the Keychain on a Mac and in an encrypted file in the data folder elsewhere. On engenty.ai
88
96
  they are kept encrypted for the organization. They are never in the database, and nobody sees them again.
89
97
 
90
- Under “Access” you find the credits, the AI clients on this computer and each provider you gave
91
- a key. The other providers are under “More providers”. A provider’s page holds its key, what it
92
- is used for, and which of its models run on credits without your own API key.
98
+ “API keys” under “Access” lists each key there is, masked to its prefix and last four characters (`sk-…a1b2`), with
99
+ where it comes from: kept in the studio, or an environment variable on this computer. The other
100
+ providers are under “More providers”. A provider’s page holds its key, what it is used for, and
101
+ which of its models run on credits without your own API key. What runs on a key costs no credits.
93
102
 
94
- On engenty.ai, your own API keys come with the Pro plan. Without them, runs use the organization’s
95
- credits.
103
+ On engenty.ai, own API keys need a plan that has them: from Pro. The tier doesn’t forbid them.
104
+ The admins choose whether the organization uses them, and then the provider handles the data
105
+ under your contract with it, not under the tier’s promises. Without own keys, runs use the
106
+ organization’s credits.
96
107
 
97
108
  Vercel refuses many models for an AI Gateway key on its free tier. The Models page and the check
98
109
  before a run say so, with a link to top up at Vercel.
@@ -109,7 +120,10 @@ before a run say so, with a link to top up at Vercel.
109
120
 
110
121
  ## Model per class
111
122
 
112
- A step names a class, never a model. For text, “Adjust per class” sets the model of each class.
123
+ A step names a class, never a model. In the editor you choose a step’s model by name: “Auto” (the
124
+ right one for each task) or a model of the list, with a hint such as “fast · low cost” or
125
+ “thorough”. The step keeps the class, with the model’s maker where you chose one, so it follows
126
+ when a newer model takes the class. For text, “Adjust per class” sets the model of each class.
113
127
  Under each class the page shows what its model needs at least, and warns when the chosen model
114
128
  lacks some of it:
115
129
 
@@ -137,17 +151,16 @@ a Knowledge search found. Jev is reached through an AI Gateway key, a TypeSafe k
137
151
  (`TYPESAFE_API_KEY` in the settings file), the Clef-flash model in Ollama on this computer, or
138
152
  your account. Without any of them, the Classifier class decides.
139
153
 
140
- ## Agent chat
154
+ ## Studio chat (Goose)
141
155
 
142
- Settings → Models has two groups. “In the studio” holds **Agent chat**: what answers Goose and the
143
- editor’s chat that builds your wizards. “In runs” holds what your wizards’ steps use: text,
144
- images, video, voice and voice notes.
156
+ “In the studio” holds **Studio chat (Goose)**: what answers Goose and the editor’s chat that builds
157
+ your wizards. “Agents & wizards” holds what your wizards’ steps use.
145
158
 
146
159
  | Choice | Means |
147
160
  |---|---|
148
161
  | Your subscription: Claude Code, Codex, Cursor Agent | The program on this computer answers, using your sign-in there. It works only through the tools of engenty wizards: it runs no commands and changes no files of its own |
149
162
  | Your own API key: OpenAI, Anthropic, Google Gemini, Vercel AI Gateway | A model of that provider answers, on your key |
150
- | engenty credits | The credits pay, through your account. engenty picks the models |
163
+ | engenty credits | The credits pay, through your account. Auto picks the models |
151
164
 
152
165
  The list shows each program that is installed and signed in. Without a choice, Claude Code answers
153
166
  where it is the source of your models, else the first way that is ready. With none ready, the chat
@@ -160,8 +173,69 @@ type any name.
160
173
 
161
174
  In a message box’s **+** menu, **Extra effort** switches the chat to the more capable model for the
162
175
  conversation. The editor chat starts with it on, Goose with it off. When Goose sees demanding work,
163
- it offers a button under its answer. In the cloud, the organization’s credits pay and engenty picks
164
- the models.
176
+ it offers a button under its answer.
177
+
178
+ In the cloud, the organization’s credits pay and Auto picks the models from the tier. Where the
179
+ admins allow it, members can answer the chat with their own subscription (“AI apps”: Claude Code,
180
+ Codex, Cursor) or a model on their computer (“Local models”: Ollama, Apple). These serve the
181
+ studio chat only; agents and wizards never run on them. What the chat reads then goes to the
182
+ subscription’s provider under its terms; a local model keeps it on the computer.
183
+
184
+ ## Which models
185
+
186
+ On engenty.ai, an organization on Pro or Team has a model tier. Its admins choose it under
187
+ “Which models”, and it applies to everyone in the organization, in the studio and in every agent
188
+ and wizard.
189
+
190
+ | Tier | What it promises | Plans |
191
+ |---|---|---|
192
+ | All models | The best models worldwide. Providers process data on their own terms | Pro, Team |
193
+ | EU data protection | Models in EU data centres. Providers store nothing and don’t train on what they get | Pro, Team |
194
+ | EU sovereign | EU companies and EU servers only, open models. Less choice | Team |
195
+
196
+ An organization that hasn’t picked a tier, and one on Free, runs on All models. A tier set by
197
+ contract shows “Your organization’s contract sets this.” The tier’s page lists what it promises
198
+ (“Runs in the EU”, “Providers keep no data”, “Never used for training”) and what each class runs
199
+ on. A class the tier doesn’t offer shows “Not offered”, and a step that needs it counts as missing
200
+ a model. Web search can be off on a tier; steps that search the
201
+ web then run without it.
202
+
203
+ Own API keys and members’ subscriptions are allowed on every tier, as the admins’ choice. The
204
+ page says where the data then goes: to that provider, under its own terms or your contract, not
205
+ under the tier’s promises. Apps that read a space over MCP stay off on a tier whose providers
206
+ keep no data.
207
+
208
+ The account’s billing pages show which models and providers the organization’s calls went to
209
+ and the sub-processors of each tier.
210
+
211
+ ## Model choice
212
+
213
+ “Model choice” sets how the admins share out the tier, for wizards, Goose and work chats. Running
214
+ work finishes as it started.
215
+
216
+ | Way | Means |
217
+ |---|---|
218
+ | Preselection | People choose from the tier’s preselection: Auto and a few models that fit best. New models join on their own |
219
+ | You set defaults | A default per task. People switch to any model in the tier, up to the effort you allow |
220
+ | Expert mode | The admins decide which models people choose from, separately for wizards, Goose and work chats, with the efforts they allow. New models join only when they approve them |
221
+
222
+ The model menus in the editor and in Goose’s message box offer what the way allows.
223
+
224
+ ## Masking
225
+
226
+ In an organization with a tier, the admins can switch on “Mask personal data”. Then names, email addresses, phone numbers, IBANs and IDs become
227
+ placeholders before a call leaves engenty, and come back in the answer. A placeholder stays the
228
+ same within a run, so the model can still tell people apart. Each call that had something to
229
+ mask costs credits on top.
230
+
231
+ Under “What else to mask” the admins say in a sentence what else to look for, such as “Mask our
232
+ clients’ names, internal code names and anything about employees’ health.” engenty turns it into
233
+ things to look for (“Looks for”), in every call of the organization. They can remove one or add
234
+ their own: in English, as a plain word for what the thing is (“company” finds more than “customer
235
+ name”). “Try a sentence” shows what the model would see.
236
+
237
+ Not masked yet: decisions answered by the decision model, knowledge search, voice (what is read
238
+ aloud and voice notes) and files sent as they are, such as images and PDFs.
165
239
 
166
240
  ## Account
167
241
 
@@ -186,7 +260,8 @@ They stop when the credits are used up, until you top up.
186
260
  While you are signed in, the studio uses the name and email of your account. Settings → Account
187
261
  shows them under “Profile”, and you can’t change them there. The avatar carries a small cloud.
188
262
  Its menu says “Connected to engenty.ai” and shows your credits, or says “Sign-in expired” when
189
- you need to sign in again.
263
+ you need to sign in again. In the studio on engenty.ai, Settings → General shows the
264
+ organization’s credits with its plan, and Settings → Credits their entries.
190
265
 
191
266
  Without an account, engenty wizards isn’t connected to anything. Your wizards, the space and its
192
267
  files stay on your computer.
@@ -0,0 +1,85 @@
1
+ ---
2
+ title: Skills
3
+ description: Instructions your wizards work by – always, or when a wizard needs one. Add them from skills.sh, upload them or write your own.
4
+ version: 0.11.6
5
+ ---
6
+
7
+ A skill is a set of instructions your wizards work by: how you write, what a quote must hold, how
8
+ to handle a PDF. You find them under **Sources › Skills**. Skills are not switched on for
9
+ everyone yet.
10
+
11
+ A skill is a folder in the open Agent Skills format: a `SKILL.md` with a name, a description and
12
+ the instructions, and any text files the instructions point to. The same skill works in Claude,
13
+ Codex and other tools.
14
+
15
+ ## When a skill applies
16
+
17
+ Each skill has one of three settings:
18
+
19
+ - **Always on.** Every AI step of every wizard in the space follows it. Use it for rules that
20
+ always hold, such as your tone or what you never promise. It costs tokens on every run, so at
21
+ most 5 skills can be always on, with 20,000 characters together.
22
+ - **On demand.** A wizard sees the skill’s name and description, and reads the skill when the
23
+ description fits its task. The description decides, so write it as “what it is for and when it
24
+ is needed”.
25
+ - **Off.** The skill stays in the space, and no wizard sees it.
26
+
27
+ A wizard reads a file of a skill when the skill’s instructions point to it. Goose sees the
28
+ space’s skills too and reads them when they help.
29
+
30
+ ## Add a skill
31
+
32
+ “Add” offers three ways, and the search in the middle of the page finds skills both in your space
33
+ and on skills.sh:
34
+
35
+ - **From skills.sh.** Search the open directory of skills. Skills from organizations that skills.sh
36
+ lists as official show “official source”, and the search shows only those until you switch
37
+ “Official sources only” off. Every other skill shows “not checked”. You see each skill whole
38
+ before you add it: its instructions and its files.
39
+ - **Write a skill.** Give it a name (lower-case letters, digits and hyphens) and a description,
40
+ then write the instructions.
41
+ - **Upload.** Drop a `SKILL.md`, a `.zip` or a `.skill` file on the page. A zip brings the folder
42
+ of its `SKILL.md` along.
43
+
44
+ A wizard reads a skill’s text files: instructions, references, examples, scripts. Other files,
45
+ such as fonts, templates or pictures, come along for the skill’s scripts, and the page shows them
46
+ as “for scripts”. skills.sh hands out text files only, so a skill that needs fonts or templates
47
+ comes as a zip upload.
48
+
49
+ ## Run a skill’s scripts
50
+
51
+ Some skills bring scripts in Python or JavaScript, such as one that fills a PDF form. A script
52
+ runs only when you switch on **Run scripts** on the skill’s page. Every skill starts with it off,
53
+ also one from skills.sh.
54
+
55
+ With it on, an AI step that has the sandbox puts the skill’s folder there when it loads the skill,
56
+ and runs the scripts the instructions call for. A step without the sandbox, or a computer where
57
+ the sandbox is off, keeps the scripts as text.
58
+
59
+ The sandbox is connected to the internet. Read the scripts of a skill nobody checked before you
60
+ switch them on: one you uploaded, or one from a source skills.sh doesn’t list as official. The
61
+ page says so beside the switch.
62
+
63
+ ## Edit a skill
64
+
65
+ Your own skills save as you type. The name and the description stand at the top. “Code” shows
66
+ the whole `SKILL.md`, “Preview” shows the instructions as they read. A file opens in a dialog.
67
+
68
+ A skill from skills.sh stays as it came. When skills.sh has a newer version, the skill’s page
69
+ says so, and you see the changes before you take them (“View changes”). To change it yourself,
70
+ copy it as your own skill.
71
+
72
+ “Download as .zip” gives you the skill’s folder, for another tool or another space.
73
+
74
+ ## Limits
75
+
76
+ | | At most |
77
+ | --- | --- |
78
+ | `SKILL.md` | 100 KB |
79
+ | Any other file | 256 KB |
80
+ | A whole skill | 1 MB of text in 100 files |
81
+ | Files for scripts | 5 MB each, 20 MB and 200 files per skill |
82
+ | Skills in a space | 100 |
83
+ | Skills always on | 5, with 20,000 characters together |
84
+
85
+ Skills come along with the [two-way sync](./cloud-sync.md) like the rest of the space.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Working together
3
- description: How the studio shows what others change while you work, merges it with what you type, and shows who else is in a wizard, page or table.
4
- version: 0.10.0
3
+ description: How the studio shows what others change while you work, merges it with what you type, shows who else is in a wizard, page or table, and where an organization’s settings are.
4
+ version: 0.12.2
5
5
  ---
6
6
 
7
7
  The studio shows changes made elsewhere as they happen. You don’t reload anything. That holds
@@ -49,6 +49,19 @@ An app over MCP learns who else is in a wizard when it reads or changes it. When
49
49
  the same wizard, the app hears that their editor merges its change, and it tells you before
50
50
  larger changes.
51
51
 
52
+ ## Your organization
53
+
54
+ On engenty.ai the settings start with the organization’s:
55
+
56
+ | Page | What it holds |
57
+ |---|---|
58
+ | General | The organization’s name; its plan with what is in use (Spaces, Members, Credits left, Models: the [tier](./models.md#which-models) and the tiers the plan offers), and “Change plan” for owners and admins; its address, where the studio and the published wizards live |
59
+ | Members | Who is in it and who is invited, with their roles. Owners and admins change roles and remove people; owners invite, and on Team admins too. “Leave the organization” is here too, while someone else is in it |
60
+ | Credits, Usage, Invoices | The balance and its entries, what was spent, the bills |
61
+
62
+ The person who made the organization can change its address once, in its first 14 days. The
63
+ studio moves with it.
64
+
52
65
  ## Switch it off
53
66
 
54
67
  To turn live changes off on your computer, add this line to `~/.engenty/wizards/.features`:
@@ -12,7 +12,7 @@ function stateText(state) {
12
12
  return text.length > MAX_STATE_CHARS ? `${text.slice(0, MAX_STATE_CHARS)}…` : text;
13
13
  }
14
14
  async function askSystemOne(input, signal) {
15
- const access = await systemOneAccess().catch(() => null);
15
+ const access = await systemOneAccess(input.call).catch(() => null);
16
16
  if (!access) {
17
17
  return {};
18
18
  }