wizards 0.3.8 → 0.4.1

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 (91) hide show
  1. package/README.md +28 -14
  2. package/apps/runtime/dist/agents/studio-assistant.js +67 -20
  3. package/apps/runtime/dist/auth/account.js +36 -4
  4. package/apps/runtime/dist/auth/device.js +101 -0
  5. package/apps/runtime/dist/auth/index.js +4 -4
  6. package/apps/runtime/dist/cli/account.js +289 -0
  7. package/apps/runtime/dist/cli/install-env.js +33 -0
  8. package/apps/runtime/dist/cli/main.js +17 -3
  9. package/apps/runtime/dist/cli/menu.js +19 -5
  10. package/apps/runtime/dist/cli/setup.js +9 -16
  11. package/apps/runtime/dist/cli/status.js +4 -1
  12. package/apps/runtime/dist/cli/ui.js +14 -0
  13. package/apps/runtime/dist/docs/dev/plugins/reference.md +7 -4
  14. package/apps/runtime/dist/docs/dev/plugins/server.md +3 -1
  15. package/apps/runtime/dist/docs/dev/plugins/space.md +19 -1
  16. package/apps/runtime/dist/docs/dev/plugins/studio.md +43 -6
  17. package/apps/runtime/dist/docs/dev/plugins/styling.md +8 -1
  18. package/apps/runtime/dist/docs/user/command-line.md +3 -2
  19. package/apps/runtime/dist/docs/user/create-account.md +47 -0
  20. package/apps/runtime/dist/docs/user/first-start.md +9 -1
  21. package/apps/runtime/dist/docs/user/index.md +16 -12
  22. package/apps/runtime/dist/docs/user/install.md +3 -1
  23. package/apps/runtime/dist/docs/user/local-only.md +38 -0
  24. package/apps/runtime/dist/docs/user/meta.json +3 -1
  25. package/apps/runtime/dist/docs/user/models.md +3 -2
  26. package/apps/runtime/dist/docs/user/space.md +4 -4
  27. package/apps/runtime/dist/engine/steps.js +3 -2
  28. package/apps/runtime/dist/engine/template.js +14 -10
  29. package/apps/runtime/dist/film/project.js +15 -3
  30. package/apps/runtime/dist/manage.js +12 -0
  31. package/apps/runtime/dist/plugins/loader.js +38 -2
  32. package/apps/runtime/dist/plugins/pro.js +16 -16
  33. package/apps/runtime/dist/routes/studio.js +69 -3
  34. package/apps/runtime/dist/services/brand.js +61 -1
  35. package/apps/runtime/dist/services/cloud.js +10 -10
  36. package/apps/runtime/dist/services/onboarding.js +152 -0
  37. package/apps/runtime/dist/services/projects.js +19 -10
  38. package/apps/runtime/dist/tools/plugin.js +11 -3
  39. package/apps/web/dist/assets/AboutDialog-CXEpsI6L.js +1 -0
  40. package/apps/web/dist/assets/{ChangelogDialog-DsSEkayM.js → ChangelogDialog-Cc2APUGI.js} +1 -1
  41. package/apps/web/dist/assets/ChatView-B2r4dW_m.js +10 -0
  42. package/apps/web/dist/assets/EditorPage-CNAYlSms.js +3 -0
  43. package/apps/web/dist/assets/{FlowPreview-C_x5Kc2j.js → FlowPreview-DzU1nGDb.js} +1 -1
  44. package/apps/web/dist/assets/{Harness-CvvtSTZC.js → Harness-ALQ9Csm6.js} +2 -2
  45. package/apps/web/dist/assets/NewWizardChannels-DMPqHkCF.js +1 -0
  46. package/apps/web/dist/assets/NewWizardPage-pi053e8N.js +7 -0
  47. package/apps/web/dist/assets/OnboardingPage-TYNX6Umd.js +1 -0
  48. package/apps/web/dist/assets/ProjectPage-CvEkx_Ux.js +1 -0
  49. package/apps/web/dist/assets/PublicRunner-BrivKNHo.js +1 -0
  50. package/apps/web/dist/assets/{ReadOnly-C1UcqOlS.js → ReadOnly-DQPHmvS0.js} +1 -1
  51. package/apps/web/dist/assets/RunDrawer-3osugizk.js +4 -0
  52. package/apps/web/dist/assets/{RunnerView-ii-PP5c-.js → RunnerView-Ci4_WzVv.js} +1 -1
  53. package/apps/web/dist/assets/SettingsPage-DKntf7-9.js +1 -0
  54. package/apps/web/dist/assets/SetupPage-DZQxEQyk.js +1 -0
  55. package/apps/web/dist/assets/SharePage-B9l4KthU.js +1 -0
  56. package/apps/web/dist/assets/changelog-CxdXZo3V.js +1 -0
  57. package/apps/web/dist/assets/{circle-alert-D-Q6DK7b.js → circle-alert-DCBV7n5k.js} +1 -1
  58. package/apps/web/dist/assets/{esm-CTna4iL0.js → esm-CuqXcPS3.js} +1 -1
  59. package/apps/web/dist/assets/index-CmxVazOf.css +1 -0
  60. package/apps/web/dist/assets/index-j09nLtEs.js +14 -0
  61. package/apps/web/dist/assets/{lock-DwGN_KOC.js → lock-DlzTfwxP.js} +1 -1
  62. package/apps/web/dist/assets/{phone-XIVIe17d.js → phone-BFD815nc.js} +1 -1
  63. package/apps/web/dist/assets/{settings-menu-JuSRq6NP.js → settings-menu-C7VsRpe9.js} +1 -1
  64. package/apps/web/dist/assets/ui-DTuixH4y.js +134 -0
  65. package/apps/web/dist/assets/{upload-CDxTpAqx.js → upload-BEf5-d6X.js} +1 -1
  66. package/apps/web/dist/index.html +4 -5
  67. package/apps/web/dist/install.sh +17 -7
  68. package/apps/web/dist/mcp/flow.html +2 -2
  69. package/node_modules/@engenty-wizards/plugin-sdk/dist/index.d.ts +36 -2
  70. package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +44 -1
  71. package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +18 -0
  72. package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +18 -0
  73. package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +22 -6
  74. package/node_modules/@engenty-wizards/shared/dist/projects.js +20 -0
  75. package/package.json +1 -1
  76. package/apps/web/dist/assets/AboutDialog-ClV4gNiW.js +0 -1
  77. package/apps/web/dist/assets/ChatView-BdYCnDLk.js +0 -10
  78. package/apps/web/dist/assets/EditorPage-7PZzkNBT.js +0 -3
  79. package/apps/web/dist/assets/NewWizardChannels-g1qCd_tQ.js +0 -1
  80. package/apps/web/dist/assets/NewWizardPage-B3hswj5r.js +0 -7
  81. package/apps/web/dist/assets/ProjectPage-CFDncRxT.js +0 -1
  82. package/apps/web/dist/assets/PublicRunner-C9N5r-sT.js +0 -1
  83. package/apps/web/dist/assets/RunDrawer-B8YzFvgz.js +0 -4
  84. package/apps/web/dist/assets/SettingsPage-ClEP5Q0t.js +0 -1
  85. package/apps/web/dist/assets/SetupPage-CDFzo6LT.js +0 -1
  86. package/apps/web/dist/assets/SharePage-BV2S0g84.js +0 -1
  87. package/apps/web/dist/assets/changelog-wZI-UaUi.js +0 -1
  88. package/apps/web/dist/assets/index-DUjJx-uk.css +0 -1
  89. package/apps/web/dist/assets/index-DnQgOKOQ.js +0 -15
  90. package/apps/web/dist/assets/logo-C4V2_3Ar.js +0 -1
  91. package/apps/web/dist/assets/ui-DrjXmHdO.js +0 -133
@@ -1 +1 @@
1
- import{pn as e}from"./ui-DrjXmHdO.js";var t={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};t.node;var n=e(t);export{n as t};
1
+ import{Wn as e}from"./ui-DTuixH4y.js";var t={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};t.node;var n=e(t);export{n as t};
@@ -32,14 +32,13 @@
32
32
  dispatchEvent(new Event("wizard-install"));
33
33
  });
34
34
  </script>
35
- <script type="module" crossorigin src="/studio/assets/index-DnQgOKOQ.js"></script>
35
+ <script type="module" crossorigin src="/studio/assets/index-j09nLtEs.js"></script>
36
36
  <link rel="modulepreload" crossorigin href="/studio/assets/rolldown-runtime-hePW80VL.js">
37
37
  <link rel="modulepreload" crossorigin href="/studio/assets/jsx-runtime-BNakU3Ej.js">
38
- <link rel="modulepreload" crossorigin href="/studio/assets/engenty-eXZ-EAwd.js">
39
- <link rel="modulepreload" crossorigin href="/studio/assets/logo-C4V2_3Ar.js">
40
38
  <link rel="modulepreload" crossorigin href="/studio/assets/preload-helper-CNEI7N0N.js">
41
- <link rel="modulepreload" crossorigin href="/studio/assets/ui-DrjXmHdO.js">
42
- <link rel="stylesheet" crossorigin href="/studio/assets/index-DUjJx-uk.css">
39
+ <link rel="modulepreload" crossorigin href="/studio/assets/ui-DTuixH4y.js">
40
+ <link rel="modulepreload" crossorigin href="/studio/assets/engenty-eXZ-EAwd.js">
41
+ <link rel="stylesheet" crossorigin href="/studio/assets/index-CmxVazOf.css">
43
42
  </head>
44
43
  <body>
45
44
  <div id="root"></div>
@@ -11,11 +11,12 @@
11
11
  # bin/wizards the command, linked into ~/.local/bin
12
12
  # data/ your wizards and results (made at the first start)
13
13
  #
14
- # Then the guided setup runs (`wizards setup`): an AI client to think with, ffmpeg,
15
- # starting at login. Running the installer again updates an install; your data is
16
- # kept.
14
+ # Then the guided setup runs (`wizards setup`): your engenty account, an AI client to think
15
+ # with, ffmpeg, starting at login. Running the installer again updates an install; your data
16
+ # is kept.
17
17
  #
18
18
  # --yes ask nothing and install nothing optional
19
+ # --local no account: nothing leaves this computer (the docs explain it)
19
20
  # --no-setup only Node, the runtime and the command (what `update` runs)
20
21
  # --version <v> this version instead of the newest
21
22
  # --no-link do not link the command into ~/.local/bin
@@ -35,6 +36,7 @@ RELEASES="https://github.com/engenty/wizards/releases"
35
36
 
36
37
  main() {
37
38
  YES=0
39
+ LOCAL=0
38
40
  SETUP=1
39
41
  LINK=1
40
42
  [ -n "${ENGENTY_WIZARDS_NO_LINK:-}" ] && LINK=0
@@ -42,6 +44,7 @@ main() {
42
44
  while [ $# -gt 0 ]; do
43
45
  case "$1" in
44
46
  --yes | -y) YES=1 ;;
47
+ --local) LOCAL=1 ;;
45
48
  --no-setup) SETUP=0 ;;
46
49
  --no-link) LINK=0 ;;
47
50
  --version)
@@ -86,11 +89,16 @@ main() {
86
89
  printf '%s %s\n\n' "${GRAY}└$RESET" "Installed. The setup follows."
87
90
  printf '%s' "$SHOW"
88
91
  trap - EXIT ERR
89
- # The questions need a terminal; stdin may be the pipe this script came through.
92
+ # --local goes on to the setup: it is the setup's account step that keeps the install off
93
+ # the account. The questions need a terminal; stdin may be the pipe this script came through.
94
+ SETUP_ARGS=""
95
+ [ "$LOCAL" = 1 ] && SETUP_ARGS="--local"
90
96
  if [ "$YES" = 1 ] || [ "$TTY" != 1 ] || ! (exec </dev/tty) 2>/dev/null; then
91
- exec "$WRAPPER" setup --yes </dev/null
97
+ # shellcheck disable=SC2086
98
+ exec "$WRAPPER" setup --yes $SETUP_ARGS </dev/null
92
99
  fi
93
- exec "$WRAPPER" setup </dev/tty
100
+ # shellcheck disable=SC2086
101
+ exec "$WRAPPER" setup $SETUP_ARGS </dev/tty
94
102
  fi
95
103
  printf '%s %s\n' "${GRAY}└$RESET" "Installed engenty wizards $INSTALLED."
96
104
  }
@@ -103,9 +111,11 @@ engenty wizards — installer for macOS and Linux
103
111
  curl -fsSL https://engenty.ai/install.sh | bash -s -- --yes
104
112
 
105
113
  Puts its own Node, the runtime and the `wizards` command into ~/.engenty/wizards
106
- (ENGENTY_HOME moves it), then runs the guided setup. Run it again to update.
114
+ (ENGENTY_HOME moves it), then runs the guided setup: it signs this computer in to your
115
+ engenty account. Run it again to update.
107
116
 
108
117
  --yes ask nothing and install nothing optional
118
+ --local no account: nothing leaves this computer (the docs explain it)
109
119
  --no-setup only Node, the runtime and the command
110
120
  --version <v> this version instead of the newest
111
121
  --no-link do not link the command into ~/.local/bin