wizards 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/apps/runtime/dist/agents/architect.js +7 -29
- package/apps/runtime/dist/agents/studio-assistant.js +7 -24
- package/apps/runtime/dist/cli/autostart.js +58 -12
- package/apps/runtime/dist/cli/autoupdate.js +221 -0
- package/apps/runtime/dist/cli/environment.js +5 -0
- package/apps/runtime/dist/cli/main.js +9 -2
- package/apps/runtime/dist/cli/menu.js +2 -2
- package/apps/runtime/dist/cli/processes.js +72 -0
- package/apps/runtime/dist/cli/setup.js +9 -4
- package/apps/runtime/dist/cli/start.js +18 -1
- package/apps/runtime/dist/cli/status.js +51 -17
- package/apps/runtime/dist/cli/uninstall-main.js +20 -0
- package/apps/runtime/dist/cli/uninstall.js +231 -0
- package/apps/runtime/dist/cli/update.js +25 -2
- package/apps/runtime/dist/cli/versions.js +106 -0
- package/apps/runtime/dist/docs/user/command-line.md +2 -1
- package/apps/runtime/dist/docs/user/data.md +1 -1
- package/apps/runtime/dist/docs/user/install.md +29 -6
- package/apps/runtime/dist/engine/input.js +4 -5
- package/apps/runtime/dist/engine/steps.js +3 -3
- package/apps/runtime/dist/engine/template.js +8 -13
- package/apps/runtime/dist/env.js +3 -20
- package/apps/runtime/dist/features.js +2 -2
- package/apps/runtime/dist/index.js +3 -1
- package/apps/runtime/dist/manage.js +7 -0
- package/apps/runtime/dist/models.js +12 -0
- package/apps/runtime/dist/sandbox/docker.js +0 -2
- package/apps/runtime/dist/sandbox/index.js +3 -10
- package/apps/runtime/dist/services/space-categories.js +3 -25
- package/apps/runtime/dist/tools/browser.js +2 -14
- package/apps/runtime/dist/tools/index.js +1 -19
- package/apps/runtime/dist/tools/mail.js +1 -4
- package/apps/runtime/dist/tools/shared.js +30 -3
- package/apps/runtime/dist/update.js +10 -19
- package/apps/web/dist/assets/AboutDialog-CUVmdhzk.js +1 -0
- package/apps/web/dist/assets/{ChangelogDialog-BRiSYyIn.js → ChangelogDialog-DcQqFbiW.js} +1 -1
- package/apps/web/dist/assets/ChatView-DTPWjzWF.js +10 -0
- package/apps/web/dist/assets/EditorPage-SJHtft7P.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-CUOEzoeJ.js → FlowPreview-DvpjuQdC.js} +1 -1
- package/apps/web/dist/assets/{Harness-D3kTVsF5.js → Harness-D6fezoWO.js} +2 -2
- package/apps/web/dist/assets/{NewWizardChannels-C3PGe_Zd.js → NewWizardChannels-BHeutZ7V.js} +1 -1
- package/apps/web/dist/assets/NewWizardPage-CzBxaPhH.js +7 -0
- package/apps/web/dist/assets/{OnboardingPage-pOPB5TVZ.js → OnboardingPage-DbR4N2Ms.js} +1 -1
- package/apps/web/dist/assets/ProjectPage-DG6_E7kA.js +1 -0
- package/apps/web/dist/assets/PublicRunner-19tV_8TR.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-CCxZvYrT.js → ReadOnly-BMXFtKs0.js} +1 -1
- package/apps/web/dist/assets/RunDrawer-DqwLjFJb.js +4 -0
- package/apps/web/dist/assets/{RunnerView-pKik3sdE.js → RunnerView-DRc4J-rg.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-CCypPS9L.js +1 -0
- package/apps/web/dist/assets/SetupPage-D2Y2rev4.js +1 -0
- package/apps/web/dist/assets/{SharePage-CZQqp5JM.js → SharePage-DB5n6Oug.js} +1 -1
- package/apps/web/dist/assets/changelog-BDhd7tjO.js +1 -0
- package/apps/web/dist/assets/{esm-D4pSRQgT.js → esm-6TNBQNCD.js} +1 -1
- package/apps/web/dist/assets/index-mBRI7ZQp.js +14 -0
- package/apps/web/dist/assets/{lock-DYnHCyRg.js → lock-HLZib0u9.js} +1 -1
- package/apps/web/dist/assets/{phone-DJawY1RF.js → phone-DsxbIcWi.js} +1 -1
- package/apps/web/dist/assets/settings-menu-BMMkIVP1.js +1 -0
- package/apps/web/dist/assets/ui-Brg2qM1A.js +137 -0
- package/apps/web/dist/assets/{upload-DL6NRa4h.js → upload-BaGy0ppG.js} +1 -1
- package/apps/web/dist/index.html +2 -2
- package/apps/web/dist/install.sh +29 -11
- package/apps/web/dist/mcp/flow.html +11 -11
- package/bin/wizards.mjs +17 -3
- package/node_modules/@engenty-wizards/shared/dist/definition.js +6 -17
- package/node_modules/@engenty-wizards/shared/dist/features.d.ts +6 -0
- package/node_modules/@engenty-wizards/shared/dist/features.js +12 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +24 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.js +54 -0
- package/node_modules/@engenty-wizards/shared/dist/store.d.ts +7 -0
- package/node_modules/@engenty-wizards/shared/dist/store.js +28 -0
- package/package.json +1 -1
- package/apps/runtime/dist/sandbox/agentos.js +0 -191
- package/apps/web/dist/assets/AboutDialog-BrfbtjmR.js +0 -1
- package/apps/web/dist/assets/ChatView-_dYvuuUY.js +0 -10
- package/apps/web/dist/assets/EditorPage-CkRjTRMg.js +0 -3
- package/apps/web/dist/assets/NewWizardPage-B3ol4K43.js +0 -7
- package/apps/web/dist/assets/ProjectPage-Boyptzz_.js +0 -1
- package/apps/web/dist/assets/PublicRunner-DcETj9_E.js +0 -1
- package/apps/web/dist/assets/RunDrawer-hwruVTDG.js +0 -4
- package/apps/web/dist/assets/SettingsPage-BOe6NgFg.js +0 -1
- package/apps/web/dist/assets/SetupPage-81QxPnfE.js +0 -1
- package/apps/web/dist/assets/changelog-CtyrKHAc.js +0 -1
- package/apps/web/dist/assets/index-DnIvQFIg.js +0 -14
- package/apps/web/dist/assets/settings-menu-B_-_EAmK.js +0 -1
- package/apps/web/dist/assets/ui-rh8TaWvT.js +0 -137
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Or as e}from"./ui-Brg2qM1A.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};
|
package/apps/web/dist/index.html
CHANGED
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
dispatchEvent(new Event("wizard-install"));
|
|
35
35
|
});
|
|
36
36
|
</script>
|
|
37
|
-
<script type="module" crossorigin src="/studio/assets/index-
|
|
37
|
+
<script type="module" crossorigin src="/studio/assets/index-mBRI7ZQp.js"></script>
|
|
38
38
|
<link rel="modulepreload" crossorigin href="/studio/assets/rolldown-runtime-hePW80VL.js">
|
|
39
39
|
<link rel="modulepreload" crossorigin href="/studio/assets/jsx-runtime-BNakU3Ej.js">
|
|
40
40
|
<link rel="modulepreload" crossorigin href="/studio/assets/preload-helper-CNEI7N0N.js">
|
|
41
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/ui-
|
|
41
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/ui-Brg2qM1A.js">
|
|
42
42
|
<link rel="modulepreload" crossorigin href="/studio/assets/engenty-eXZ-EAwd.js">
|
|
43
43
|
<link rel="stylesheet" crossorigin href="/studio/assets/index-BhVJwBz7.css">
|
|
44
44
|
</head>
|
package/apps/web/dist/install.sh
CHANGED
|
@@ -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
|
|
10
|
+
# runtime/<version>/ the package `wizards`, from the GitHub release; runtime/current
|
|
11
|
+
# names the one that runs, the one before stays for going back
|
|
11
12
|
# bin/wizards the command, linked into ~/.local/bin
|
|
12
13
|
# data/ your wizards and results (made at the first start)
|
|
13
14
|
#
|
|
@@ -474,20 +475,37 @@ package() {
|
|
|
474
475
|
|
|
475
476
|
runtime() {
|
|
476
477
|
STEP="Installing engenty wizards"
|
|
478
|
+
local dir="$HOME_DIR/runtime" stage previous path
|
|
477
479
|
# An install of the package under its old name is replaced, not kept beside the new one.
|
|
478
|
-
if [ -d "$
|
|
479
|
-
rm -rf "$
|
|
480
|
+
if [ -d "$dir/node_modules/$OLD_NAME" ]; then
|
|
481
|
+
rm -rf "$dir"
|
|
480
482
|
fi
|
|
481
|
-
mkdir -p "$
|
|
482
|
-
#
|
|
483
|
-
#
|
|
484
|
-
#
|
|
483
|
+
mkdir -p "$dir"
|
|
484
|
+
# Each version has its folder (runtime/<version>/, an npm prefix); `current` names the one the
|
|
485
|
+
# command starts, and a version that runs keeps its files. npm is a script that asks for
|
|
486
|
+
# `node`: ours comes first on the PATH. No install scripts run; the runtime works without
|
|
487
|
+
# them. --legacy-peer-deps: no peers on top, which nothing here uses (about 70 MB less).
|
|
488
|
+
stage="$(mktemp -d "$dir/.staging-XXXXXX")"
|
|
485
489
|
spin "Installing engenty wizards (about 650 MB on disk, a minute or two)" \
|
|
486
|
-
env PATH="$NODE_DIR/bin:$PATH" "$NODE_DIR/bin/npm" install --prefix "$
|
|
490
|
+
env PATH="$NODE_DIR/bin:$PATH" "$NODE_DIR/bin/npm" install --prefix "$stage" \
|
|
487
491
|
--omit=dev --ignore-scripts --legacy-peer-deps --no-audit --no-fund --loglevel=error "$SPEC"
|
|
488
|
-
INSTALLED="$(MANIFEST="$
|
|
492
|
+
INSTALLED="$(MANIFEST="$stage/node_modules/$PACKAGE_NAME/package.json" \
|
|
489
493
|
"$NODE_DIR/bin/node" -p 'require(process.env.MANIFEST).version')"
|
|
490
|
-
|
|
494
|
+
# Up to 0.6.2 runtime/ itself was the prefix.
|
|
495
|
+
if [ -d "$dir/node_modules" ] && [ ! -L "$dir/node_modules" ]; then
|
|
496
|
+
rm -rf "$dir/node_modules" "$dir/package.json" "$dir/package-lock.json"
|
|
497
|
+
fi
|
|
498
|
+
previous="$(readlink "$dir/current" 2>/dev/null || true)"
|
|
499
|
+
rm -rf "${dir:?}/$INSTALLED"
|
|
500
|
+
mv "$stage" "$dir/$INSTALLED"
|
|
501
|
+
ln -sfn "$INSTALLED" "$dir/current"
|
|
502
|
+
# For a command written before the version folders (an older bin/wizards or npx wizards).
|
|
503
|
+
ln -sfn "current/node_modules" "$dir/node_modules"
|
|
504
|
+
# This version and the one before stay; older ones go.
|
|
505
|
+
for path in "$dir"/[0-9]*; do
|
|
506
|
+
case "${path##*/}" in "$INSTALLED" | "$previous") ;; *) rm -rf "$path" ;; esac
|
|
507
|
+
done
|
|
508
|
+
done_step "engenty wizards $INSTALLED" "$(tilde "$dir/$INSTALLED")"
|
|
491
509
|
}
|
|
492
510
|
|
|
493
511
|
command_link() {
|
|
@@ -500,7 +518,7 @@ command_link() {
|
|
|
500
518
|
printf 'export ENGENTY_HOME="${ENGENTY_HOME:-%s}"\n' "$BASE"
|
|
501
519
|
fi
|
|
502
520
|
printf 'exec "%s" "%s" "$@"\n' "$HOME_DIR/tools/node/bin/node" \
|
|
503
|
-
"$HOME_DIR/runtime/node_modules/$PACKAGE_NAME/bin/wizards.mjs"
|
|
521
|
+
"$HOME_DIR/runtime/current/node_modules/$PACKAGE_NAME/bin/wizards.mjs"
|
|
504
522
|
} >"$WRAPPER"
|
|
505
523
|
chmod 755 "$WRAPPER"
|
|
506
524
|
if [ "$LINK" != 1 ]; then
|