wizards 0.7.3 → 0.7.5
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/bin/wizards.mjs +95 -26
- package/{apps/web/dist/install.sh → install.sh} +23 -5
- package/package.json +2 -58
- package/apps/runtime/dist/agents/architect.js +0 -444
- package/apps/runtime/dist/agents/studio-assistant.js +0 -883
- package/apps/runtime/dist/agents/subscription.js +0 -207
- package/apps/runtime/dist/agents/thought.js +0 -21
- package/apps/runtime/dist/agents/website.js +0 -480
- package/apps/runtime/dist/app.js +0 -359
- package/apps/runtime/dist/apple/wizards-apple +0 -0
- package/apps/runtime/dist/assistant/browser.js +0 -26
- package/apps/runtime/dist/assistant/docs.js +0 -158
- package/apps/runtime/dist/assistant/knows.js +0 -353
- package/apps/runtime/dist/assistant/primer.js +0 -26
- package/apps/runtime/dist/assistant/runs.js +0 -24
- package/apps/runtime/dist/auth/account.js +0 -175
- package/apps/runtime/dist/auth/device.js +0 -112
- package/apps/runtime/dist/auth/index.js +0 -358
- package/apps/runtime/dist/auth/keys.js +0 -55
- package/apps/runtime/dist/auth/local-ticket.js +0 -26
- package/apps/runtime/dist/authoring/example.js +0 -74
- package/apps/runtime/dist/authoring/guide.js +0 -433
- package/apps/runtime/dist/authoring/ops.js +0 -117
- package/apps/runtime/dist/browser/fast/action-space.js +0 -160
- package/apps/runtime/dist/browser/fast/classifier.js +0 -91
- package/apps/runtime/dist/browser/fast/decide.js +0 -171
- package/apps/runtime/dist/browser/fast/driver.js +0 -141
- package/apps/runtime/dist/browser/fast/instructions.js +0 -33
- package/apps/runtime/dist/browser/fast/run.js +0 -249
- package/apps/runtime/dist/browser/fast/span-picker.js +0 -153
- package/apps/runtime/dist/browser/fast/text-helper.js +0 -178
- package/apps/runtime/dist/browser/snapshot.js +0 -335
- package/apps/runtime/dist/cli/account.js +0 -385
- package/apps/runtime/dist/cli/autostart.js +0 -182
- package/apps/runtime/dist/cli/autoupdate.js +0 -221
- package/apps/runtime/dist/cli/clients.js +0 -44
- package/apps/runtime/dist/cli/connect.js +0 -539
- package/apps/runtime/dist/cli/environment.js +0 -93
- package/apps/runtime/dist/cli/exec.js +0 -45
- package/apps/runtime/dist/cli/features.js +0 -50
- package/apps/runtime/dist/cli/home.js +0 -88
- package/apps/runtime/dist/cli/install-env.js +0 -33
- package/apps/runtime/dist/cli/machine.js +0 -106
- package/apps/runtime/dist/cli/main.js +0 -222
- package/apps/runtime/dist/cli/mcp.js +0 -136
- package/apps/runtime/dist/cli/menu.js +0 -202
- package/apps/runtime/dist/cli/processes.js +0 -72
- package/apps/runtime/dist/cli/report.js +0 -66
- package/apps/runtime/dist/cli/setup.js +0 -335
- package/apps/runtime/dist/cli/start.js +0 -276
- package/apps/runtime/dist/cli/status.js +0 -203
- package/apps/runtime/dist/cli/ui.js +0 -59
- package/apps/runtime/dist/cli/uninstall-main.js +0 -20
- package/apps/runtime/dist/cli/uninstall.js +0 -231
- package/apps/runtime/dist/cli/update.js +0 -86
- package/apps/runtime/dist/cli/validate.js +0 -75
- package/apps/runtime/dist/cli/versions.js +0 -106
- package/apps/runtime/dist/connectors/builtin.js +0 -86
- package/apps/runtime/dist/connectors/external.js +0 -409
- package/apps/runtime/dist/connectors/gmail.js +0 -107
- package/apps/runtime/dist/connectors/imap.js +0 -261
- package/apps/runtime/dist/connectors/index.js +0 -325
- package/apps/runtime/dist/connectors/mail.js +0 -72
- package/apps/runtime/dist/connectors/outlook.js +0 -90
- package/apps/runtime/dist/connectors/plugin-connections.js +0 -343
- package/apps/runtime/dist/connectors/via-account.js +0 -65
- package/apps/runtime/dist/credits/credits.js +0 -100
- package/apps/runtime/dist/credits/estimate.js +0 -152
- package/apps/runtime/dist/db/adopt.js +0 -149
- package/apps/runtime/dist/db/client.js +0 -173
- package/apps/runtime/dist/db/control-schema.js +0 -133
- package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +0 -47
- package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +0 -41
- package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +0 -1
- package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +0 -3
- package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +0 -6
- package/apps/runtime/dist/db/migrations/control/0005_chilly_oracle.sql +0 -1
- package/apps/runtime/dist/db/migrations/control/0006_sleepy_mojo.sql +0 -1
- package/apps/runtime/dist/db/migrations/control/0007_common_the_hand.sql +0 -15
- package/apps/runtime/dist/db/migrations/control/0008_runner.sql +0 -8
- package/apps/runtime/dist/db/migrations/control/0009_plugin_claim.sql +0 -9
- package/apps/runtime/dist/db/migrations/control/0010_tan_snowbird.sql +0 -6
- package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +0 -311
- package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +0 -599
- package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +0 -607
- package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +0 -311
- package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +0 -350
- package/apps/runtime/dist/db/migrations/control/meta/0005_snapshot.json +0 -358
- package/apps/runtime/dist/db/migrations/control/meta/0006_snapshot.json +0 -365
- package/apps/runtime/dist/db/migrations/control/meta/0007_snapshot.json +0 -460
- package/apps/runtime/dist/db/migrations/control/meta/0008_snapshot.json +0 -505
- package/apps/runtime/dist/db/migrations/control/meta/0009_snapshot.json +0 -561
- package/apps/runtime/dist/db/migrations/control/meta/0010_snapshot.json +0 -600
- package/apps/runtime/dist/db/migrations/control/meta/_journal.json +0 -83
- package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +0 -188
- package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +0 -1
- package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +0 -1
- package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +0 -52
- package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +0 -6
- package/apps/runtime/dist/db/migrations/tenant/0005_reflective_forgotten_one.sql +0 -2
- package/apps/runtime/dist/db/migrations/tenant/0006_hard_war_machine.sql +0 -30
- package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +0 -43
- package/apps/runtime/dist/db/migrations/tenant/0008_run_event_note.sql +0 -1
- package/apps/runtime/dist/db/migrations/tenant/0009_knowledge.sql +0 -104
- package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +0 -15
- package/apps/runtime/dist/db/migrations/tenant/0011_runners.sql +0 -2
- package/apps/runtime/dist/db/migrations/tenant/0012_assistant_chat.sql +0 -40
- package/apps/runtime/dist/db/migrations/tenant/0013_run_origin.sql +0 -1
- package/apps/runtime/dist/db/migrations/tenant/0014_run_answer.sql +0 -2
- package/apps/runtime/dist/db/migrations/tenant/0015_device_calls.sql +0 -13
- package/apps/runtime/dist/db/migrations/tenant/0016_even_trish_tilby.sql +0 -12
- package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +0 -1323
- package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +0 -1330
- package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +0 -1337
- package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +0 -1605
- package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +0 -1645
- package/apps/runtime/dist/db/migrations/tenant/meta/0005_snapshot.json +0 -1659
- package/apps/runtime/dist/db/migrations/tenant/meta/0006_snapshot.json +0 -1696
- package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +0 -2012
- package/apps/runtime/dist/db/migrations/tenant/meta/0008_snapshot.json +0 -2019
- package/apps/runtime/dist/db/migrations/tenant/meta/0009_snapshot.json +0 -2837
- package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +0 -2942
- package/apps/runtime/dist/db/migrations/tenant/meta/0011_snapshot.json +0 -2956
- package/apps/runtime/dist/db/migrations/tenant/meta/0012_snapshot.json +0 -3132
- package/apps/runtime/dist/db/migrations/tenant/meta/0013_snapshot.json +0 -3139
- package/apps/runtime/dist/db/migrations/tenant/meta/0014_snapshot.json +0 -3154
- package/apps/runtime/dist/db/migrations/tenant/meta/0015_snapshot.json +0 -3243
- package/apps/runtime/dist/db/migrations/tenant/meta/0016_snapshot.json +0 -3326
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +0 -125
- package/apps/runtime/dist/db/schema.js +0 -602
- package/apps/runtime/dist/debug.js +0 -196
- package/apps/runtime/dist/docs/dev/index.md +0 -41
- package/apps/runtime/dist/docs/dev/meta.json +0 -7
- package/apps/runtime/dist/docs/dev/plugins/connections.md +0 -74
- package/apps/runtime/dist/docs/dev/plugins/events.md +0 -89
- package/apps/runtime/dist/docs/dev/plugins/examples.md +0 -101
- package/apps/runtime/dist/docs/dev/plugins/index.md +0 -78
- package/apps/runtime/dist/docs/dev/plugins/layout.md +0 -90
- package/apps/runtime/dist/docs/dev/plugins/meta.json +0 -28
- package/apps/runtime/dist/docs/dev/plugins/quick-start.md +0 -94
- package/apps/runtime/dist/docs/dev/plugins/reference.md +0 -348
- package/apps/runtime/dist/docs/dev/plugins/reloading.md +0 -76
- package/apps/runtime/dist/docs/dev/plugins/routes.md +0 -185
- package/apps/runtime/dist/docs/dev/plugins/runners.md +0 -230
- package/apps/runtime/dist/docs/dev/plugins/server.md +0 -281
- package/apps/runtime/dist/docs/dev/plugins/shipping.md +0 -79
- package/apps/runtime/dist/docs/dev/plugins/space.md +0 -297
- package/apps/runtime/dist/docs/dev/plugins/starters.md +0 -70
- package/apps/runtime/dist/docs/dev/plugins/studio.md +0 -363
- package/apps/runtime/dist/docs/dev/plugins/styling.md +0 -129
- package/apps/runtime/dist/docs/dev/plugins/tables.md +0 -104
- package/apps/runtime/dist/docs/dev/plugins/tools.md +0 -139
- package/apps/runtime/dist/docs/dev/wizard-format.md +0 -121
- package/apps/runtime/dist/docs/meta.json +0 -3
- package/apps/runtime/dist/docs/user/ai-apps.md +0 -112
- package/apps/runtime/dist/docs/user/assistant.md +0 -77
- package/apps/runtime/dist/docs/user/build-a-wizard.md +0 -116
- package/apps/runtime/dist/docs/user/command-line.md +0 -83
- package/apps/runtime/dist/docs/user/connectors.md +0 -90
- package/apps/runtime/dist/docs/user/create-account.md +0 -52
- package/apps/runtime/dist/docs/user/data.md +0 -66
- package/apps/runtime/dist/docs/user/first-start.md +0 -55
- package/apps/runtime/dist/docs/user/index.md +0 -49
- package/apps/runtime/dist/docs/user/install.md +0 -121
- package/apps/runtime/dist/docs/user/local-only.md +0 -42
- package/apps/runtime/dist/docs/user/meta.json +0 -32
- package/apps/runtime/dist/docs/user/models.md +0 -156
- package/apps/runtime/dist/docs/user/plugins.md +0 -71
- package/apps/runtime/dist/docs/user/run.md +0 -98
- package/apps/runtime/dist/docs/user/server.md +0 -52
- package/apps/runtime/dist/docs/user/space.md +0 -126
- package/apps/runtime/dist/docs/user/steps.md +0 -220
- package/apps/runtime/dist/docs/user/test-and-share.md +0 -224
- package/apps/runtime/dist/docs/user/troubleshooting.md +0 -67
- package/apps/runtime/dist/docs/user/wordpress.md +0 -121
- package/apps/runtime/dist/documents/parse.js +0 -246
- package/apps/runtime/dist/engenty/connections-external/build-connector.js +0 -193
- package/apps/runtime/dist/engenty/connections-external/errors.js +0 -11
- package/apps/runtime/dist/engenty/connections-external/import-service.js +0 -270
- package/apps/runtime/dist/engenty/connections-external/importer/classify.js +0 -34
- package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +0 -185
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +0 -63
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +0 -130
- package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +0 -143
- package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +0 -143
- package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +0 -119
- package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +0 -88
- package/apps/runtime/dist/engenty/connections-external/registry-client.js +0 -336
- package/apps/runtime/dist/engenty/connections-external/registry-source.js +0 -82
- package/apps/runtime/dist/engenty/connections-external/types.js +0 -7
- package/apps/runtime/dist/engenty/connections-github/connector.js +0 -209
- package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +0 -381
- package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +0 -94
- package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +0 -290
- package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +0 -567
- package/apps/runtime/dist/engenty/connections-google/definitions.js +0 -11
- package/apps/runtime/dist/engenty/connections-google/shared.js +0 -73
- package/apps/runtime/dist/engenty/connections-hubspot/connector.js +0 -140
- package/apps/runtime/dist/engenty/connections-microsoft/action.js +0 -17
- package/apps/runtime/dist/engenty/connections-microsoft/graph.js +0 -114
- package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +0 -286
- package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +0 -492
- package/apps/runtime/dist/engenty/connections-s3/s3.js +0 -328
- package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +0 -86
- package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +0 -150
- package/apps/runtime/dist/engenty/connections-sdk/registry.js +0 -89
- package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +0 -84
- package/apps/runtime/dist/engenty/connections-sdk/types.js +0 -30
- package/apps/runtime/dist/engenty/connections-slack/connector.js +0 -360
- package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +0 -178
- package/apps/runtime/dist/engenty/csv-import/import-sources.js +0 -87
- package/apps/runtime/dist/engenty/csv-import/parse-csv.js +0 -129
- package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +0 -20
- package/apps/runtime/dist/engenty/csv-import/types.js +0 -1
- package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +0 -159
- package/apps/runtime/dist/engenty/doc-converter/interface.js +0 -9
- package/apps/runtime/dist/engenty/doc-converter/page-break.js +0 -92
- package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +0 -72
- package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +0 -30
- package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +0 -4
- package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +0 -73
- package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +0 -63
- package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +0 -40
- package/apps/runtime/dist/engenty/search-index/chunks.js +0 -164
- package/apps/runtime/dist/engenty/search-index/contracts.js +0 -9
- package/apps/runtime/dist/engenty/shims/connections-sdk.js +0 -39
- package/apps/runtime/dist/engenty/shims/plugin-sdk.js +0 -1
- package/apps/runtime/dist/engenty/shims/web-ingest.js +0 -19
- package/apps/runtime/dist/engenty/web-ingest/ssrf.js +0 -277
- package/apps/runtime/dist/engine/asks.js +0 -82
- package/apps/runtime/dist/engine/decide.js +0 -82
- package/apps/runtime/dist/engine/device.js +0 -194
- package/apps/runtime/dist/engine/events.js +0 -128
- package/apps/runtime/dist/engine/input.js +0 -208
- package/apps/runtime/dist/engine/owner.js +0 -32
- package/apps/runtime/dist/engine/prepare.js +0 -90
- package/apps/runtime/dist/engine/push.js +0 -58
- package/apps/runtime/dist/engine/requirements.js +0 -355
- package/apps/runtime/dist/engine/resources.js +0 -198
- package/apps/runtime/dist/engine/runner.js +0 -970
- package/apps/runtime/dist/engine/steps.js +0 -1000
- package/apps/runtime/dist/engine/surface.js +0 -91
- package/apps/runtime/dist/engine/template.js +0 -240
- package/apps/runtime/dist/engine/types.js +0 -4
- package/apps/runtime/dist/env.js +0 -295
- package/apps/runtime/dist/features.js +0 -123
- package/apps/runtime/dist/files/blobs.js +0 -22
- package/apps/runtime/dist/files/objects.js +0 -86
- package/apps/runtime/dist/files/storage.js +0 -120
- package/apps/runtime/dist/files/web-images.js +0 -101
- package/apps/runtime/dist/film/project.js +0 -257
- package/apps/runtime/dist/film/skills.js +0 -91
- package/apps/runtime/dist/film/sounds.js +0 -122
- package/apps/runtime/dist/film/step.js +0 -289
- package/apps/runtime/dist/film/tools.js +0 -99
- package/apps/runtime/dist/geocode.js +0 -58
- package/apps/runtime/dist/harness/apple.js +0 -269
- package/apps/runtime/dist/harness/claude.js +0 -147
- package/apps/runtime/dist/harness/codex.js +0 -229
- package/apps/runtime/dist/harness/cursor.js +0 -93
- package/apps/runtime/dist/harness/env.js +0 -124
- package/apps/runtime/dist/harness/gemini.js +0 -126
- package/apps/runtime/dist/harness/index.js +0 -95
- package/apps/runtime/dist/harness/model.js +0 -271
- package/apps/runtime/dist/harness/prompt.js +0 -121
- package/apps/runtime/dist/harness/terminal.js +0 -194
- package/apps/runtime/dist/harness/types.js +0 -7
- package/apps/runtime/dist/index.js +0 -113
- package/apps/runtime/dist/limits.js +0 -81
- package/apps/runtime/dist/link-preview.js +0 -60
- package/apps/runtime/dist/log.js +0 -106
- package/apps/runtime/dist/manage.js +0 -249
- package/apps/runtime/dist/mcp/auth.js +0 -161
- package/apps/runtime/dist/mcp/bridge.js +0 -59
- package/apps/runtime/dist/mcp/flow-app.js +0 -97
- package/apps/runtime/dist/mcp/handler.js +0 -54
- package/apps/runtime/dist/mcp/scopes.js +0 -14
- package/apps/runtime/dist/mcp/seen.js +0 -65
- package/apps/runtime/dist/mcp/tools.js +0 -572
- package/apps/runtime/dist/media/conversation.js +0 -167
- package/apps/runtime/dist/media/ffmpeg.js +0 -121
- package/apps/runtime/dist/media/generate.js +0 -120
- package/apps/runtime/dist/media/marking.js +0 -121
- package/apps/runtime/dist/media/transcribe.js +0 -198
- package/apps/runtime/dist/model-errors.js +0 -42
- package/apps/runtime/dist/models.js +0 -1106
- package/apps/runtime/dist/plugin.js +0 -61
- package/apps/runtime/dist/plugins/channels.js +0 -78
- package/apps/runtime/dist/plugins/claims.js +0 -56
- package/apps/runtime/dist/plugins/discovery.js +0 -155
- package/apps/runtime/dist/plugins/events.js +0 -63
- package/apps/runtime/dist/plugins/jobs.js +0 -64
- package/apps/runtime/dist/plugins/loader.js +0 -501
- package/apps/runtime/dist/plugins/migrations.js +0 -69
- package/apps/runtime/dist/plugins/pro-keys.js +0 -34
- package/apps/runtime/dist/plugins/pro-state.js +0 -83
- package/apps/runtime/dist/plugins/pro.js +0 -310
- package/apps/runtime/dist/plugins/public.js +0 -44
- package/apps/runtime/dist/plugins/registry.js +0 -122
- package/apps/runtime/dist/plugins/runs.js +0 -210
- package/apps/runtime/dist/render/browser-path.js +0 -54
- package/apps/runtime/dist/render/chromium.js +0 -98
- package/apps/runtime/dist/render/convert.js +0 -158
- package/apps/runtime/dist/render/downloads.js +0 -299
- package/apps/runtime/dist/render/guard.js +0 -25
- package/apps/runtime/dist/render/shaped.js +0 -137
- package/apps/runtime/dist/routes/api.js +0 -440
- package/apps/runtime/dist/routes/debug.js +0 -42
- package/apps/runtime/dist/routes/delivery.js +0 -90
- package/apps/runtime/dist/routes/internal.js +0 -81
- package/apps/runtime/dist/routes/lang.js +0 -25
- package/apps/runtime/dist/routes/marketplace.js +0 -43
- package/apps/runtime/dist/routes/plugin-public.js +0 -113
- package/apps/runtime/dist/routes/plugins.js +0 -212
- package/apps/runtime/dist/routes/runs.js +0 -1422
- package/apps/runtime/dist/routes/studio.js +0 -1600
- package/apps/runtime/dist/routes/wizard-stream.js +0 -30
- package/apps/runtime/dist/running.js +0 -39
- package/apps/runtime/dist/sandbox/docker.js +0 -75
- package/apps/runtime/dist/sandbox/index.js +0 -23
- package/apps/runtime/dist/sandbox/types.js +0 -1
- package/apps/runtime/dist/secrets/crypto.js +0 -28
- package/apps/runtime/dist/secrets/signing.js +0 -52
- package/apps/runtime/dist/secrets/vault.js +0 -59
- package/apps/runtime/dist/services/access.js +0 -88
- package/apps/runtime/dist/services/api.js +0 -248
- package/apps/runtime/dist/services/architect.js +0 -95
- package/apps/runtime/dist/services/assistant-chats.js +0 -311
- package/apps/runtime/dist/services/brand.js +0 -85
- package/apps/runtime/dist/services/cloud.js +0 -456
- package/apps/runtime/dist/services/draft-events.js +0 -27
- package/apps/runtime/dist/services/engenty-shapes.js +0 -71
- package/apps/runtime/dist/services/errors.js +0 -29
- package/apps/runtime/dist/services/files.js +0 -178
- package/apps/runtime/dist/services/knowledge-model.js +0 -559
- package/apps/runtime/dist/services/knowledge.js +0 -721
- package/apps/runtime/dist/services/links.js +0 -16
- package/apps/runtime/dist/services/marketplace.js +0 -492
- package/apps/runtime/dist/services/onboarding.js +0 -152
- package/apps/runtime/dist/services/package-file.js +0 -82
- package/apps/runtime/dist/services/package.js +0 -170
- package/apps/runtime/dist/services/profile.js +0 -51
- package/apps/runtime/dist/services/project-files.js +0 -439
- package/apps/runtime/dist/services/project-index.js +0 -707
- package/apps/runtime/dist/services/projects.js +0 -387
- package/apps/runtime/dist/services/relevance.js +0 -58
- package/apps/runtime/dist/services/runners.js +0 -178
- package/apps/runtime/dist/services/runs.js +0 -524
- package/apps/runtime/dist/services/shares.js +0 -130
- package/apps/runtime/dist/services/site.js +0 -270
- package/apps/runtime/dist/services/space-categories.js +0 -861
- package/apps/runtime/dist/services/space-data.js +0 -792
- package/apps/runtime/dist/services/space-origin.js +0 -207
- package/apps/runtime/dist/services/spaces.js +0 -656
- package/apps/runtime/dist/services/translations.js +0 -306
- package/apps/runtime/dist/services/widgets.js +0 -34
- package/apps/runtime/dist/services/wizard-icon.js +0 -157
- package/apps/runtime/dist/services/wizards.js +0 -420
- package/apps/runtime/dist/settings.js +0 -16
- package/apps/runtime/dist/store/errors.js +0 -4
- package/apps/runtime/dist/store/index.js +0 -299
- package/apps/runtime/dist/store/shared-lists.js +0 -123
- package/apps/runtime/dist/tenants/control.js +0 -238
- package/apps/runtime/dist/tenants/tenant.js +0 -26
- package/apps/runtime/dist/texts.js +0 -203
- package/apps/runtime/dist/tools/browser.js +0 -703
- package/apps/runtime/dist/tools/connector.js +0 -204
- package/apps/runtime/dist/tools/index.js +0 -291
- package/apps/runtime/dist/tools/mail.js +0 -104
- package/apps/runtime/dist/tools/net-guard.js +0 -170
- package/apps/runtime/dist/tools/pages.js +0 -81
- package/apps/runtime/dist/tools/plugin.js +0 -180
- package/apps/runtime/dist/tools/project.js +0 -154
- package/apps/runtime/dist/tools/shared.js +0 -69
- package/apps/runtime/dist/tools/store.js +0 -238
- package/apps/runtime/dist/update.js +0 -113
- package/apps/runtime/dist/widgets/bundle.js +0 -99
- package/apps/runtime/dist/widgets/render.js +0 -329
- package/apps/runtime/dist/widgets/runtime.js +0 -108
- package/apps/runtime/dist/widgets/script.js +0 -30
- package/apps/runtime/dist/widgets/step.js +0 -223
- package/apps/web/dist/ai-labels/ai-black.svg +0 -20
- package/apps/web/dist/ai-labels/ai-generated-black.svg +0 -31
- package/apps/web/dist/ai-labels/ai-generated-white.svg +0 -32
- package/apps/web/dist/ai-labels/ai-modified-black.svg +0 -30
- package/apps/web/dist/ai-labels/ai-modified-white.svg +0 -31
- package/apps/web/dist/ai-labels/ai-white.svg +0 -21
- package/apps/web/dist/assets/AboutDialog--aZOfowz.js +0 -1
- package/apps/web/dist/assets/ChangelogDialog-CcMXT8l9.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/FlowPreview-CpA_aX8t.js +0 -1
- package/apps/web/dist/assets/Harness-BrP-ENHg.css +0 -1
- package/apps/web/dist/assets/Harness-C8demwfW.js +0 -16
- package/apps/web/dist/assets/NewWizardChannels-vph1mN1m.js +0 -1
- 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/ReadOnly-rQGZBuzb.js +0 -1
- package/apps/web/dist/assets/RunDrawer-Cs8XqQUo.js +0 -4
- package/apps/web/dist/assets/RunnerView-B85O0i1h.js +0 -1
- 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/SharePage-CbmAN4M4.js +0 -1
- package/apps/web/dist/assets/changelog-BBR59khF.js +0 -1
- package/apps/web/dist/assets/engenty-eXZ-EAwd.js +0 -1
- package/apps/web/dist/assets/esm-CY-A_13f.js +0 -7
- package/apps/web/dist/assets/fluffy-engenty-ClRou7yu.js +0 -456
- package/apps/web/dist/assets/index-C7HL_Fjz.js +0 -14
- package/apps/web/dist/assets/index-Co9Yr23e.css +0 -1
- package/apps/web/dist/assets/jsx-runtime-BNakU3Ej.js +0 -1
- package/apps/web/dist/assets/lock--JFmtLDU.js +0 -1
- package/apps/web/dist/assets/oss-credits-BJrR7BR1.js +0 -1
- package/apps/web/dist/assets/pdfmake-Cx9scTbD.js +0 -228
- package/apps/web/dist/assets/phone-DMtADQ4-.js +0 -1
- package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +0 -1
- package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +0 -98
- package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +0 -1
- package/apps/web/dist/assets/rolldown-runtime-hePW80VL.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/apps/web/dist/assets/upload-Bcpc3mDn.js +0 -1
- package/apps/web/dist/assets/vfs_fonts-DllDSYt1.js +0 -1
- package/apps/web/dist/embed.js +0 -266
- package/apps/web/dist/favicon.svg +0 -1
- package/apps/web/dist/icons/apple-touch-icon.png +0 -0
- package/apps/web/dist/icons/icon-192.png +0 -0
- package/apps/web/dist/icons/icon-512.png +0 -0
- package/apps/web/dist/icons/icon-maskable-512.png +0 -0
- package/apps/web/dist/index.html +0 -48
- package/apps/web/dist/manifest.webmanifest +0 -21
- package/apps/web/dist/mcp/flow.html +0 -980
- package/apps/web/dist/sw.js +0 -15
- package/modules/README.md +0 -15
- package/node_modules/@engenty-wizards/plugin-sdk/dist/index.d.ts +0 -1150
- package/node_modules/@engenty-wizards/plugin-sdk/dist/index.js +0 -4
- package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +0 -322
- package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.js +0 -4
- package/node_modules/@engenty-wizards/plugin-sdk/dist/thread.d.ts +0 -174
- package/node_modules/@engenty-wizards/plugin-sdk/dist/thread.js +0 -821
- package/node_modules/@engenty-wizards/plugin-sdk/package.json +0 -11
- package/node_modules/@engenty-wizards/shared/dist/assistant.d.ts +0 -174
- package/node_modules/@engenty-wizards/shared/dist/assistant.js +0 -65
- package/node_modules/@engenty-wizards/shared/dist/changes.d.ts +0 -22
- package/node_modules/@engenty-wizards/shared/dist/changes.js +0 -61
- package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +0 -77
- package/node_modules/@engenty-wizards/shared/dist/connectors.js +0 -2
- package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +0 -76
- package/node_modules/@engenty-wizards/shared/dist/decision.js +0 -147
- package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +0 -2922
- package/node_modules/@engenty-wizards/shared/dist/definition.js +0 -1920
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +0 -5
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +0 -132
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +0 -11
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +0 -209
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +0 -532
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +0 -217
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +0 -3
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +0 -3
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +0 -14
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +0 -166
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +0 -33
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +0 -99
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +0 -78
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +0 -70
- package/node_modules/@engenty-wizards/shared/dist/features.d.ts +0 -41
- package/node_modules/@engenty-wizards/shared/dist/features.js +0 -89
- package/node_modules/@engenty-wizards/shared/dist/fit.d.ts +0 -71
- package/node_modules/@engenty-wizards/shared/dist/fit.js +0 -382
- package/node_modules/@engenty-wizards/shared/dist/json-schema.d.ts +0 -14
- package/node_modules/@engenty-wizards/shared/dist/json-schema.js +0 -66
- package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +0 -199
- package/node_modules/@engenty-wizards/shared/dist/knowledge.js +0 -68
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +0 -35
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +0 -107
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +0 -20
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +0 -136
- package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +0 -227
- package/node_modules/@engenty-wizards/shared/dist/marketplace.js +0 -354
- package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +0 -7
- package/node_modules/@engenty-wizards/shared/dist/merge.js +0 -40
- package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +0 -24
- package/node_modules/@engenty-wizards/shared/dist/numbers.js +0 -54
- package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +0 -224
- package/node_modules/@engenty-wizards/shared/dist/projects.js +0 -319
- package/node_modules/@engenty-wizards/shared/dist/providers.d.ts +0 -101
- package/node_modules/@engenty-wizards/shared/dist/providers.js +0 -390
- package/node_modules/@engenty-wizards/shared/dist/run.d.ts +0 -679
- package/node_modules/@engenty-wizards/shared/dist/run.js +0 -618
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.d.ts +0 -546
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.js +0 -523
- package/node_modules/@engenty-wizards/shared/dist/runners.d.ts +0 -93
- package/node_modules/@engenty-wizards/shared/dist/runners.js +0 -146
- package/node_modules/@engenty-wizards/shared/dist/shape.d.ts +0 -102
- package/node_modules/@engenty-wizards/shared/dist/shape.js +0 -318
- package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +0 -89
- package/node_modules/@engenty-wizards/shared/dist/space-data.js +0 -47
- package/node_modules/@engenty-wizards/shared/dist/store.d.ts +0 -117
- package/node_modules/@engenty-wizards/shared/dist/store.js +0 -81
- package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +0 -115
- package/node_modules/@engenty-wizards/shared/dist/surface.js +0 -442
- package/node_modules/@engenty-wizards/shared/dist/texts.d.ts +0 -45
- package/node_modules/@engenty-wizards/shared/dist/texts.js +0 -54
- package/node_modules/@engenty-wizards/shared/dist/translation.d.ts +0 -23
- package/node_modules/@engenty-wizards/shared/dist/translation.js +0 -154
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.d.ts +0 -48
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +0 -49
- package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +0 -16
- package/node_modules/@engenty-wizards/shared/dist/workspace.js +0 -51
- package/node_modules/@engenty-wizards/shared/package.json +0 -10
- package/plugin/.claude-plugin/plugin.json +0 -9
- package/plugin/.mcp.json +0 -8
- package/plugin/commands/wizard.md +0 -8
- package/plugin/skills/build-wizard/SKILL.md +0 -27
- package/plugin/skills/use-wizard/SKILL.md +0 -18
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,
|
package/bin/wizards.mjs
CHANGED
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
// The `wizards` command. Kept to what every Node understands, so that an old one gets a new
|
|
3
3
|
// one installed instead of a syntax error.
|
|
4
4
|
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
5
|
+
// The same file is two things. In the npm package `wizards` (`npx wizards`, `npm install -g
|
|
6
|
+
// wizards`) it is the launcher, with nothing beside it but the installer (install.sh) and no
|
|
7
|
+
// dependencies: on macOS and Linux it installs engenty wizards into ~/.engenty/wizards with that
|
|
8
|
+
// installer (its own Node, the runtime @engenty/wizards-runtime, the `wizards` command), brings an
|
|
9
|
+
// older install there up to its own version, and hands the command to it. In the runtime, which
|
|
10
|
+
// the installer puts there, it is the command itself.
|
|
11
|
+
//
|
|
12
|
+
// Only --version needs no install. A copy with the runtime beside it (a checkout, the runtime from
|
|
13
|
+
// npm) runs --help, validate and mcp here as well, as long as this Node can.
|
|
10
14
|
import { spawn, spawnSync } from "node:child_process";
|
|
11
15
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
12
16
|
import { homedir } from "node:os";
|
|
@@ -24,6 +28,14 @@ const home = join(
|
|
|
24
28
|
);
|
|
25
29
|
const runtime = join(home, "runtime");
|
|
26
30
|
const wrapper = join(home, "bin", "wizards");
|
|
31
|
+
/** The runtime's npm package. Up to 0.7.4 it was `wizards` itself; that name is the launcher now. */
|
|
32
|
+
const RUNTIME = "@engenty/wizards-runtime";
|
|
33
|
+
/** Whether this copy is the runtime, or the launcher without it. */
|
|
34
|
+
const hasRuntime = existsSync(join(root, "apps", "runtime", "dist", "cli", "main.js"));
|
|
35
|
+
/** The installer: beside the launcher, or in the runtime's built SPA. */
|
|
36
|
+
const installer = [join(root, "install.sh"), join(root, "apps", "web", "dist", "install.sh")].find(
|
|
37
|
+
(file) => existsSync(file),
|
|
38
|
+
);
|
|
27
39
|
// uninstall: never installs or hands over first; the install it takes away may no longer run.
|
|
28
40
|
const RUN_HERE = ["help", "validate", "mcp", "uninstall"];
|
|
29
41
|
const tilde = (path) =>
|
|
@@ -37,6 +49,26 @@ function versionOf(dir) {
|
|
|
37
49
|
}
|
|
38
50
|
}
|
|
39
51
|
|
|
52
|
+
/**
|
|
53
|
+
* The version of the runtime the installed command starts; null without one. `runtime/current`
|
|
54
|
+
* since 0.6.3, `runtime/` itself before; the runtime under its name, or as `wizards` up to 0.7.4.
|
|
55
|
+
* A `wizards` without the runtime is the launcher, which an update of 0.7.4 or older fetches.
|
|
56
|
+
*/
|
|
57
|
+
function installedVersion() {
|
|
58
|
+
if (!existsSync(wrapper)) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
for (const prefix of [join(runtime, "current"), runtime]) {
|
|
62
|
+
for (const name of [RUNTIME, "wizards"]) {
|
|
63
|
+
const dir = join(prefix, "node_modules", name);
|
|
64
|
+
if (existsSync(join(dir, "apps", "runtime"))) {
|
|
65
|
+
return versionOf(dir);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
40
72
|
/** Whether version a is older than b, by major, minor and patch. */
|
|
41
73
|
function older(a, b) {
|
|
42
74
|
const pa = a.split(/[.+-]/).map(Number);
|
|
@@ -93,19 +125,18 @@ function terminalEnv() {
|
|
|
93
125
|
|
|
94
126
|
/** The installer this copy carries, for its own version; true when it ran to its end. */
|
|
95
127
|
function install(version, quiet) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
},
|
|
128
|
+
if (!installer) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
const result = spawnSync("bash", [installer, "--no-setup"], {
|
|
132
|
+
// A command whose output is read (validate --json, mcp) keeps its stdout to itself.
|
|
133
|
+
stdio: ["ignore", quiet ? 2 : "inherit", "inherit"],
|
|
134
|
+
env: {
|
|
135
|
+
...terminalEnv(),
|
|
136
|
+
// The runtime of this version, from npm; ENGENTY_WIZARDS_PACKAGE stays an override for tests.
|
|
137
|
+
ENGENTY_WIZARDS_PACKAGE: process.env.ENGENTY_WIZARDS_PACKAGE || `${RUNTIME}@${version}`,
|
|
107
138
|
},
|
|
108
|
-
);
|
|
139
|
+
});
|
|
109
140
|
return result.status === 0;
|
|
110
141
|
}
|
|
111
142
|
|
|
@@ -150,10 +181,12 @@ if (command === "version") {
|
|
|
150
181
|
console.log(versionOf(root));
|
|
151
182
|
process.exit(0);
|
|
152
183
|
}
|
|
184
|
+
const own = versionOf(root) || "0.0.0";
|
|
185
|
+
const quiet = RUN_HERE.includes(command);
|
|
153
186
|
const checkout = existsSync(join(root, "pnpm-workspace.yaml"));
|
|
154
187
|
// Windows has no installer yet, and the setup, the service and the AI clients are written for
|
|
155
188
|
// macOS and Linux: it says so instead of half working. What needs no install still runs.
|
|
156
|
-
if (process.platform === "win32" && !checkout && !RUN_HERE.includes(command)) {
|
|
189
|
+
if (process.platform === "win32" && !checkout && !(hasRuntime && RUN_HERE.includes(command))) {
|
|
157
190
|
console.error(
|
|
158
191
|
"engenty wizards for Windows is coming soon.\n\n" +
|
|
159
192
|
"Until then it runs in WSL (Windows Subsystem for Linux). In PowerShell:\n\n" +
|
|
@@ -164,14 +197,43 @@ if (process.platform === "win32" && !checkout && !RUN_HERE.includes(command)) {
|
|
|
164
197
|
);
|
|
165
198
|
process.exit(1);
|
|
166
199
|
}
|
|
200
|
+
if (isInstall() && !hasRuntime) {
|
|
201
|
+
// The launcher in the install's place: an update of 0.7.4 or older fetched `wizards`, the
|
|
202
|
+
// runtime's name then, and its next start switched to it. The installer it carries brings the
|
|
203
|
+
// runtime of this version, and the command it writes starts that one from now on.
|
|
204
|
+
console.error(`Completing the update to engenty wizards ${own}…`);
|
|
205
|
+
if (!install(own, quiet) || !installedVersion()) {
|
|
206
|
+
console.error(
|
|
207
|
+
`The update didn’t complete. To install engenty wizards again:\n\n` +
|
|
208
|
+
" curl -fsSL https://engenty.ai/install.sh | bash\n",
|
|
209
|
+
);
|
|
210
|
+
process.exit(1);
|
|
211
|
+
}
|
|
212
|
+
// This process takes the new command's place: a login item keeps waiting on the same pid.
|
|
213
|
+
try {
|
|
214
|
+
process.execve?.(wrapper, [wrapper, ...args], process.env);
|
|
215
|
+
} catch {
|
|
216
|
+
// It waits for the new command instead (below).
|
|
217
|
+
}
|
|
218
|
+
process.exit(await handOver());
|
|
219
|
+
}
|
|
167
220
|
const fromNpm = process.platform !== "win32" && !checkout && !isInstall();
|
|
168
|
-
if (fromNpm && command
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
221
|
+
if (fromNpm && command === "uninstall" && !hasRuntime) {
|
|
222
|
+
// The install's own uninstall takes it away; it never updates first. An install the update
|
|
223
|
+
// left without its runtime gets it back (above, in the installed command) and then uninstalls.
|
|
224
|
+
if (!existsSync(wrapper)) {
|
|
225
|
+
console.error(`There is no engenty wizards in ${tilde(home)} to uninstall.`);
|
|
226
|
+
process.exit(0);
|
|
227
|
+
}
|
|
228
|
+
process.exit(await handOver());
|
|
229
|
+
}
|
|
230
|
+
if (
|
|
231
|
+
fromNpm &&
|
|
232
|
+
command !== "uninstall" &&
|
|
233
|
+
(!hasRuntime || !currentNode || !RUN_HERE.includes(command))
|
|
234
|
+
) {
|
|
235
|
+
const installed = installedVersion();
|
|
173
236
|
if (!installed || older(installed, own)) {
|
|
174
|
-
const quiet = RUN_HERE.includes(command);
|
|
175
237
|
const running = installed && runs();
|
|
176
238
|
if (install(own, quiet)) {
|
|
177
239
|
// What runs is still the old version: it starts again as the new one.
|
|
@@ -181,7 +243,7 @@ if (fromNpm && command !== "uninstall" && (!currentNode || !RUN_HERE.includes(co
|
|
|
181
243
|
env: terminalEnv(),
|
|
182
244
|
});
|
|
183
245
|
}
|
|
184
|
-
} else if (currentNode && !installed) {
|
|
246
|
+
} else if (hasRuntime && currentNode && !installed) {
|
|
185
247
|
console.error(
|
|
186
248
|
`The install into ${tilde(home)} failed; this time engenty wizards runs from npm.\n`,
|
|
187
249
|
);
|
|
@@ -191,9 +253,16 @@ if (fromNpm && command !== "uninstall" && (!currentNode || !RUN_HERE.includes(co
|
|
|
191
253
|
`${tilde(home)} has engenty wizards ${installed}, newer than ${own}; that one runs.`,
|
|
192
254
|
);
|
|
193
255
|
}
|
|
194
|
-
if (
|
|
256
|
+
if (installedVersion()) {
|
|
195
257
|
process.exit(await handOver());
|
|
196
258
|
}
|
|
259
|
+
if (!hasRuntime) {
|
|
260
|
+
console.error(
|
|
261
|
+
`engenty wizards couldn’t be installed into ${tilde(home)}. The installer on its own:\n\n` +
|
|
262
|
+
" curl -fsSL https://engenty.ai/install.sh | bash\n",
|
|
263
|
+
);
|
|
264
|
+
process.exit(1);
|
|
265
|
+
}
|
|
197
266
|
}
|
|
198
267
|
if (!currentNode && command === "uninstall") {
|
|
199
268
|
// The install's own Node, if it is still there, runs this copy's uninstall.
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
# ~/.engenty/wizards (ENGENTY_HOME moves it):
|
|
8
8
|
#
|
|
9
9
|
# tools/node-v<version>/ its own Node; a Node you already have is left alone
|
|
10
|
-
# runtime/<version>/ the package
|
|
10
|
+
# runtime/<version>/ the runtime (the npm package @engenty/wizards-runtime), from the
|
|
11
|
+
# GitHub release; runtime/current
|
|
11
12
|
# names the one that runs, the one before stays for going back
|
|
12
13
|
# bin/wizards the command, linked into ~/.local/bin
|
|
13
14
|
# data/ your wizards and results (made at the first start)
|
|
@@ -30,7 +31,11 @@
|
|
|
30
31
|
set -Eeuo pipefail
|
|
31
32
|
|
|
32
33
|
NODE_VERSION="${ENGENTY_WIZARDS_NODE_VERSION:-24.14.0}"
|
|
33
|
-
|
|
34
|
+
# The runtime's npm package, and its file on the GitHub release (npm pack names it so).
|
|
35
|
+
PACKAGE_NAME="@engenty/wizards-runtime"
|
|
36
|
+
PACKAGE_FILE="engenty-wizards-runtime"
|
|
37
|
+
# What the runtime was called from 0.1.9 to 0.7.4; `wizards` is the launcher now (`npx wizards`).
|
|
38
|
+
LEGACY_NAME="wizards"
|
|
34
39
|
# What the package and the command were called up to 0.1.8.
|
|
35
40
|
OLD_NAME="engenty-wizards"
|
|
36
41
|
RELEASES="https://github.com/engenty/wizards/releases"
|
|
@@ -469,8 +474,9 @@ package() {
|
|
|
469
474
|
0.0.* | 0.1.[0-8])
|
|
470
475
|
die "Version $VERSION holds the package under its old name, $OLD_NAME. This installer installs 0.1.9 and newer."
|
|
471
476
|
;;
|
|
477
|
+
0.[1-6].* | 0.7.[0-4]) SPEC="$RELEASES/download/v$VERSION/$LEGACY_NAME-$VERSION.tgz" ;;
|
|
478
|
+
*) SPEC="$RELEASES/download/v$VERSION/$PACKAGE_FILE-$VERSION.tgz" ;;
|
|
472
479
|
esac
|
|
473
|
-
SPEC="$RELEASES/download/v$VERSION/$PACKAGE_NAME-$VERSION.tgz"
|
|
474
480
|
}
|
|
475
481
|
|
|
476
482
|
runtime() {
|
|
@@ -489,7 +495,19 @@ runtime() {
|
|
|
489
495
|
spin "Installing engenty wizards (about 650 MB on disk, a minute or two)" \
|
|
490
496
|
env PATH="$NODE_DIR/bin:$PATH" "$NODE_DIR/bin/npm" install --prefix "$stage" \
|
|
491
497
|
--omit=dev --ignore-scripts --legacy-peer-deps --no-audit --no-fund --loglevel=error "$SPEC"
|
|
492
|
-
|
|
498
|
+
# The runtime under its name, or under the one it had up to 0.7.4 (`--version 0.7.4`). The
|
|
499
|
+
# package `wizards` of now is only the launcher: no runtime in it.
|
|
500
|
+
if [ -f "$stage/node_modules/$PACKAGE_NAME/package.json" ]; then
|
|
501
|
+
PACKAGE="$PACKAGE_NAME"
|
|
502
|
+
# A command or an update of 0.7.4 or older looks for the runtime under its old name.
|
|
503
|
+
ln -s "$PACKAGE_NAME" "$stage/node_modules/$LEGACY_NAME"
|
|
504
|
+
elif [ -d "$stage/node_modules/$LEGACY_NAME/apps/runtime" ]; then
|
|
505
|
+
PACKAGE="$LEGACY_NAME"
|
|
506
|
+
else
|
|
507
|
+
rm -rf "$stage"
|
|
508
|
+
die "$SPEC holds no runtime of engenty wizards."
|
|
509
|
+
fi
|
|
510
|
+
INSTALLED="$(MANIFEST="$stage/node_modules/$PACKAGE/package.json" \
|
|
493
511
|
"$NODE_DIR/bin/node" -p 'require(process.env.MANIFEST).version')"
|
|
494
512
|
# Up to 0.6.2 runtime/ itself was the prefix.
|
|
495
513
|
if [ -d "$dir/node_modules" ] && [ ! -L "$dir/node_modules" ]; then
|
|
@@ -518,7 +536,7 @@ command_link() {
|
|
|
518
536
|
printf 'export ENGENTY_HOME="${ENGENTY_HOME:-%s}"\n' "$BASE"
|
|
519
537
|
fi
|
|
520
538
|
printf 'exec "%s" "%s" "$@"\n' "$HOME_DIR/tools/node/bin/node" \
|
|
521
|
-
"$HOME_DIR/runtime/current/node_modules/$
|
|
539
|
+
"$HOME_DIR/runtime/current/node_modules/$PACKAGE/bin/wizards.mjs"
|
|
522
540
|
} >"$WRAPPER"
|
|
523
541
|
chmod 755 "$WRAPPER"
|
|
524
542
|
if [ "$LINK" != 1 ]; then
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wizards",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
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",
|
|
6
6
|
"homepage": "https://engenty.ai",
|
|
@@ -12,68 +12,12 @@
|
|
|
12
12
|
"bin": {
|
|
13
13
|
"wizards": "bin/wizards.mjs"
|
|
14
14
|
},
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">=24.11"
|
|
17
|
-
},
|
|
18
15
|
"os": [
|
|
19
16
|
"darwin",
|
|
20
17
|
"linux"
|
|
21
18
|
],
|
|
22
19
|
"files": [
|
|
23
|
-
"apps",
|
|
24
20
|
"bin",
|
|
25
|
-
"
|
|
26
|
-
"plugin"
|
|
27
|
-
],
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@ai-sdk/anthropic": "4.0.54",
|
|
30
|
-
"@ai-sdk/elevenlabs": "3.0.42",
|
|
31
|
-
"@ai-sdk/fal": "3.0.42",
|
|
32
|
-
"@ai-sdk/gateway": "4.0.82",
|
|
33
|
-
"@ai-sdk/google": "4.0.72",
|
|
34
|
-
"@ai-sdk/openai": "4.0.67",
|
|
35
|
-
"@ai-sdk/replicate": "3.0.42",
|
|
36
|
-
"@clack/prompts": "1.8.1",
|
|
37
|
-
"@engenty-wizards/plugin-sdk": "0.1.0",
|
|
38
|
-
"@engenty-wizards/shared": "0.1.0",
|
|
39
|
-
"@executor-js/plugin-openapi": "1.6.10",
|
|
40
|
-
"@hono/node-server": "2.1.3",
|
|
41
|
-
"@libsql/client": "0.18.0",
|
|
42
|
-
"@mastra/core": "1.77.0",
|
|
43
|
-
"@mastra/docker": "0.8.0",
|
|
44
|
-
"@mastra/mcp": "2.4.0",
|
|
45
|
-
"@modelcontextprotocol/client": "2.2.0",
|
|
46
|
-
"@modelcontextprotocol/ext-apps": "2.0.3",
|
|
47
|
-
"@modelcontextprotocol/server": "2.2.0",
|
|
48
|
-
"@napi-rs/canvas": "0.1.80",
|
|
49
|
-
"@turbodocx/html-to-docx": "1.23.1",
|
|
50
|
-
"ai": "7.0.102",
|
|
51
|
-
"aws4fetch": "1.0.20",
|
|
52
|
-
"drizzle-orm": "0.45.3",
|
|
53
|
-
"effect": "4.0.0-beta.59",
|
|
54
|
-
"exceljs": "4.4.0",
|
|
55
|
-
"fast-xml-parser": "5.11.2",
|
|
56
|
-
"fflate": "0.8.3",
|
|
57
|
-
"hono": "4.13.12",
|
|
58
|
-
"imapflow": "2.2.1",
|
|
59
|
-
"jiti": "2.7.0",
|
|
60
|
-
"jose": "6.2.12",
|
|
61
|
-
"mammoth": "1.13.0",
|
|
62
|
-
"marked": "18.0.14",
|
|
63
|
-
"nanoid": "5.1.16",
|
|
64
|
-
"pdf-parse": "2.4.5",
|
|
65
|
-
"playwright-core": "1.63.0",
|
|
66
|
-
"postal-mime": "4.0.2",
|
|
67
|
-
"rfc6902": "5.3.0",
|
|
68
|
-
"turndown": "7.2.4",
|
|
69
|
-
"undici": "7.30.0",
|
|
70
|
-
"zod": "4.6.5"
|
|
71
|
-
},
|
|
72
|
-
"optionalDependencies": {
|
|
73
|
-
"node-pty": "1.1.0"
|
|
74
|
-
},
|
|
75
|
-
"bundleDependencies": [
|
|
76
|
-
"@engenty-wizards/plugin-sdk",
|
|
77
|
-
"@engenty-wizards/shared"
|
|
21
|
+
"install.sh"
|
|
78
22
|
]
|
|
79
23
|
}
|