@engenty/wizards-runtime 0.19.0 → 0.19.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.
- package/apps/runtime/dist/engine/runner.js +20 -7
- package/apps/runtime/dist/prompts/architect.md +3 -3
- package/apps/runtime/dist/prompts/authoring.md +4 -3
- package/apps/runtime/dist/services/work-chats.js +14 -6
- package/apps/runtime/dist/sharing/state.js +7 -3
- package/apps/web/dist/assets/{AboutDialog-BxT7chz8.js → AboutDialog-BUWu36Mb.js} +1 -1
- package/apps/web/dist/assets/{BlockEditor-BX8ZxxIc.js → BlockEditor-1-EvUIta.js} +1 -1
- package/apps/web/dist/assets/{Bundle-Dkpi5E6W.js → Bundle-RNkjBwAL.js} +1 -1
- package/apps/web/dist/assets/{CapabilitiesPage-CfSb23wy.js → CapabilitiesPage-fgTP28Mn.js} +2 -2
- package/apps/web/dist/assets/{ChangelogDialog-j-vHLy-V.js → ChangelogDialog-C_ZZLRZT.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-CfM2A-yS.js → CodeEditor-BEJKIMd0.js} +1 -1
- package/apps/web/dist/assets/{ConnectorsSection-fRBZYfZu.js → ConnectorsSection-iLrduYak.js} +1 -1
- package/apps/web/dist/assets/EditorPage-CRZte0O1.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-E0kuvM5n.js → FlowPreview-ptI86Ogs.js} +1 -1
- package/apps/web/dist/assets/{LangSwitch-DhQmCtyY.js → LangSwitch-BNa_H8AR.js} +1 -1
- package/apps/web/dist/assets/Marketplace-9aGWG2pJ.js +2 -0
- package/apps/web/dist/assets/{NewWizardChannels-BATgI9GR.js → NewWizardChannels-BFDm9vCT.js} +1 -1
- package/apps/web/dist/assets/{NewWizardPage-B5V5ScKh.js → NewWizardPage-ueGFlLDo.js} +1 -1
- package/apps/web/dist/assets/{OnboardingPage-DWpDqlCi.js → OnboardingPage-DtDd7k_O.js} +1 -1
- package/apps/web/dist/assets/{PreviewPane-Br2w92Wh.js → PreviewPane-CEltrf_-.js} +2 -2
- package/apps/web/dist/assets/ProtocolSection-Bb3c44Te.js +1 -0
- package/apps/web/dist/assets/{PublicRunner-Cjhfeqi3.js → PublicRunner-BaTg24s3.js} +1 -1
- package/apps/web/dist/assets/{ReadOnly-CkToYpY5.js → ReadOnly-YF0RkR7P.js} +1 -1
- package/apps/web/dist/assets/{Results-C9qxCpUQ.js → Results-DJRLiVo0.js} +1 -1
- package/apps/web/dist/assets/{RunDrawer-BRXH71U8.js → RunDrawer-CSpTNJp-.js} +1 -1
- package/apps/web/dist/assets/{SettingsPage-Dobd7tAA.js → SettingsPage--_ap3omw.js} +2 -2
- package/apps/web/dist/assets/{SetupPage-BkMjwBlV.js → SetupPage-ELKHbmnE.js} +1 -1
- package/apps/web/dist/assets/{SharePage-Boj1R928.js → SharePage-OiKEnmL1.js} +1 -1
- package/apps/web/dist/assets/{SkillEditor-DtVRUYqS.js → SkillEditor-C1_zwNOQ.js} +1 -1
- package/apps/web/dist/assets/{Skills-DK1Pv-Xh.js → Skills-_pLGtOjH.js} +1 -1
- package/apps/web/dist/assets/{SpacePage-CjgBRkkw.js → SpacePage-r4EbxEJe.js} +2 -2
- package/apps/web/dist/assets/{StudioHome-B5HcJJ4Q.js → StudioHome-CwvxI29m.js} +1 -1
- package/apps/web/dist/assets/{UpdateCheck-DFor0F9T.js → UpdateCheck-BpdsLIOc.js} +2 -2
- package/apps/web/dist/assets/{brand-Ij-I_Lms.js → brand-ByQY-UcL.js} +1 -1
- package/apps/web/dist/assets/changelog-Dt-V-BKp.js +1 -0
- package/apps/web/dist/assets/{code-editor-BVgSljQq.js → code-editor-B8zG80PA.js} +2 -2
- package/apps/web/dist/assets/{host-BELYIPMT.js → host-Ckjz94Ea.js} +6 -6
- package/apps/web/dist/assets/{i18n-DPqdH1PJ.js → i18n-ClCOlfx2.js} +1 -1
- package/apps/web/dist/assets/{index-wJZVaKLg.js → index-BHKh0A9F.js} +3 -3
- package/apps/web/dist/assets/index-D18zQ05f.css +1 -0
- package/apps/web/dist/assets/{read-aloud-pd-PWi_5.js → read-aloud-spC7eEBp.js} +1 -1
- package/apps/web/dist/assets/{runners-D9DHhaD9.js → runners-DNqzwMQ0.js} +1 -1
- package/apps/web/dist/assets/{session-Mt-n8MI0.js → session-Dd9duhPc.js} +1 -1
- package/apps/web/dist/assets/{theme-BQhQx_UL.js → theme-DumM6FI_.js} +1 -1
- package/apps/web/dist/assets/{ui-D4qQLcbs.js → ui-BjhZhw8x.js} +1 -1
- package/apps/web/dist/assets/{useMutation-CUZC19i3.js → useMutation-CoEdB_9_.js} +1 -1
- package/apps/web/dist/assets/{viewers-D-8HZrcq.js → viewers-BmcrgvXX.js} +2 -2
- package/apps/web/dist/index.html +13 -13
- package/apps/web/dist/mcp/flow.html +3 -3
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +2 -0
- package/node_modules/@engenty/wizards-shared/dist/run.js +2 -0
- package/node_modules/@engenty/wizards-shared/dist/transition.js +5 -1
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/apps/web/dist/assets/EditorPage-CrFyN_Qn.js +0 -3
- package/apps/web/dist/assets/Marketplace-BdkNOARm.js +0 -2
- package/apps/web/dist/assets/ProtocolSection-DMCojdZu.js +0 -1
- package/apps/web/dist/assets/changelog-n9RARUzp.js +0 -1
- package/apps/web/dist/assets/index-CVZlO0z3.css +0 -1
|
@@ -6,6 +6,8 @@ import type { Surface } from "./surface.js";
|
|
|
6
6
|
import { type Gap, type Texts, type TextTable } from "./texts.js";
|
|
7
7
|
import type { ThemeColours, ThemeEffect, ThemeShape } from "./theme.js";
|
|
8
8
|
export type RunStatus = "waiting_input" | "sleeping" | "waiting_signal" | "running" | "done" | "failed" | "cancelled";
|
|
9
|
+
/** The statuses a run stays in once it is over; any other is still going, a wait included. */
|
|
10
|
+
export declare const RUN_ENDED: ReadonlySet<RunStatus>;
|
|
9
11
|
/** A person can step back from these; `RunView.canBack` and `goBack` read this one list. */
|
|
10
12
|
export declare const CAN_GO_BACK: ReadonlySet<RunStatus>;
|
|
11
13
|
export interface AssetRef {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
2
|
import { isLang, } from "./definition.js";
|
|
3
3
|
import { lineText, textOf } from "./texts.js";
|
|
4
|
+
/** The statuses a run stays in once it is over; any other is still going, a wait included. */
|
|
5
|
+
export const RUN_ENDED = new Set(["done", "failed", "cancelled"]);
|
|
4
6
|
/** A person can step back from these; `RunView.canBack` and `goBack` read this one list. */
|
|
5
7
|
export const CAN_GO_BACK = new Set(["waiting_input", "done", "failed"]);
|
|
6
8
|
/**
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* with `resume`, where the log says so and that step's own work comes first.
|
|
18
18
|
*/
|
|
19
19
|
import { branchValues, followRules, loopKey, otherwiseOf, waitDurationMs, } from "./definition.js";
|
|
20
|
-
import { CAN_GO_BACK, note, } from "./run.js";
|
|
20
|
+
import { CAN_GO_BACK, note, RUN_ENDED, } from "./run.js";
|
|
21
21
|
/** An event the run can't take as it stands. */
|
|
22
22
|
export class FlowRefused extends Error {
|
|
23
23
|
code;
|
|
@@ -175,6 +175,10 @@ export function transition(def, run, event, host) {
|
|
|
175
175
|
}
|
|
176
176
|
return standAt(def, state, run.cursor, host);
|
|
177
177
|
case "cancel":
|
|
178
|
+
// A run that is over stays as it ended.
|
|
179
|
+
if (RUN_ENDED.has(run.status)) {
|
|
180
|
+
throw new FlowRefused("runBusy");
|
|
181
|
+
}
|
|
178
182
|
return settle(run.cursor, "cancelled", state, null, { kind: "end" });
|
|
179
183
|
}
|
|
180
184
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engenty/wizards-runtime",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
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. The runtime, which `npx wizards` installs.",
|
|
5
5
|
"license": "FSL-1.1-MIT AND CC-BY-4.0",
|
|
6
6
|
"homepage": "https://engenty.ai",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wizards",
|
|
3
3
|
"displayName": "engenty wizards",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.1",
|
|
5
5
|
"description": "Build page-by-page AI wizards that people open on a shared link — designed, tested and published from Claude Code — run your published ones in the chat, and keep them in a pane beside it.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "engenty"
|
package/plugin/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "engenty-wizards",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.1",
|
|
5
5
|
"description": "Build page-by-page AI wizards that people open on a shared link, test and publish them from the chat, and run your published ones here.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "engenty",
|