wizards 0.9.1 → 0.9.3

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 (3) hide show
  1. package/README.md +24 -13
  2. package/install.sh +43 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -20,21 +20,22 @@
20
20
  or a browser. Anything that changes an account asks first.
21
21
  - **Share it with a link.** Anyone can run a wizard in the browser, on a phone too: camera,
22
22
  code scan, voice notes, location and a drawn signature included. Results download as PDF,
23
- Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link.
23
+ Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link. Each wizard
24
+ wears a theme of your space: its colours, fonts and effects.
24
25
  - **Send the result on.** From the result, by email, into Google Drive, OneDrive or S3, to a
25
26
  Slack channel, through any connected service, or onto a website the wizard opens in its
26
27
  browser – you sign in yourself and confirm before anything goes public.
27
28
  - **Runs on your machine, on your subscription.** It uses Codex, Claude Code, Antigravity
28
29
  or Cursor Agent when one is installed and signed in, so no API key is needed. Or bring a key
29
- (Vercel AI Gateway, OpenAI, Anthropic), or a local model through Ollama. Your wizards and
30
+ (Vercel AI Gateway, OpenAI, Anthropic, Google), or a local model through Ollama. Your wizards and
30
31
  results stay in a folder on your machine.
31
32
 
32
33
  ## How it looks
33
34
 
34
- The studio: a wizard’s steps as a flow with its branches, next to the conversation that changes them.
35
+ The studio: the conversation that changes a wizard, next to its steps as a flow with its branches.
35
36
 
36
37
  <p align="center">
37
- <img src="docs/assets/studio.png" alt="The studio of engenty wizards: the flow of a wizard that collects a month's receipts for bookkeeping – two pages of questions, AI steps that branch to the inbox and to customer portals, a review and the result – with the conversation beside it">
38
+ <img src="docs/assets/studio.png" alt="The studio of engenty wizards: the assistant explains where a wizard that collects a month's receipts for bookkeeping looks for them; beside it the wizard's flow – two pages of questions, AI steps that branch to the mailbox and to customer portals, a review and the result">
38
39
  </p>
39
40
 
40
41
  A wizard in use: it asks on one page, then on the next, and ends with the result to download or share.
@@ -74,14 +75,14 @@ then walks you through the rest:
74
75
  `--local` leaves the account out: nothing leaves the computer, links answer on it only
75
76
  ([local only](https://engenty.ai/docs/user/local-only)).
76
77
  - **An AI client.** It looks for Codex, Claude Code, Antigravity and Cursor Agent and
77
- offers to install the missing ones – first the one whose app (Claude, ChatGPT, Cursor) is
78
- on your Mac, as its subscription is most likely yours already. The first page of the studio
78
+ offers to install the missing ones – first the one whose app (Claude, ChatGPT, Antigravity,
79
+ Cursor) is on your Mac, as its subscription is most likely yours already. The first page of the studio
79
80
  installs them too. Or use your account’s credits, an API key, [Ollama](https://ollama.com) or,
80
81
  on a Mac with Apple silicon and macOS 26, Apple Intelligence.
81
82
  - **A browser and ffmpeg** (optional): Chrome, Edge or Chromium (on a Mac also Brave) for PDF
82
83
  and PNG exports and for steps that use a browser, ffmpeg for MP4 videos of animated widgets.
83
84
  - **Start at login** (optional): engenty wizards starts in the background when you log in (a
84
- LaunchAgent on a Mac, a systemd user service on Linux). Links and AI clients then always
85
+ LaunchAgent on a Mac, a systemd user service on Linux, a scheduled task on Windows). Links and AI clients then always
85
86
  reach it. `wizards autostart on` or `off` switches it later.
86
87
  - **Your AI apps** (optional): adds your wizards to the AI apps it finds, such as Claude
87
88
  Desktop, Cursor or Codex. `wizards connect` and `wizards disconnect` do it later.
@@ -103,7 +104,8 @@ icon at the right of the address bar.
103
104
 
104
105
  ### From source
105
106
 
106
- You need Node.js 24.11 or newer and pnpm 10 (`corepack enable`).
107
+ You need Node.js 24.11 or newer and pnpm 10 (`corepack enable`; Node 25 and later ship without
108
+ corepack, so install it first with `npm install -g corepack`).
107
109
 
108
110
  ```bash
109
111
  git clone https://github.com/engenty/wizards.git
@@ -115,8 +117,8 @@ pnpm wizards
115
117
 
116
118
  pnpm may list “Ignored build scripts” – that’s expected, nothing to do.
117
119
 
118
- Code steps (shell, Node, Python) run in a sandbox when Docker and the sandbox image are on the
119
- machine; a checkout brings its own sandbox, the installed version has none yet.
120
+ Code steps (shell, Node, Python) run in a sandbox. `wizards sandbox add` installs one (about
121
+ 340 MB, no Docker needed); a checkout also uses Docker when the sandbox image is on the machine.
120
122
 
121
123
  ## First start
122
124
 
@@ -133,17 +135,22 @@ Change it later under Settings → Models.
133
135
  - **Make a wizard:** describe it in the studio’s chat, or start from one of the templates.
134
136
  You see the steps as a diagram and can change any of them.
135
137
  - **Run and share:** try it yourself, then share the link. Shared results are kept for 7 days
136
- for people without an account. “Teilen” on a result also sends it by email, saves it to a
138
+ for people without an account. “Share” on a result also sends it by email, saves it to a
137
139
  cloud folder or posts it: [Sharing a result](docs/development.md#sharing-a-result).
138
140
  - **Connect services:** Gmail, Google Drive, Calendar, Contacts, Outlook, OneDrive, Slack,
139
141
  GitHub, HubSpot and S3 are built in; any other service can be added from its API description
140
142
  or MCP server through the [integrations.sh](https://integrations.sh) registry. Services that
141
143
  sign in with OAuth need a few settings first: [Connectors](docs/development.md#connectors).
144
+ - **Give it a look:** under “Look” a wizard wears a theme of your space – colours, fonts and
145
+ effects – or ask the assistant, for example “Make it dark and spooky for Halloween.”
142
146
  - **Build from Claude Code or Codex:** Settings → Integrate adds engenty wizards to your AI
143
147
  apps (Claude Desktop, Claude Code, Codex, Cursor and others), or `wizards connect` from a
144
- terminal.
148
+ terminal. In Claude Code, the plugin also lists your wizards beside the chat:
149
+ `claude plugin marketplace add engenty/wizards`, then `claude plugin install wizards@engenty`.
145
150
 
146
- Your machine only answers on `localhost`. To let others open shared wizards, run it on a server.
151
+ Your machine only answers on `localhost`. To let others open shared wizards, sign in with your
152
+ account: every version that goes live also runs on engenty.ai, even while your computer is off.
153
+ Or run it on a server.
147
154
 
148
155
  ## Your data
149
156
 
@@ -156,6 +163,10 @@ Back up the folder; delete it to start over. Settings go into `~/.engenty/wizard
156
163
 
157
164
  ## Update
158
165
 
166
+ engenty wizards updates itself: it looks for a new version at start and once a day, downloads
167
+ it in the background and switches to it at the next start, never during a run.
168
+ `wizards autoupdate off` turns that off. To update now:
169
+
159
170
  ```bash
160
171
  wizards update
161
172
  ```
package/install.sh CHANGED
@@ -47,6 +47,7 @@ main() {
47
47
  LINK=1
48
48
  [ -n "${ENGENTY_WIZARDS_NO_LINK:-}" ] && LINK=0
49
49
  VERSION=""
50
+ REUSABLE=0
50
51
  while [ $# -gt 0 ]; do
51
52
  case "$1" in
52
53
  --yes | -y) YES=1 ;;
@@ -552,10 +553,45 @@ package() {
552
553
  die "Version $VERSION holds the package under its old name, $OLD_NAME. This installer installs 0.1.9 and newer."
553
554
  ;;
554
555
  0.[1-6].* | 0.7.[0-4]) SPEC="$RELEASES/download/v$VERSION/$LEGACY_NAME-$VERSION.tgz" ;;
555
- *) SPEC="$RELEASES/download/v$VERSION/$PACKAGE_FILE-$VERSION.tgz" ;;
556
+ *)
557
+ SPEC="$RELEASES/download/v$VERSION/$PACKAGE_FILE-$VERSION.tgz"
558
+ # Only a runtime under its name of now can start from the version before (see reuse).
559
+ REUSABLE=1
560
+ ;;
556
561
  esac
557
562
  }
558
563
 
564
+ # Fills the empty npm prefix $1 with the version that runs now, so npm only changes what is
565
+ # different instead of unpacking every package again. Only a prefix that holds the runtime under
566
+ # its name of now and nothing else qualifies; anything else, or a copy that fails, starts empty.
567
+ # The copy is a clone where the disk can (APFS on macOS, btrfs or XFS on Linux): next to no space.
568
+ reuse() {
569
+ local stage="$1" from
570
+ [ "$REUSABLE" = 1 ] || return 1
571
+ from="$HOME_DIR/runtime/current"
572
+ [ -d "$from/node_modules/$PACKAGE_NAME" ] && [ -f "$from/package-lock.json" ] || return 1
573
+ MANIFEST="$from/package.json" NAME="$PACKAGE_NAME" "$NODE_DIR/bin/node" -e '
574
+ const deps = Object.keys(require(process.env.MANIFEST).dependencies || {});
575
+ process.exit(deps.length === 1 && deps[0] === process.env.NAME ? 0 : 1);
576
+ ' >>"$LOG" 2>&1 || return 1
577
+ local clone="--reflink=auto"
578
+ if [ "$OS" = darwin ]; then clone="-c"; fi
579
+ if cp -R "$clone" "$from/." "$stage/" 2>>"$LOG" ||
580
+ { empty "$stage" && cp -R "$from/." "$stage/" 2>>"$LOG"; }; then
581
+ # The link for commands of 0.7.4 and older is written again after the install. Without the
582
+ # old lock npm resolves as for a fresh install, keeping what fits: from a lock it would also
583
+ # add the packages for the other libc.
584
+ rm -f "$stage/node_modules/$LEGACY_NAME" "$stage/package-lock.json"
585
+ return 0
586
+ fi
587
+ empty "$stage"
588
+ return 1
589
+ }
590
+
591
+ empty() {
592
+ find "$1" -mindepth 1 -maxdepth 1 -exec rm -rf {} +
593
+ }
594
+
559
595
  runtime() {
560
596
  STEP="Installing engenty wizards"
561
597
  local dir="$HOME_DIR/runtime" stage previous path old
@@ -573,7 +609,11 @@ runtime() {
573
609
  # them. --legacy-peer-deps: no peers on top, which nothing here uses (about 70 MB less).
574
610
  stage="$(mktemp -d "$dir/.staging-XXXXXX")"
575
611
  STAGE="$stage"
576
- if ! spin "Installing engenty wizards (about 650 MB on disk, a minute or two)" \
612
+ local what="Installing engenty wizards (about 650 MB on disk, a minute or two)"
613
+ if reuse "$stage"; then
614
+ what="Updating engenty wizards to $VERSION (only what changed)"
615
+ fi
616
+ if ! spin "$what" \
577
617
  env PATH="$NODE_DIR/bin:$PATH" "$NODE_DIR/bin/npm" install --prefix "$stage" \
578
618
  --omit=dev --ignore-scripts --legacy-peer-deps --no-audit --no-fund --loglevel=error "$SPEC"; then
579
619
  rm -rf "$stage"
@@ -589,7 +629,7 @@ runtime() {
589
629
  if [ -f "$stage/node_modules/$PACKAGE_NAME/package.json" ]; then
590
630
  PACKAGE="$PACKAGE_NAME"
591
631
  # A command or an update of 0.7.4 or older looks for the runtime under its old name.
592
- ln -s "$PACKAGE_NAME" "$stage/node_modules/$LEGACY_NAME"
632
+ ln -sfn "$PACKAGE_NAME" "$stage/node_modules/$LEGACY_NAME"
593
633
  elif [ -d "$stage/node_modules/$LEGACY_NAME/apps/runtime" ]; then
594
634
  PACKAGE="$LEGACY_NAME"
595
635
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wizards",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Make a wish. Get your wizard. It guides you step by step. Let AI do the work. Runs on your machine, on the AI subscription you already have.",
5
5
  "license": "FSL-1.1-MIT AND CC-BY-4.0",
6
6
  "homepage": "https://engenty.ai",