wizards 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/apps/runtime/dist/assistant/primer.js +1 -1
- package/apps/runtime/dist/cli/account.js +1 -1
- package/apps/runtime/dist/cli/connect.js +6 -5
- package/apps/runtime/dist/cli/machine.js +6 -5
- package/apps/runtime/dist/cli/setup.js +2 -2
- package/apps/runtime/dist/docs/dev/plugins/examples.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/index.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/layout.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/quick-start.md +2 -2
- package/apps/runtime/dist/docs/dev/plugins/reference.md +4 -4
- package/apps/runtime/dist/docs/dev/plugins/runners.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/server.md +2 -2
- package/apps/runtime/dist/docs/dev/plugins/studio.md +2 -2
- package/apps/runtime/dist/docs/user/ai-apps.md +1 -1
- package/apps/runtime/dist/docs/user/command-line.md +1 -1
- package/apps/runtime/dist/docs/user/create-account.md +1 -1
- package/apps/runtime/dist/docs/user/first-start.md +7 -2
- package/apps/runtime/dist/docs/user/index.md +1 -1
- package/apps/runtime/dist/docs/user/install.md +2 -2
- package/apps/runtime/dist/docs/user/models.md +1 -1
- package/apps/runtime/dist/harness/antigravity.js +129 -0
- package/apps/runtime/dist/harness/apple.js +1 -0
- package/apps/runtime/dist/harness/index.js +2 -2
- package/apps/runtime/dist/harness/model.js +13 -5
- package/apps/runtime/dist/harness/types.js +2 -2
- package/apps/runtime/dist/mcp/seen.js +1 -1
- package/apps/runtime/dist/models.js +60 -2
- package/apps/runtime/dist/plugins/loader.js +10 -3
- package/apps/runtime/dist/routes/studio.js +34 -5
- package/apps/runtime/dist/texts.js +4 -0
- package/apps/web/dist/assets/AboutDialog-BI6487_s.js +1 -0
- package/apps/web/dist/assets/{ChangelogDialog-CcMXT8l9.js → ChangelogDialog-B63QWuUV.js} +1 -1
- package/apps/web/dist/assets/ChatView-BjQVHGjn.js +10 -0
- package/apps/web/dist/assets/EditorPage-DrprS19h.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-CpA_aX8t.js → FlowPreview-CusP7ci9.js} +1 -1
- package/apps/web/dist/assets/{Harness-C8demwfW.js → Harness-CCMqhtuk.js} +2 -2
- package/apps/web/dist/assets/{NewWizardChannels-vph1mN1m.js → NewWizardChannels-DpcWsST7.js} +1 -1
- package/apps/web/dist/assets/NewWizardPage-BXePNBa9.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-BtZ6sHJi.js +1 -0
- package/apps/web/dist/assets/ProjectPage-DHOL8FXt.js +1 -0
- package/apps/web/dist/assets/PublicRunner-BLRVe7G0.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-rQGZBuzb.js → ReadOnly-BV8o_HtK.js} +1 -1
- package/apps/web/dist/assets/RunDrawer-D-T8pYfB.js +4 -0
- package/apps/web/dist/assets/{RunnerView-B85O0i1h.js → RunnerView-BinlRsGF.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-B6M-jFJw.js +1 -0
- package/apps/web/dist/assets/SetupPage-DI6c--4V.js +1 -0
- package/apps/web/dist/assets/{SharePage-CbmAN4M4.js → SharePage-C4cESaes.js} +1 -1
- package/apps/web/dist/assets/changelog-Dj_yd2vG.js +1 -0
- package/apps/web/dist/assets/{esm-CY-A_13f.js → esm-DXeMu8Lb.js} +1 -1
- package/apps/web/dist/assets/{index-Co9Yr23e.css → index-AfUa8xKD.css} +1 -1
- package/apps/web/dist/assets/index-yiE9Lun0.js +14 -0
- package/apps/web/dist/assets/{lock--JFmtLDU.js → lock-R_CfU0Xo.js} +1 -1
- package/apps/web/dist/assets/oss-credits-cZ9NUaLZ.js +1 -0
- package/apps/web/dist/assets/{phone-DMtADQ4-.js → phone-CgrIS4_-.js} +1 -1
- package/apps/web/dist/assets/settings-menu-2IMOOlLl.js +1 -0
- package/apps/web/dist/assets/ui-dzGvc3xk.js +137 -0
- package/apps/web/dist/assets/{upload-Bcpc3mDn.js → upload-BSuTilFF.js} +1 -1
- package/apps/web/dist/index.html +3 -3
- package/apps/web/dist/mcp/flow.html +2 -2
- package/node_modules/@engenty/wizards/package.json +11 -0
- package/node_modules/@engenty-wizards/shared/dist/run.d.ts +1 -0
- package/node_modules/@engenty-wizards/shared/dist/run.js +2 -0
- package/package.json +3 -3
- package/apps/runtime/dist/harness/gemini.js +0 -126
- package/apps/web/dist/assets/AboutDialog--aZOfowz.js +0 -1
- package/apps/web/dist/assets/ChatView-BqK5nH84.js +0 -10
- package/apps/web/dist/assets/EditorPage-BRZmuMsK.js +0 -3
- package/apps/web/dist/assets/NewWizardPage-u1BIy4q9.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-BR3FmORm.js +0 -1
- package/apps/web/dist/assets/ProjectPage-BWN0iO0X.js +0 -1
- package/apps/web/dist/assets/PublicRunner-CohatW8Y.js +0 -1
- package/apps/web/dist/assets/RunDrawer-Cs8XqQUo.js +0 -4
- package/apps/web/dist/assets/SettingsPage-CM6HfO-O.js +0 -1
- package/apps/web/dist/assets/SetupPage-BpAobBc4.js +0 -1
- package/apps/web/dist/assets/changelog-BBR59khF.js +0 -1
- package/apps/web/dist/assets/index-C7HL_Fjz.js +0 -14
- package/apps/web/dist/assets/oss-credits-BJrR7BR1.js +0 -1
- package/apps/web/dist/assets/settings-menu-Dac4JUiM.js +0 -1
- package/apps/web/dist/assets/ui-CTXSFCzc.js +0 -137
- package/node_modules/@engenty-wizards/plugin-sdk/package.json +0 -11
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/index.d.ts +0 -0
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/index.js +0 -0
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/studio.d.ts +0 -0
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/studio.js +0 -0
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/thread.d.ts +0 -0
- /package/node_modules/{@engenty-wizards/plugin-sdk/dist → @engenty/wizards/dist/plugin}/thread.js +0 -0
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
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
23
|
Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link.
|
|
24
|
-
- **Runs on your machine, on your subscription.** It uses Codex, Claude Code,
|
|
24
|
+
- **Runs on your machine, on your subscription.** It uses Codex, Claude Code, Antigravity
|
|
25
25
|
or Cursor Agent when one is installed and signed in, so no API key is needed. Or bring a key
|
|
26
26
|
(Vercel AI Gateway, OpenAI, Anthropic), or a local model through Ollama. Your wizards and
|
|
27
27
|
results stay in a folder on your machine.
|
|
@@ -49,7 +49,7 @@ first wizard in the browser. Links run day and night on the team’s credits.
|
|
|
49
49
|
|
|
50
50
|
## Install it on your computer
|
|
51
51
|
|
|
52
|
-
The same account on your own machine: it runs on your Claude, ChatGPT,
|
|
52
|
+
The same account on your own machine: it runs on your Claude, ChatGPT, Google AI or Cursor
|
|
53
53
|
subscription, reads your local files and browses for you, and what you publish keeps running in
|
|
54
54
|
the cloud behind the same links. On macOS or Linux, in a terminal:
|
|
55
55
|
|
|
@@ -63,13 +63,13 @@ It needs nothing but `curl` and `tar` and asks for no password. It brings its ow
|
|
|
63
63
|
Node you already have is left alone), installs engenty wizards into `~/.engenty/wizards` and
|
|
64
64
|
then walks you through the rest:
|
|
65
65
|
|
|
66
|
-
- **Your engenty account.** “Sign in
|
|
66
|
+
- **Your engenty account.** “Sign in or create your account now?”: a link and a code, and
|
|
67
67
|
the browser for the sign-in, which also creates a new account (with your invitation code); what
|
|
68
68
|
you publish on this computer then runs in the cloud too. Esc while it waits, or say no, and
|
|
69
69
|
`wizards account sign-in` does it any time.
|
|
70
70
|
`--local` leaves the account out: nothing leaves the computer, links answer on it only
|
|
71
71
|
([local only](https://engenty.ai/docs/user/local-only)).
|
|
72
|
-
- **An AI client.** It looks for Codex, Claude Code,
|
|
72
|
+
- **An AI client.** It looks for Codex, Claude Code, Antigravity and Cursor Agent and
|
|
73
73
|
offers to install the missing ones – first the one whose app (Claude, ChatGPT, Cursor) is
|
|
74
74
|
on your Mac, as its subscription is most likely yours already. The first page of the studio
|
|
75
75
|
installs them too. Or use your account’s credits, an API key, [Ollama](https://ollama.com) or,
|
|
@@ -13,7 +13,7 @@ Words
|
|
|
13
13
|
- Space: what all wizards of a team know. Its page has four parts: Info & brand (title, about, logos, colours, assets, facts), Knowledge (pages, tables and files the AI steps look things up in, kept apart by typed categories), Data (tables and pages the wizards keep) and Results (finished runs).
|
|
14
14
|
- Model class: the kind of model a step needs (Classifier, Standard, High, Highest for text; Image, Video, Speech, Audio). Which model serves a class is a setting (Settings › Models), not part of the wizard.
|
|
15
15
|
|
|
16
|
-
Thinking: an installed AI client on the person's subscription (Claude Code, Codex,
|
|
16
|
+
Thinking: an installed AI client on the person's subscription (Claude Code, Codex, Antigravity, Cursor Agent), own API keys (OpenAI, Anthropic, Google, fal.ai, ElevenLabs, Replicate, Vercel AI Gateway), a local model (Ollama), or engenty credits from an account. Settings › Models shows which way serves each class and what is missing.
|
|
17
17
|
|
|
18
18
|
Sharing: Test runs a draft. Publish makes a version live behind a link. Share holds the link, the tag for a website, a QR code, channels (the page, the chat, and what plugins add: WhatsApp, SMS, calls) and the link's settings (on/off, runs per day, a new address). With an account, what is published on a local install also runs in the cloud, on the account's credits, while the computer is off.
|
|
19
19
|
|
|
@@ -363,7 +363,7 @@ export async function accountStep(paths, options, interactive) {
|
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
365
|
const answer = await p.confirm({
|
|
366
|
-
message: "Sign in
|
|
366
|
+
message: "Sign in or create your account now?",
|
|
367
367
|
initialValue: true,
|
|
368
368
|
});
|
|
369
369
|
if (p.isCancel(answer)) {
|
|
@@ -465,13 +465,14 @@ export function apps(paths) {
|
|
|
465
465
|
entry: stdioEntry,
|
|
466
466
|
}),
|
|
467
467
|
jsonApp({
|
|
468
|
-
id: "
|
|
469
|
-
name: "
|
|
468
|
+
id: "antigravity",
|
|
469
|
+
name: "Antigravity",
|
|
470
470
|
widgets: false,
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
// The app and its CLI (agy) read the same file.
|
|
472
|
+
file: join(home, ".gemini", "config", "mcp_config.json"),
|
|
473
|
+
marker: join(home, ".gemini", "config"),
|
|
473
474
|
at: ["mcpServers"],
|
|
474
|
-
entry:
|
|
475
|
+
entry: stdioEntry,
|
|
475
476
|
}),
|
|
476
477
|
goose(),
|
|
477
478
|
openClaw(paths),
|
|
@@ -27,11 +27,12 @@ export const CLIENTS = [
|
|
|
27
27
|
app: "Claude",
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
id: "
|
|
31
|
-
name: "
|
|
32
|
-
bin: "
|
|
33
|
-
account: "Google",
|
|
34
|
-
install: { kind: "
|
|
30
|
+
id: "antigravity",
|
|
31
|
+
name: "Antigravity",
|
|
32
|
+
bin: "agy",
|
|
33
|
+
account: "Google AI",
|
|
34
|
+
install: { kind: "script", url: "https://antigravity.google/cli/install.sh" },
|
|
35
|
+
app: "Antigravity",
|
|
35
36
|
},
|
|
36
37
|
{
|
|
37
38
|
id: "cursor",
|
|
@@ -326,8 +326,8 @@ export async function setup(paths, options) {
|
|
|
326
326
|
p.log.info(CHROME_APP);
|
|
327
327
|
if (options.next) {
|
|
328
328
|
p.outro(options.next === "start"
|
|
329
|
-
? "
|
|
330
|
-
: `
|
|
329
|
+
? "Setup is done. Starting engenty wizards…"
|
|
330
|
+
: `Setup is done. ${dim(`${cmd("help")} lists every command.`)}`);
|
|
331
331
|
return true;
|
|
332
332
|
}
|
|
333
333
|
await howToUse(paths);
|
|
@@ -16,7 +16,7 @@ PLUGINS_DIR=examples/plugins
|
|
|
16
16
|
posts a line to an address whenever a real run of a wizard reaches its end.
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
|
-
import type { WizardsPluginFactory } from "@engenty
|
|
19
|
+
import type { WizardsPluginFactory } from "@engenty/wizards/plugin";
|
|
20
20
|
|
|
21
21
|
const plugin: WizardsPluginFactory = (wizards) => {
|
|
22
22
|
const url = wizards.config.get("NOTIFY_URL");
|
|
@@ -37,7 +37,7 @@ loads them from their files and loads a plugin again when its files change.
|
|
|
37
37
|
| File | `src/plugin.ts`, or the one file a small plugin is | `ui/plugin.tsx`, built to `dist/client.js` and `dist/client.css` |
|
|
38
38
|
| Runs in | The runtime | The studio, after sign-in |
|
|
39
39
|
| Loaded | As TypeScript, no build | As the built script |
|
|
40
|
-
| Types | `@engenty
|
|
40
|
+
| Types | `@engenty/wizards/plugin` | `@engenty/wizards/plugin/studio` |
|
|
41
41
|
| Adds | Tools, runners, routes, tables, listeners, jobs, starters, accounts, Knowledge, the space’s block, index and assistant tools | Pages, icons in the app bar, sections of the settings and of the space page, parts of the space page, a runner’s settings and setup in the share dialog, cards in the assistant’s chat |
|
|
42
42
|
|
|
43
43
|
A plugin has one half or both. The studio half talks to the server half over the plugin’s own
|
|
@@ -83,7 +83,7 @@ A path in the manifest must stay inside the plugin’s folder.
|
|
|
83
83
|
|
|
84
84
|
| The plugin imports | It comes from |
|
|
85
85
|
|---|---|
|
|
86
|
-
| `@engenty
|
|
86
|
+
| `@engenty/wizards/plugin`, `@engenty/wizards/plugin/thread`, `zod`, `drizzle-orm`, `drizzle-orm/sqlite-core` | The runtime’s own copies, wherever the plugin’s file is |
|
|
87
87
|
| Its own files | Beside it, as TypeScript |
|
|
88
88
|
| Anything else | A `node_modules` the plugin brings beside it |
|
|
89
89
|
|
|
@@ -20,7 +20,7 @@ Start the app. It creates the folder if it is missing and watches it while it ru
|
|
|
20
20
|
Save this as `workdays.ts` in the plugins folder:
|
|
21
21
|
|
|
22
22
|
```ts
|
|
23
|
-
import { definePlugin } from "@engenty
|
|
23
|
+
import { definePlugin } from "@engenty/wizards/plugin";
|
|
24
24
|
import { z } from "zod";
|
|
25
25
|
|
|
26
26
|
export default definePlugin((wizards) => {
|
|
@@ -50,7 +50,7 @@ export default definePlugin((wizards) => {
|
|
|
50
50
|
|
|
51
51
|
- The file’s name is the plugin’s id: `workdays`.
|
|
52
52
|
- The tool’s full id is `workdays.count`.
|
|
53
|
-
- `@engenty
|
|
53
|
+
- `@engenty/wizards/plugin` and `zod` come from the app, so you don’t install anything.
|
|
54
54
|
|
|
55
55
|
## 3. See it
|
|
56
56
|
|
|
@@ -6,9 +6,9 @@ version: 0.5.0
|
|
|
6
6
|
|
|
7
7
|
## Server half
|
|
8
8
|
|
|
9
|
-
`import { definePlugin } from "@engenty
|
|
9
|
+
`import { definePlugin } from "@engenty/wizards/plugin"`
|
|
10
10
|
|
|
11
|
-
`import { ThreadDoor } from "@engenty
|
|
11
|
+
`import { ThreadDoor } from "@engenty/wizards/plugin/thread"`: a wizard run in a
|
|
12
12
|
messenger’s thread, one message at a time, for which a plugin brings the surface. See
|
|
13
13
|
[Runners](./runners.md#a-thread-door-from-the-sdk).
|
|
14
14
|
|
|
@@ -241,7 +241,7 @@ interface PluginRunEvent {
|
|
|
241
241
|
|
|
242
242
|
## Studio half
|
|
243
243
|
|
|
244
|
-
`import { defineStudioPlugin } from "@engenty
|
|
244
|
+
`import { defineStudioPlugin } from "@engenty/wizards/plugin/studio"`
|
|
245
245
|
|
|
246
246
|
The default export is a `StudioPlugin`: `(studio: StudioPluginContext) => void`.
|
|
247
247
|
|
|
@@ -340,7 +340,7 @@ In the install’s `.env`:
|
|
|
340
340
|
|
|
341
341
|
| | |
|
|
342
342
|
|---|---|
|
|
343
|
-
| `packages/
|
|
343
|
+
| `packages/wizards/src/plugin/` | The types, with their comments |
|
|
344
344
|
| `apps/runtime/src/plugins/` | Finding, loading, tables, events |
|
|
345
345
|
| `apps/runtime/src/routes/plugins.ts` | The addresses above; `apps/runtime/src/routes/api.ts` the ones for programs |
|
|
346
346
|
| `apps/web/src/plugins/` | The studio’s side |
|
|
@@ -175,7 +175,7 @@ That conversation is the same on every messenger; the SDK holds it, and a plugin
|
|
|
175
175
|
surface: how a question is drawn there, how a file is fetched.
|
|
176
176
|
|
|
177
177
|
```ts
|
|
178
|
-
import { ThreadDoor, type ThreadSurface } from "@engenty
|
|
178
|
+
import { ThreadDoor, type ThreadSurface } from "@engenty/wizards/plugin/thread";
|
|
179
179
|
|
|
180
180
|
const surface: ThreadSurface = {
|
|
181
181
|
runner: "sms",
|
|
@@ -8,7 +8,7 @@ The server half is a file whose default export is a function. The runtime calls
|
|
|
8
8
|
plugin loads and hands it `wizards`. The function registers what the plugin adds.
|
|
9
9
|
|
|
10
10
|
```ts
|
|
11
|
-
import { definePlugin } from "@engenty
|
|
11
|
+
import { definePlugin } from "@engenty/wizards/plugin";
|
|
12
12
|
|
|
13
13
|
export default definePlugin((wizards) => {
|
|
14
14
|
const { server } = wizards;
|
|
@@ -275,7 +275,7 @@ are no half-loaded plugins. Settings → Plugins shows the error, and the plugin
|
|
|
275
275
|
|
|
276
276
|
## Imports
|
|
277
277
|
|
|
278
|
-
`@engenty
|
|
278
|
+
`@engenty/wizards/plugin` (and `@engenty/wizards/plugin/thread`), `zod`, `drizzle-orm` and
|
|
279
279
|
`drizzle-orm/sqlite-core` come from the runtime’s own copies, so a schema or a table a plugin
|
|
280
280
|
makes is one the runtime understands. See [Files and manifest](./layout.md#dependencies) for
|
|
281
281
|
everything else.
|
|
@@ -9,7 +9,7 @@ sign-in and hands it `studio`. What the plugin draws is part of the studio: the
|
|
|
9
9
|
same router, the same components.
|
|
10
10
|
|
|
11
11
|
```tsx
|
|
12
|
-
import { defineStudioPlugin } from "@engenty
|
|
12
|
+
import { defineStudioPlugin } from "@engenty/wizards/plugin/studio";
|
|
13
13
|
import { Button, Card, Empty, Spinner } from "@engenty-wizards/web/ui";
|
|
14
14
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
15
15
|
import { Users } from "lucide-react";
|
|
@@ -339,7 +339,7 @@ there is one React and one router on the page:
|
|
|
339
339
|
| `react-router` | `Link`, `NavLink`, `Navigate`, `useNavigate`, `useParams`, `useLocation`, `useSearchParams` |
|
|
340
340
|
| `@tanstack/react-query` | `useQuery`, `useMutation`, `useQueryClient` |
|
|
341
341
|
| `@engenty-wizards/web/ui` | The studio’s components, see [Styles and components](./styling.md) |
|
|
342
|
-
| `@engenty
|
|
342
|
+
| `@engenty/wizards/plugin/studio` | `defineStudioPlugin` and the types |
|
|
343
343
|
|
|
344
344
|
Everything else a plugin imports is bundled into `client.js`. A package the plugin’s folder
|
|
345
345
|
does not have, such as `lucide-react`, comes from the studio’s.
|
|
@@ -32,7 +32,7 @@ has the WordPress plugin: see [WordPress](./wordpress.md).
|
|
|
32
32
|
| Cursor | yes | `cursor` |
|
|
33
33
|
| VS Code (Copilot) | yes | `vscode` |
|
|
34
34
|
| Windsurf | no | `windsurf` |
|
|
35
|
-
|
|
|
35
|
+
| Antigravity | no | `antigravity` |
|
|
36
36
|
| Goose | yes | `goose` |
|
|
37
37
|
| OpenClaw | no | `openclaw` |
|
|
38
38
|
| LM Studio | no | `lm-studio` |
|
|
@@ -32,7 +32,7 @@ version: 0.5.0
|
|
|
32
32
|
|---|---|
|
|
33
33
|
| `--yes`, `-y` | Asks nothing and installs nothing optional |
|
|
34
34
|
| `--local` | Sets up without an account, so nothing leaves this computer ([Local only](./local-only.md)) |
|
|
35
|
-
| `--client <name>` | Installs this AI client without asking: `codex`, `claude`, `
|
|
35
|
+
| `--client <name>` | Installs this AI client without asking: `codex`, `claude`, `antigravity`, `cursor` |
|
|
36
36
|
| `--no-open` | Starts without opening the browser |
|
|
37
37
|
| `--background`, `-s` | Starts it in the background (`--service` still works): detached from the terminal, and the command returns. `wizards stop` stops it, and its output goes to `logs/runtime.log` |
|
|
38
38
|
| `--version`, `-v` | Prints the version |
|
|
@@ -43,7 +43,7 @@ sentence, or start from a template. See [Build a wizard](./build-a-wizard.md).
|
|
|
43
43
|
## Also on your computer
|
|
44
44
|
|
|
45
45
|
The same account works on your own computer: you [install](./install.md) engenty wizards there
|
|
46
|
-
and sign in during the setup. It then runs on your Claude, ChatGPT,
|
|
46
|
+
and sign in during the setup. It then runs on your Claude, ChatGPT, Google AI or Cursor
|
|
47
47
|
subscription, reads your files and browses the web for you. What you publish there runs in the
|
|
48
48
|
cloud too, behind the same links. In the cloud studio that space is marked “Edited on your
|
|
49
49
|
computer.” and you only look at it there: you change it on your computer.
|
|
@@ -21,10 +21,10 @@ has a “Sign in” button that opens your browser for it. If you set engenty wi
|
|
|
21
21
|
| engenty credits | Your account’s credits, as in the cloud | An account signed in. Shown only then |
|
|
22
22
|
| Claude Code | Your Claude subscription | The client installed and signed in |
|
|
23
23
|
| Codex | Your ChatGPT subscription | The client installed and signed in |
|
|
24
|
-
|
|
|
24
|
+
| Antigravity | Your Google AI subscription | The client (`agy`) installed and signed in |
|
|
25
25
|
| Cursor Agent | Your Cursor subscription | The client installed and signed in |
|
|
26
26
|
| Apple Intelligence | The model on this Mac, without an account or the internet | A Mac with Apple silicon on macOS 26 or later, with Apple Intelligence switched on. Shown only on such a Mac |
|
|
27
|
-
| Your own keys |
|
|
27
|
+
| Your own keys | OpenAI, Anthropic, Google or Vercel AI Gateway, or a model on your computer | One API key, or [Ollama](https://ollama.com) running |
|
|
28
28
|
|
|
29
29
|
- **An AI client that is not installed** installs right on the page, in a terminal shown there.
|
|
30
30
|
It takes about a minute.
|
|
@@ -42,6 +42,11 @@ has a “Sign in” button that opens your browser for it. If you set engenty wi
|
|
|
42
42
|
After you connect, one short call checks that the model can be reached. The setup stays until
|
|
43
43
|
that call works. Then “Open the studio” takes you in.
|
|
44
44
|
|
|
45
|
+
With your own keys, each key has its own Test. It checks the key with the provider, stores it in
|
|
46
|
+
this computer’s keychain and sets that provider’s models for what no other key covers yet. One
|
|
47
|
+
key that works is enough. Which model does which job you change later under
|
|
48
|
+
[Settings → Models](./models.md).
|
|
49
|
+
|
|
45
50
|
## What an AI client does not cover
|
|
46
51
|
|
|
47
52
|
An installed AI client writes and reasons. Codex also makes images on your sign-in; with the
|
|
@@ -15,7 +15,7 @@ briefing, an invoice, a quote, a damage report.
|
|
|
15
15
|
| **Describe it** | You say in plain words what the wizard should do. The assistant builds the flow, and you see it as a diagram and can change any step. |
|
|
16
16
|
| **Let AI steps work** | They research the web, write, draw images, render video, read PDFs, scans and emails, build documents and dashboards, and write into other services. Anything that changes an account asks first. |
|
|
17
17
|
| **Share a link** | Anyone can run the wizard in a browser, on a phone too. Results download as PDF, Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link. |
|
|
18
|
-
| **In the cloud, or on your computer** | You sign up and build in the browser, and links run on your team’s credits. Or you install it on your computer: there it runs on Codex, Claude Code,
|
|
18
|
+
| **In the cloud, or on your computer** | You sign up and build in the browser, and links run on your team’s credits. Or you install it on your computer: there it runs on Codex, Claude Code, Antigravity or Cursor Agent with your own subscription, on your own API keys or on a local model, and your files stay with you. |
|
|
19
19
|
|
|
20
20
|
## Where to start
|
|
21
21
|
|
|
@@ -28,8 +28,8 @@ have is left alone), installs engenty wizards into `~/.engenty/wizards` (about 6
|
|
|
28
28
|
|
|
29
29
|
| Step | What it does |
|
|
30
30
|
|---|---|
|
|
31
|
-
| Your engenty account | Asks “Sign in
|
|
32
|
-
| An AI client | Looks for Codex, Claude Code,
|
|
31
|
+
| Your engenty account | Asks “Sign in or create your account now?”. If you say yes, it shows a link and a code and opens your browser for the sign-in at account.engenty.ai; check that the page shows the same code (if you have no account yet, the page creates one with your invitation code, or puts you on the waitlist). While it waits, Enter opens the page again and Esc goes on without an account. Once you are signed in, what you publish on this computer runs in the cloud too. If you say no, `wizards account sign-in` does it any time. Setting it up again with `--local` signs an account out. `--local` leaves the account out altogether: see [Local only](./local-only.md) |
|
|
32
|
+
| An AI client | Looks for Codex, Claude Code, Antigravity and Cursor Agent and offers to install the ones that are missing. It puts first the one whose app (ChatGPT, Claude, Antigravity, Cursor) is on your Mac, as you most likely have that subscription already. You can also use your account’s credits, an API key, [Ollama](https://ollama.com) or, on a Mac with Apple silicon and macOS 26, Apple Intelligence: the studio’s [first page](./first-start.md) offers them |
|
|
33
33
|
| A browser and ffmpeg | Names the browser for PDF and PNG exports and steps on websites: the first of Chrome, Edge and Chromium it finds (on a Mac also Brave). engenty wizards uses that one; [`CHROME_PATH`](./command-line.md#settings) picks another. It also says whether ffmpeg is there for MP4 videos of animated widgets, and with Homebrew it offers to install it |
|
|
34
34
|
| Start at login (optional) | engenty wizards starts in the background when you log in, so links and AI apps can always reach it. It is a LaunchAgent on a Mac and a systemd user service on Linux |
|
|
35
35
|
| Your AI apps (optional) | Offers to add your wizards to the [AI apps](./ai-apps.md) it finds, such as Claude Desktop, Cursor or Codex |
|
|
@@ -24,7 +24,7 @@ A capability’s page asks “Who does it?”:
|
|
|
24
24
|
|
|
25
25
|
| Choice | What it is | Cost |
|
|
26
26
|
|---|---|---|
|
|
27
|
-
| Your subscription | Claude Code, Codex,
|
|
27
|
+
| Your subscription | Claude Code, Codex, Antigravity or Cursor Agent on this computer, using your sign-in there (text; Codex also makes images; Antigravity runs steps without their tools) | Your subscription |
|
|
28
28
|
| Your own API key | OpenAI, Anthropic, Google Gemini, fal.ai, ElevenLabs, Replicate or Vercel AI Gateway | The provider bills your key |
|
|
29
29
|
| Apple Intelligence | The model on this Mac: short texts and decisions (Classifier, Standard) and voice notes. See [Apple Intelligence](#apple-intelligence) | Nothing |
|
|
30
30
|
| Local model | [Ollama](https://ollama.com) on this computer (text) | Nothing |
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { writeFileSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { resolveEnv, run } from "./env.js";
|
|
4
|
+
import { failureOf, HarnessModel, runClient, } from "./model.js";
|
|
5
|
+
/**
|
|
6
|
+
* Antigravity CLI: `agy` answers on the Google sign-in it cached — the Google AI subscription,
|
|
7
|
+
* which Gemini CLI no longer serves. The prompt goes on stdin as one stream-json message, the
|
|
8
|
+
* instructions in front of it: the client reads no system prompt and no rules of a folder it
|
|
9
|
+
* does not trust. It searches the web and reads the call's files with its own tools; the step's
|
|
10
|
+
* tools it cannot take, as it reads MCP servers only from the person's own config. The answer
|
|
11
|
+
* is checked against the schema by the client itself.
|
|
12
|
+
*/
|
|
13
|
+
export const AGY_BIN = process.env.AGY_BIN?.trim() || "agy";
|
|
14
|
+
/** The models carry their effort in the name: `gemini-3.8-flash-<low|medium|high>`. */
|
|
15
|
+
const CLASSES = {
|
|
16
|
+
classifier: "gemini-3.8-flash-low",
|
|
17
|
+
standard: "gemini-3.8-flash-medium",
|
|
18
|
+
high: "gemini-3.8-flash-high",
|
|
19
|
+
highest: "gemini-3.8-flash-high",
|
|
20
|
+
};
|
|
21
|
+
/** The model of that name at the effort a step asks for, where the name carries one. */
|
|
22
|
+
export function withEffort(model, effort) {
|
|
23
|
+
return effort ? model.replace(/-(low|medium|high)$/, `-${effort}`) : model;
|
|
24
|
+
}
|
|
25
|
+
const spec = {
|
|
26
|
+
id: "antigravity",
|
|
27
|
+
passThrough: /^(AGY_ADC_AUTH|GOOGLE_APPLICATION_CREDENTIALS|GOOGLE_CLOUD_PROJECT)$/,
|
|
28
|
+
keyVars: [],
|
|
29
|
+
// No status command, and a call without a sign-in waits a minute for one in the browser:
|
|
30
|
+
// listing the models is quick, and refuses at once when nobody is signed in.
|
|
31
|
+
async auth(env) {
|
|
32
|
+
try {
|
|
33
|
+
await run(AGY_BIN, ["models"], { timeout: 20_000, env });
|
|
34
|
+
return "subscription";
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
37
|
+
return "none";
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/** The client's result among the events it prints; null when it printed none. */
|
|
42
|
+
export function antigravityAnswer(stdout) {
|
|
43
|
+
for (const line of stdout.trim().split("\n").reverse()) {
|
|
44
|
+
try {
|
|
45
|
+
const event = JSON.parse(line);
|
|
46
|
+
if (event?.event === "result" && event.result) {
|
|
47
|
+
return event.result;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
// a line it logs
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
/** The instructions in front of the prompt: the client takes one message and nothing besides. */
|
|
57
|
+
export function antigravityMessage(system, prompt) {
|
|
58
|
+
const content = system ? `<instructions>\n${system}\n</instructions>\n\n${prompt}` : prompt;
|
|
59
|
+
return `${JSON.stringify({ event: "user", message: { content } })}\n`;
|
|
60
|
+
}
|
|
61
|
+
class AntigravityModel extends HarnessModel {
|
|
62
|
+
provider = "antigravity";
|
|
63
|
+
nativeSchema = true;
|
|
64
|
+
usesTools = false;
|
|
65
|
+
async invoke(call) {
|
|
66
|
+
const { env, auth } = await resolveEnv(spec);
|
|
67
|
+
if (auth === "none") {
|
|
68
|
+
throw failureOf(this.harness, "not logged in");
|
|
69
|
+
}
|
|
70
|
+
const args = [
|
|
71
|
+
"--input-format",
|
|
72
|
+
"stream-json",
|
|
73
|
+
"--output-format",
|
|
74
|
+
"stream-json",
|
|
75
|
+
"--model",
|
|
76
|
+
withEffort(this.modelId, call.effort),
|
|
77
|
+
"--disable-slash-commands",
|
|
78
|
+
];
|
|
79
|
+
if (call.schema) {
|
|
80
|
+
const schemaFile = join(call.dir, "schema.json");
|
|
81
|
+
writeFileSync(schemaFile, JSON.stringify(call.schema));
|
|
82
|
+
args.push("--json-schema", schemaFile);
|
|
83
|
+
}
|
|
84
|
+
const { stdout, stderr, code } = await runClient(AGY_BIN, args, {
|
|
85
|
+
cwd: call.dir,
|
|
86
|
+
env: { ...env, NO_COLOR: "1" },
|
|
87
|
+
signal: call.signal,
|
|
88
|
+
stdin: antigravityMessage(call.system, call.prompt),
|
|
89
|
+
});
|
|
90
|
+
const result = antigravityAnswer(stdout);
|
|
91
|
+
if (!result) {
|
|
92
|
+
throw failureOf(this.harness, stderr.trim() || `exit ${code}`);
|
|
93
|
+
}
|
|
94
|
+
if (result.status !== "SUCCESS") {
|
|
95
|
+
throw failureOf(this.harness, result.error || stderr.trim() || result.status || "error");
|
|
96
|
+
}
|
|
97
|
+
const u = result.usage ?? {};
|
|
98
|
+
return {
|
|
99
|
+
text: result.structured_output !== undefined
|
|
100
|
+
? JSON.stringify(result.structured_output)
|
|
101
|
+
: (result.response ?? ""),
|
|
102
|
+
usage: {
|
|
103
|
+
input: u.input_tokens ?? 0,
|
|
104
|
+
cacheRead: u.cache_read_tokens ?? 0,
|
|
105
|
+
output: (u.output_tokens ?? 0) + (u.thinking_tokens ?? 0),
|
|
106
|
+
},
|
|
107
|
+
sessionId: result.conversation_id,
|
|
108
|
+
meta: { turns: result.num_turns ?? 0, seconds: result.duration_seconds ?? 0 },
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export const antigravity = {
|
|
113
|
+
...spec,
|
|
114
|
+
name: "Antigravity",
|
|
115
|
+
bin: AGY_BIN,
|
|
116
|
+
classes: CLASSES,
|
|
117
|
+
async version(env) {
|
|
118
|
+
try {
|
|
119
|
+
const { stdout } = await run(AGY_BIN, ["--version"], { timeout: 10_000, env });
|
|
120
|
+
return stdout.trim().split("\n").pop()?.trim() || null;
|
|
121
|
+
}
|
|
122
|
+
catch {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
// No login command: the client asks for the Google sign-in when it starts without one.
|
|
127
|
+
login: { args: [], interactive: true },
|
|
128
|
+
model: (alias, effort) => new AntigravityModel(antigravity, alias || CLASSES.standard, effort),
|
|
129
|
+
};
|
|
@@ -140,6 +140,7 @@ class AppleModel extends HarnessModel {
|
|
|
140
140
|
nativeSchema = true;
|
|
141
141
|
/** The helper calls no tools: a call with tools answers from the prompt alone. */
|
|
142
142
|
usesTools = false;
|
|
143
|
+
searchesWeb = false;
|
|
143
144
|
async invoke(call) {
|
|
144
145
|
const { stdout, stderr, code } = await runClient(APPLE_BIN, ["generate"], {
|
|
145
146
|
cwd: call.dir,
|
|
@@ -3,18 +3,18 @@ import { installCommand } from "../cli/clients.js";
|
|
|
3
3
|
import { inherited, runtimePath } from "../cli/environment.js";
|
|
4
4
|
import { layout } from "../cli/home.js";
|
|
5
5
|
import { CLIENTS, vendorApp } from "../cli/machine.js";
|
|
6
|
+
import { antigravity } from "./antigravity.js";
|
|
6
7
|
import { claude } from "./claude.js";
|
|
7
8
|
import { codex } from "./codex.js";
|
|
8
9
|
import { cursor } from "./cursor.js";
|
|
9
10
|
import { forgetEnv, loginShellEnv, resolveEnv } from "./env.js";
|
|
10
|
-
import { gemini } from "./gemini.js";
|
|
11
11
|
export { HarnessModel, notInstalled, signedOut } from "./model.js";
|
|
12
12
|
export { HARNESS_IDS } from "./types.js";
|
|
13
13
|
/**
|
|
14
14
|
* The AI clients this runtime can run as a model, in the order the setup offers them. The first
|
|
15
15
|
* one installed is the one the setup recommends.
|
|
16
16
|
*/
|
|
17
|
-
export const HARNESSES = [codex, claude,
|
|
17
|
+
export const HARNESSES = [codex, claude, antigravity, cursor];
|
|
18
18
|
export function harness(id) {
|
|
19
19
|
return HARNESSES.find((h) => h.id === id) ?? null;
|
|
20
20
|
}
|
|
@@ -10,6 +10,7 @@ import { extensionOf, jsonInstruction, parseJsonAnswer, renderPrompt } from "./p
|
|
|
10
10
|
const workDir = join(env.dataDir, "harness");
|
|
11
11
|
export const signedOut = (h) => note("clientNotSignedIn", { name: h.name });
|
|
12
12
|
export const notInstalled = (h) => note("clientNotInstalled", { name: h.name });
|
|
13
|
+
export const notServed = (h) => note("clientAccountNotServed", { name: h.name });
|
|
13
14
|
export const exhausted = (h) => h.exhausted ?? note("clientNoCredit", { name: h.name });
|
|
14
15
|
/** The failure a client reports, as the person should read it. */
|
|
15
16
|
export function failureOf(h, detail) {
|
|
@@ -18,6 +19,11 @@ export function failureOf(h, detail) {
|
|
|
18
19
|
if (/credit balance|billing|too low|usage limit|quota|insufficient|rate.?limit|\b429\b/i.test(detail)) {
|
|
19
20
|
return new ModelUnavailableError(exhausted(h));
|
|
20
21
|
}
|
|
22
|
+
// Signed in, but the vendor no longer serves that account with this client: signing in again
|
|
23
|
+
// with the same account changes nothing.
|
|
24
|
+
if (/IneligibleTier|no longer supported|UNSUPPORTED_CLIENT|not eligible/i.test(detail)) {
|
|
25
|
+
return new ModelUnavailableError(notServed(h));
|
|
26
|
+
}
|
|
21
27
|
if (/authenticat|log ?in|logged in|oauth|credential|unauthori[sz]ed|\b401\b|api key/i.test(detail)) {
|
|
22
28
|
return new ModelUnavailableError(signedOut(h));
|
|
23
29
|
}
|
|
@@ -71,6 +77,8 @@ export class HarnessModel {
|
|
|
71
77
|
nativeSchema = false;
|
|
72
78
|
/** Whether the client runs a call's tools (over the bridge); else they are left out, with a warning. */
|
|
73
79
|
usesTools = true;
|
|
80
|
+
/** Whether the client searches the web with a tool of its own, tools of the call or not. */
|
|
81
|
+
searchesWeb = true;
|
|
74
82
|
effort;
|
|
75
83
|
harness;
|
|
76
84
|
executors = new Map();
|
|
@@ -98,15 +106,15 @@ export class HarnessModel {
|
|
|
98
106
|
const bridged = [];
|
|
99
107
|
let webSearch = false;
|
|
100
108
|
for (const tool of options.tools ?? []) {
|
|
101
|
-
if (tool.type !== "function" || !this.usesTools) {
|
|
102
|
-
warnings.push({ type: "unsupported", feature: `tool ${tool.name}` });
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
109
|
// The client searches with its own tool; naming `web_search` is what switches it on.
|
|
106
|
-
if (tool.name === "web_search") {
|
|
110
|
+
if (tool.type === "function" && tool.name === "web_search" && this.searchesWeb) {
|
|
107
111
|
webSearch = true;
|
|
108
112
|
continue;
|
|
109
113
|
}
|
|
114
|
+
if (tool.type !== "function" || !this.usesTools) {
|
|
115
|
+
warnings.push({ type: "unsupported", feature: `tool ${tool.name}` });
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
110
118
|
const executor = this.executors.get(tool.name);
|
|
111
119
|
if (!executor?.execute) {
|
|
112
120
|
warnings.push({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A harness is an AI client installed on this machine — Claude Code, Codex,
|
|
2
|
+
* A harness is an AI client installed on this machine — Claude Code, Codex, Antigravity, Cursor
|
|
3
3
|
* Agent — that answers on the person's own subscription or sign-in. The runtime runs it headless
|
|
4
4
|
* as a model (./model.ts) and signs it in through the inline terminal (./terminal.ts). Nothing of
|
|
5
5
|
* this process reaches it: no key of ours, no session of a parent client.
|
|
6
6
|
*/
|
|
7
|
-
export const HARNESS_IDS = ["claude", "codex", "
|
|
7
|
+
export const HARNESS_IDS = ["claude", "codex", "antigravity", "cursor"];
|
|
@@ -15,7 +15,7 @@ const CLIENT_NAMES = [
|
|
|
15
15
|
// Cursor calls itself cursor-vscode.
|
|
16
16
|
["vscode", /^(?!.*cursor).*(visual studio code|vs ?code)/i],
|
|
17
17
|
["windsurf", /windsurf|codeium/i],
|
|
18
|
-
["
|
|
18
|
+
["antigravity", /antigravity|\bagy\b/i],
|
|
19
19
|
["goose", /goose/i],
|
|
20
20
|
["openclaw", /openclaw/i],
|
|
21
21
|
["lm-studio", /lm[- ]?studio/i],
|