diffusers-workflow 0.21.0__py3-none-any.whl → 0.22.0__py3-none-any.whl
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.
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/METADATA +3 -3
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/RECORD +54 -54
- dw/docs/ARCHITECTURE.md +6 -5
- dw/docs/MCP.md +60 -11
- dw/docs/RELEASING.md +75 -0
- dw/docs/SECURITY.md +9 -1
- dw/docs/SERVER.md +28 -3
- dw/docs/WORKFLOW_GUIDE.md +11 -0
- dw/docs/WORKSPACES.md +31 -7
- dw/ledger.py +40 -2
- dw/ledger_views.py +64 -6
- dw/reference_limits.py +59 -0
- dw/server/api_models_library.py +40 -1
- dw/server/listening.py +12 -3
- dw/server/routes/requests.py +44 -1
- dw/server/ui/assets/{css.worker-C6lDtRpF.js → css.worker-DwfUZ3fB.js} +3 -3
- dw/server/ui/assets/cssMode-ZYRNE-D0.js +1 -0
- dw/server/ui/assets/ecl-94qehhXe.js +1 -0
- dw/server/ui/assets/{editor.api-Cj_C5LOo.js → editor.api-DpnDWU08.js} +20 -20
- dw/server/ui/assets/{editor.worker-BmdWdrHZ.js → editor.worker-CRz__AKW.js} +1 -1
- dw/server/ui/assets/{freemarker2-BtRP77Dg.js → freemarker2-B-psuvHr.js} +1 -1
- dw/server/ui/assets/{handlebars-sEWiFv4q.js → handlebars-BbUvOOJr.js} +1 -1
- dw/server/ui/assets/{html-_yCn4jj0.js → html-wQJRBKfB.js} +1 -1
- dw/server/ui/assets/{html.worker-C5yZDBHz.js → html.worker-D9ugpX4y.js} +4 -4
- dw/server/ui/assets/htmlMode--n5nP-Ea.js +1 -0
- dw/server/ui/assets/index-B5NjvIar.css +1 -0
- dw/server/ui/assets/index-Dy-60Ua9.js +78 -0
- dw/server/ui/assets/{javascript-DcaON_pa.js → javascript-5nTVEb9y.js} +1 -1
- dw/server/ui/assets/{json.worker-DdeUAmHa.js → json.worker-CV9fqkUp.js} +5 -5
- dw/server/ui/assets/{jsonMode-BjDsMi8E.js → jsonMode-CQ4lbpUn.js} +2 -2
- dw/server/ui/assets/{liquid-B6rjYPei.js → liquid-BZZPeB6w.js} +1 -1
- dw/server/ui/assets/{lspLanguageFeatures-BD8KL5zl.js → lspLanguageFeatures-D3QLtmXE.js} +1 -1
- dw/server/ui/assets/{mdx-CNdAO5aa.js → mdx-CCZL2k0c.js} +1 -1
- dw/server/ui/assets/monaco-BdrDjlul.js +58 -0
- dw/server/ui/assets/{python-CmBdxIzC.js → python-2laOwqDY.js} +1 -1
- dw/server/ui/assets/{razor-BaT9SWQN.js → razor-DDnePCn0.js} +1 -1
- dw/server/ui/assets/{ts.worker-DGGa2mF8.js → ts.worker-DvEKW8Yk.js} +23 -23
- dw/server/ui/assets/{tsMode-DXUmVy7Z.js → tsMode-BuucyQ0f.js} +1 -1
- dw/server/ui/assets/{typescript-D5WXmYLr.js → typescript-CzExsJ_w.js} +1 -1
- dw/server/ui/assets/{workers-DR9yq9SP.js → workers-DDoVk1lT.js} +1 -1
- dw/server/ui/assets/{xml-Clzv8hPB.js → xml-CzTjsP2x.js} +1 -1
- dw/server/ui/assets/{yaml-BIYGOS7S.js → yaml-zGUJwdKF.js} +1 -1
- dw/server/ui/index.html +2 -2
- dw/trust.py +10 -2
- dw/type_references.py +24 -4
- dw/workflow_run.py +31 -10
- dw_mcp/__main__.py +3 -2
- dw_mcp/ledger.py +231 -38
- dw_mcp/server.py +27 -16
- dw_mcp/tools_authoring.py +9 -9
- dw/server/ui/assets/cssMode-DtsW7a9X.js +0 -1
- dw/server/ui/assets/ecl-D05T4iGw.js +0 -1
- dw/server/ui/assets/htmlMode-Dm4QAXm1.js +0 -1
- dw/server/ui/assets/index-Cl4ya-n0.css +0 -1
- dw/server/ui/assets/index-DQJJvjRP.js +0 -76
- dw/server/ui/assets/monaco-i0u2uGat.js +0 -58
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/WHEEL +0 -0
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/entry_points.txt +0 -0
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/licenses/LICENSE +0 -0
- {diffusers_workflow-0.21.0.dist-info → diffusers_workflow-0.22.0.dist-info}/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffusers-workflow
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Summary: Declarative workflow engine and web UI for Hugging Face Diffusers
|
|
5
5
|
Author: dkackman
|
|
6
|
-
License: Apache-2.0
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/dkackman/diffusers-workflow
|
|
8
8
|
Classifier: Development Status :: 3 - Alpha
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
@@ -40,7 +40,7 @@ Requires-Dist: comfy-kitchen<0.3,>=0.2.38
|
|
|
40
40
|
Requires-Dist: spandrel>=0.4.2
|
|
41
41
|
Requires-Dist: facexlib>=0.3.0
|
|
42
42
|
Requires-Dist: numpy>=2.5.4
|
|
43
|
-
Requires-Dist: Pillow>=
|
|
43
|
+
Requires-Dist: Pillow>=13.0.0
|
|
44
44
|
Requires-Dist: piexif>=1.1.3
|
|
45
45
|
Requires-Dist: imageio>=2.38.1
|
|
46
46
|
Requires-Dist: imageio-ffmpeg>=0.6.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
diffusers_workflow-0.
|
|
1
|
+
diffusers_workflow-0.22.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
2
2
|
dw/__init__.py,sha256=dpbTK1FUN6AQaS_LGYgmToOA03SPEIDOTp_PFf2E6X4,21034
|
|
3
3
|
dw/acceleration_warnings.py,sha256=wqwp__3NWp7g7mTM0Jjp6g_RHtOtJXOc9waM7c6Q79w,16021
|
|
4
4
|
dw/adapter_compatibility.py,sha256=aBhJ3XkYPF6_nXuYh8BceNaROwli9PhaI33DOYNXR8c,17384
|
|
@@ -27,8 +27,8 @@ dw/host_memory_projection.py,sha256=1I8gSmpRImrh021iKNSg2ron4fZf5-miasx0YyF7E84,
|
|
|
27
27
|
dw/hub_cache.py,sha256=4ARCayEV2a29fSjzhWzVXiHUWicULQl-pMpX8AHj4aw,22980
|
|
28
28
|
dw/introspection.py,sha256=Av17wMFTkSgsSGqzP6rnb9KqIaAnHmonM3qsAKSZjsc,34711
|
|
29
29
|
dw/kernel_availability.py,sha256=wgYBmEmVgmKCjtokTKeJf9ph000JBB3hTPBxNnzzFqk,8716
|
|
30
|
-
dw/ledger.py,sha256=
|
|
31
|
-
dw/ledger_views.py,sha256=
|
|
30
|
+
dw/ledger.py,sha256=pD0rDreSKBDh73p-9pTG0haumDxpMvSGlS0C1jV1AS4,41307
|
|
31
|
+
dw/ledger_views.py,sha256=FZ5S1XoVqsE1Jc3tGxTm_ISpgtr1ooaMcQ-9yA3T72k,12015
|
|
32
32
|
dw/library.py,sha256=EEkVFQsMOZWCNC1WHHtSnAsERUQ2fr1ZhpwSRdb1lq0,33589
|
|
33
33
|
dw/locations.py,sha256=NVAVmOaiu_AWD5k1q2JRdQ_Lni5r_sHegMJErhzmdqk,37451
|
|
34
34
|
dw/log_setup.py,sha256=ATwSO0CCDtgEA-VoPsS8HVeuDwL2jBg--4QXSZwecQs,1478
|
|
@@ -58,7 +58,7 @@ dw/prompt_weighting.py,sha256=ttA_EUnkqmvHujRxP5Dgfm4hsemupQaNDiidpxsvMgc,13063
|
|
|
58
58
|
dw/prompts.py,sha256=J2HmqCeEGDXzd4IrqLfFCS3GZcJIdsaaVpjnupg_QpI,5755
|
|
59
59
|
dw/quantized_cache.py,sha256=hf4qKn_B32NKp0ibBbuvVbaO1sq_DK-qzE9ajs44Occ,37211
|
|
60
60
|
dw/realize.py,sha256=Qjg881h3wzmMobCJo0B8TtDJyoJIuydOCW2cD0bHmO8,12052
|
|
61
|
-
dw/reference_limits.py,sha256=
|
|
61
|
+
dw/reference_limits.py,sha256=gYubhv0Ei9JV6-I_LAvlzn3AKSG4D3ePKPji48Qk7ME,29640
|
|
62
62
|
dw/reference_names.py,sha256=y7z-n3TRHp8jMhUx6aSs4qXzC2EnA5sCYAg3vYKhG0Y,4737
|
|
63
63
|
dw/references.py,sha256=X_VR9OWtta-XpGnhJ3f6XxpD8QE2PDsQPbEvxqYNqo8,10398
|
|
64
64
|
dw/result.py,sha256=0iplMTkm6XW9IRIAwSPhHieJ9tmrhoRNx5J7Rk742P0,41132
|
|
@@ -84,9 +84,9 @@ dw/task_domains.py,sha256=WlSroXRbLEqgDAfQQNq0i2c1F2MGvq4_5ixb6YMLpfY,38158
|
|
|
84
84
|
dw/task_problems.py,sha256=OmSQQG2hvpEQ-CXfniOlz5w5G7wm-CwHZAerNrGokiA,34768
|
|
85
85
|
dw/test.py,sha256=P6JkCw1OjVh-xY_kS-STGlkEHpN9riToXV7A20WX5MA,582
|
|
86
86
|
dw/texture_bands.py,sha256=Crt0roBTXPWIBoC4UFJ2wf3XpgCIAkASm7yfaRQwiwc,4760
|
|
87
|
-
dw/trust.py,sha256=
|
|
87
|
+
dw/trust.py,sha256=57qVW1BAKfxkriG4TERSTNGG-Y-4a0Bn8bHiFuUCa2w,23694
|
|
88
88
|
dw/type_helpers.py,sha256=u9r60J-Sc_X18nS_IZadSyOQGk3NmmSYM4FgYkpMaTY,10036
|
|
89
|
-
dw/type_references.py,sha256=
|
|
89
|
+
dw/type_references.py,sha256=o4rktIczy6hkYYDRKQfUXEd2Sw1QuMePaIujKErlHHY,16430
|
|
90
90
|
dw/validate.py,sha256=qZO_j0Uah8CXNdO5BjTii6am3LbMn1hlgPACivm1Sz8,2223
|
|
91
91
|
dw/validation.py,sha256=usyO7qss-HmF3GV1rjo2lLxdIfSkjYFYKabmWTS33fQ,43187
|
|
92
92
|
dw/variable_constraints.py,sha256=eDA32hTFrKEeDQmj6csSrSTiBvE2n_EweQS1cC6OTuE,29309
|
|
@@ -100,7 +100,7 @@ dw/worker.py,sha256=sbEvG60Yb5rKYTSgjcq6dg5YXtvDzsQIJpkMdFry2Ac,39772
|
|
|
100
100
|
dw/worker_manager.py,sha256=QEUUHK1lyHfz3_dEkd-zOxNwbfn807jmEjdNrmRAfoU,14335
|
|
101
101
|
dw/worker_protocol.py,sha256=-SMNNo4G-FON2ByGCqGS9HHV09kzwAdoOvXPR7kDg8I,7565
|
|
102
102
|
dw/workflow.py,sha256=b_8zV_9mB-oXw6BVgXsFY6Oqg_mA4QkX0RcZqt4g28Q,43532
|
|
103
|
-
dw/workflow_run.py,sha256=
|
|
103
|
+
dw/workflow_run.py,sha256=sY8e_jf2unsTfyY-jnonS3LNaG-a2ZrR_nHU5wC0X9E,44824
|
|
104
104
|
dw/workflow_schema.json,sha256=D2OL7Gyz3E7H0ZKfhn2qi97DLluiGtc5mvkTK1fCKx4,106111
|
|
105
105
|
dw/workspace.py,sha256=HZQqDffRciriGvevvmPt6wSRzjxIP8Qs-ncJ_FDNV3M,27432
|
|
106
106
|
dw/workspace_copy.py,sha256=SVxDZjCKgZKXedzlc6n-jfggtC9Asr0e7ZL0qe-eqUs,22988
|
|
@@ -109,26 +109,26 @@ dw/community_pipelines/pipeline_flux_rf_inversion.py,sha256=XjLO58h5wQn16qP8wEIZ
|
|
|
109
109
|
dw/community_pipelines/pipeline_ltx2_refine.py,sha256=kvDBeiaDvt_BX2AjbN6nnYN0EZsEvMzvSC6WzorA_48,6619
|
|
110
110
|
dw/docs/ACCELERATION.md,sha256=RKzTx2njaCYkQojVPBeWR9sG6VbcA7c0wQLlXtEV0j4,36284
|
|
111
111
|
dw/docs/AGENT_LOOP.md,sha256=6QLb4cjAal5LTjGeT_8-i7bLU-BCFP_b7AMU7GAZo5E,6396
|
|
112
|
-
dw/docs/ARCHITECTURE.md,sha256=
|
|
112
|
+
dw/docs/ARCHITECTURE.md,sha256=VOt6cWLEp-Tx3O7u8Vgjmhy5xHzNeSDy_G-rb1rbpwE,160642
|
|
113
113
|
dw/docs/ATTRIBUTIONS.md,sha256=hA79WmQ6yKr1Ve0woz6KffcjHiZKWJyHMntCm-CcpUE,22028
|
|
114
114
|
dw/docs/DEPENDENCIES.md,sha256=QoQdqfPNwhJWa-WdtCExwboGFiuQ8Co_pXhxwtVaMzI,6071
|
|
115
115
|
dw/docs/DOCKER.md,sha256=KqAgorBaNbcskYpihfb3XN9m1rVmq204IAR4MPOuNLk,7367
|
|
116
116
|
dw/docs/IP_ADAPTER.md,sha256=bTHEFWkENZzHzN5Ii9iqMFbLvyH1FOH7XNXdrPhuyUw,4015
|
|
117
117
|
dw/docs/LORAS.md,sha256=f5XyIkxvOlzQWC9WyPFsUUo4rHjs51dJqIqlPOuQIOI,9293
|
|
118
|
-
dw/docs/MCP.md,sha256=
|
|
118
|
+
dw/docs/MCP.md,sha256=la_lwn1qWZZ6U4cmJc3F6vUcMvhaYs_ZL3V2ZYe44jc,61146
|
|
119
119
|
dw/docs/PROMPT_WEIGHTING.md,sha256=ptCJ7Wk83FzkvCH0rTTzLKhJLQlLHa4n1rxkiwBQtuw,2784
|
|
120
120
|
dw/docs/QUANTIZATION.md,sha256=a42BZ4LHghMqULAdlhlNqqjKREYAwelOZKi0fel8580,12990
|
|
121
121
|
dw/docs/RECIPES_24GB.md,sha256=bH2NE0UGF4irmusCKmMnrSexKES-DcRye36L3_dXdTw,24834
|
|
122
|
-
dw/docs/RELEASING.md,sha256=
|
|
122
|
+
dw/docs/RELEASING.md,sha256=JA6HDTTpDDOmcT_7tZiyD6YpspgwRz6OsXcEgnBoVFc,131175
|
|
123
123
|
dw/docs/REMOTE.md,sha256=ijeOPKgHFFPWVV7lko9o7AbiNJfqT37nG4MK6Fhsgfg,6225
|
|
124
|
-
dw/docs/SECURITY.md,sha256=
|
|
124
|
+
dw/docs/SECURITY.md,sha256=G5yr3e-D18s3ypILgOh2OKr0gVIQCqYporoQvZC7bDg,24637
|
|
125
125
|
dw/docs/SECURITY_QUICKREF.md,sha256=8JUAEIgtEKvVhxtxicCHenijMkpouiFu2x0H4iXGyt0,6046
|
|
126
|
-
dw/docs/SERVER.md,sha256=
|
|
126
|
+
dw/docs/SERVER.md,sha256=Hb227hnwuznDGAUMh-s9qJckKIVqy-plMfrkF8MzUNM,109339
|
|
127
127
|
dw/docs/TASKS.md,sha256=4ykUVgRok85CGzi1X7ifBBZp2U5BRJU4fEuEyvDKHEo,236850
|
|
128
128
|
dw/docs/TESTING.md,sha256=KxYwWIYY8cIcsKVdjNEslYlmKmq14iD_SSksfhkT8i8,6775
|
|
129
129
|
dw/docs/WORKER_GUIDE.md,sha256=Vz1Pv957zlw5xnwhm22IyhSCNo1ULEfce71UQukwP24,3832
|
|
130
|
-
dw/docs/WORKFLOW_GUIDE.md,sha256=
|
|
131
|
-
dw/docs/WORKSPACES.md,sha256=
|
|
130
|
+
dw/docs/WORKFLOW_GUIDE.md,sha256=MjrUbTa6iCyb3p2yvPjLTJqKaL1uhSvvVCMmRyapIcs,211034
|
|
131
|
+
dw/docs/WORKSPACES.md,sha256=2W10OfzBe3796wPH4fsZYsVbEqH1Z4yiOE-RmBc124A,38838
|
|
132
132
|
dw/pipeline_processors/adapters.py,sha256=n1G3tFT-k6uocsQI5M7DNZ0qmPjKqEWQObjr5zYfySU,10093
|
|
133
133
|
dw/pipeline_processors/chain.py,sha256=DlU4RtmvjFigp3QxHq9tr4Ws35QSf6XbSV3vI89Qa68,42751
|
|
134
134
|
dw/pipeline_processors/chain_check.py,sha256=vb98LUdR4JglwGf4pL6NkYQ-sVabx6aqoM3tM7BmSEM,35180
|
|
@@ -173,7 +173,7 @@ dw/server/__init__.py,sha256=NGXV8LM6oYUZhEwWSDo3ihBvmzrC71az3Wc2gkGodcM,153
|
|
|
173
173
|
dw/server/admission.py,sha256=bxJxp7tHOQhSQ4fTY-5W-rjEt32YFbMd6WHcygd7GiU,35462
|
|
174
174
|
dw/server/api_models.py,sha256=svGTLuZGfYFgZsVmASIKrS7Gxno3ANqg5F2DBPajRts,36574
|
|
175
175
|
dw/server/api_models_base.py,sha256=IgLhY2MSVyCywZspbALL-Ib__rKc5RalHo2LiO21XSI,2263
|
|
176
|
-
dw/server/api_models_library.py,sha256=
|
|
176
|
+
dw/server/api_models_library.py,sha256=ZLd6atx5nhZmcGiDq_dd4TdZysaXI1KVDzEbm6Cpciw,21424
|
|
177
177
|
dw/server/app.py,sha256=tlFM26Ka4BlTN1JeXJz5nLg1HIJ84OpNdZBmCIg9aYE,11201
|
|
178
178
|
dw/server/assess.py,sha256=A44KgIf_aY_K5WkLdoTKRCs2YySfP-ial6DgV1jWN9c,7650
|
|
179
179
|
dw/server/catalog.py,sha256=U_O7ohdp3GYTm6SeXm0UhR_89IIzvaaU5t0A5CLq-es,18036
|
|
@@ -190,7 +190,7 @@ dw/server/job_history.py,sha256=J7_Lk8ggIUHzmtLd2sdC7CI8QIHdotL0pTrgu6FOr4k,4647
|
|
|
190
190
|
dw/server/job_record.py,sha256=oiMY_6loJMzcv0nkbwHu-1jv4-xYJVh7f7-xqHTtA0Q,21144
|
|
191
191
|
dw/server/job_results.py,sha256=lnBZSwOHlNSRQiNolGtY_2e3aXsFsuAWNCz5aGnRVso,12942
|
|
192
192
|
dw/server/jobs.py,sha256=w5GVaaTn_kW0y3DuisswF1vWvts16ZIFCnlom3YSWRw,46284
|
|
193
|
-
dw/server/listening.py,sha256=
|
|
193
|
+
dw/server/listening.py,sha256=NsWuljTczWfD7hb6xFliG9yUJhUdWfHKOKVZI_cjjfc,1373
|
|
194
194
|
dw/server/mcp_mount.py,sha256=XIjfqBzELFKesfHVmdFj69RHSTzr7aF4Ph1Bfz4oPeE,3620
|
|
195
195
|
dw/server/netinfo.py,sha256=_oo0NfnesQR0n8MlxGt15tTgLutaqNOYyYYuUIBdRB0,4941
|
|
196
196
|
dw/server/observed_cost.py,sha256=TmUOeGV8H4vBlOKRTnzZPTD3VHn-IFZ2ucptiFvQbC0,22547
|
|
@@ -208,9 +208,9 @@ dw/server/routes/jobs.py,sha256=JA44jpa1Gj_PqmGIk7eS1QQOlbqsz4XlP2ik1fpzK2M,4185
|
|
|
208
208
|
dw/server/routes/library.py,sha256=OInj3PzTMInlg0aeMxwSWAX89PoeZIIUW5YyyB5NOtA,34676
|
|
209
209
|
dw/server/routes/loras.py,sha256=kB6D4fP-S5OBB_Uwr6OEJrrPL5cxkpMfmSlKMBS-VW4,8364
|
|
210
210
|
dw/server/routes/media.py,sha256=xX8oSDHKprsR2OKVrOwhMFtGEYHAl30336XCtgYI3RQ,38311
|
|
211
|
-
dw/server/routes/requests.py,sha256=
|
|
211
|
+
dw/server/routes/requests.py,sha256=lZEKuwq53_csWqoBLULq2UxlOU6imrJQXLhSsKBlt1U,12943
|
|
212
212
|
dw/server/routes/system.py,sha256=s0Fi1OcL0d8etUjt2jWM-5EnyPIOvRQWu8B_eLftgfY,22076
|
|
213
|
-
dw/server/ui/index.html,sha256=
|
|
213
|
+
dw/server/ui/index.html,sha256=EFMhr39MUur6J6ByJtekBxDWbzekGYhUBnG2jDdaelE,826
|
|
214
214
|
dw/server/ui/assets/abap-08VXUWAP.js,sha256=v_s2iGszAEBUjgmnxo-oLx1BQTQAjswxiNzZ24fNZ3o,11690
|
|
215
215
|
dw/server/ui/assets/apex-BWPQTe0t.js,sha256=eUu2JicJ0pjmMYETgWVVuzFEJeyxEfievljL436Mt3Q,3469
|
|
216
216
|
dw/server/ui/assets/azcli-Bc_sGQ0U.js,sha256=LDRk2Ih2wJsTBkEl5yiESmbLMeMCGuNGu5aDZxaZzRA,707
|
|
@@ -224,45 +224,45 @@ dw/server/ui/assets/cpp-C7h46wYY.js,sha256=DxbP-fd4CvkTNwF_a-Jr1IcaUAXmwErbbQEEf
|
|
|
224
224
|
dw/server/ui/assets/csharp-BKxtCVv1.js,sha256=tcK0xVr_gQziNy8CVDw-kMQEwehIe9ND34jF0kt8c34,4117
|
|
225
225
|
dw/server/ui/assets/csp-bTuwJoIa.js,sha256=pUYDwODPsXKr4shrxhfRg0_WRY3TLT8f5omX7nYPw7Y,1278
|
|
226
226
|
dw/server/ui/assets/css-DIMkf-bt.js,sha256=Nhs17Txzlhf5DumZtrz-bnBHwdMMUt9YQBxQSG9f2OQ,4361
|
|
227
|
-
dw/server/ui/assets/css.worker-
|
|
228
|
-
dw/server/ui/assets/cssMode-
|
|
227
|
+
dw/server/ui/assets/css.worker-DwfUZ3fB.js,sha256=-OKYXdyN4bJTO7ceZRguvz5_mxlo9ci2ONqkhRVxnWE,1078238
|
|
228
|
+
dw/server/ui/assets/cssMode-ZYRNE-D0.js,sha256=uU6SorTfjvBqrabvTkKZbkZHrxcZ5IXV0Qct7-In0yI,2942
|
|
229
229
|
dw/server/ui/assets/cypher-CVaqCwHa.js,sha256=AYGtVhyMHJdRbOwpGLEfAPAyHAdwXc3J0D_mjN4oLVg,3048
|
|
230
230
|
dw/server/ui/assets/dart-onAF5SnQ.js,sha256=QWSf47NMFu2yUd9XFSGEuisDrfcp-gvscx9WznuMY2w,3931
|
|
231
231
|
dw/server/ui/assets/dockerfile-DZFCIeNp.js,sha256=hIFKl4QSK6zsn49CP3KacmKpiovwWnTZleepql5VAHo,1728
|
|
232
|
-
dw/server/ui/assets/ecl-
|
|
232
|
+
dw/server/ui/assets/ecl-94qehhXe.js,sha256=UaoShVb4Agkx49bc3jIkX6HPBZYLZTc_eYyuxOOIK7o,4509
|
|
233
233
|
dw/server/ui/assets/editor-DjpsE8to.css,sha256=eXqoXVVwoOu7BHCT9Y6a3BOUUHhJVCWycTMHPlsVqdo,99095
|
|
234
|
-
dw/server/ui/assets/editor.api-
|
|
235
|
-
dw/server/ui/assets/editor.worker-
|
|
234
|
+
dw/server/ui/assets/editor.api-DpnDWU08.js,sha256=nk5jSKhOd1EfTPTk3QZnLaIIg-6BXy7635p6Ks_KwHE,2735621
|
|
235
|
+
dw/server/ui/assets/editor.worker-CRz__AKW.js,sha256=qNNs0RV2QuVym3ZzHTwg6093PHcGWUZD5bqneRhhYp0,303774
|
|
236
236
|
dw/server/ui/assets/elixir-6RTg0lbw.js,sha256=_AM20WhJvweAHmfSKZJwEaIeLg71t8jkSUJgRVz5P0w,10116
|
|
237
237
|
dw/server/ui/assets/flow9-C5_-GSwl.js,sha256=kUYiOodGRTZ6qJ5xielY8Ku5yBXlsEOb9kxSY4Fajb0,1669
|
|
238
|
-
dw/server/ui/assets/freemarker2-
|
|
238
|
+
dw/server/ui/assets/freemarker2-B-psuvHr.js,sha256=hc84I0uzex1Tt3ZKScuL7cj8kXKukCwexrLr-YZFBUE,15548
|
|
239
239
|
dw/server/ui/assets/fsharp-C8Ef5oNN.js,sha256=UTeoJ7rvyxEcL_h0e74Hkkyfnqjz1KegentufCX2nkU,2651
|
|
240
240
|
dw/server/ui/assets/go-C-y9NEjX.js,sha256=yiNuAvOl-CJdg1l7tlsDbqjKrl95VJ6jchO7KXm8sIU,2350
|
|
241
241
|
dw/server/ui/assets/graphql-fmXr3nnJ.js,sha256=pm47jqz4rUAXQDgl98x5ePvvxf0fgOpsBE-AWYSMUYY,2119
|
|
242
|
-
dw/server/ui/assets/handlebars-
|
|
242
|
+
dw/server/ui/assets/handlebars-BbUvOOJr.js,sha256=55OhBPcp9OWkalkfEOLM-S92jGPte0VcGl75Or-R23Y,6284
|
|
243
243
|
dw/server/ui/assets/hcl-CpzslTdj.js,sha256=FTELtvUdJnCIa6x3jYwjNRaXvSqDk7_x4SlTYehMmdI,3449
|
|
244
|
-
dw/server/ui/assets/html-
|
|
245
|
-
dw/server/ui/assets/html.worker-
|
|
246
|
-
dw/server/ui/assets/htmlMode-
|
|
247
|
-
dw/server/ui/assets/index-
|
|
248
|
-
dw/server/ui/assets/index-
|
|
244
|
+
dw/server/ui/assets/html-wQJRBKfB.js,sha256=uPRTyNmUn_kCG1KilVKSqb1tdF4ndCvu0TWnsh9vs9c,4516
|
|
245
|
+
dw/server/ui/assets/html.worker-D9ugpX4y.js,sha256=BMBzzKXZX0t3pGw5POBLp26-BPvLf3HVdIdvCbLoJew,743371
|
|
246
|
+
dw/server/ui/assets/htmlMode--n5nP-Ea.js,sha256=BKN9CNfXsHY5svBtwesOl-PJ0szOXzweZPkBBgLyBpc,3396
|
|
247
|
+
dw/server/ui/assets/index-B5NjvIar.css,sha256=hq7F6TwbjCqYLP57qPgnV3XtSopOyCi8wI1dKNqMaBs,114545
|
|
248
|
+
dw/server/ui/assets/index-Dy-60Ua9.js,sha256=trR_-yOtv-RjVxhaHhkNpqz5TRyLTOJuXDiQgCHDNEg,704025
|
|
249
249
|
dw/server/ui/assets/ini-sBoK_t0W.js,sha256=6QF6Fp68pxwu26PuYuAa5XlpwDMMopXB8gHj4XgppU4,960
|
|
250
250
|
dw/server/ui/assets/java-BEtHBSE6.js,sha256=d9OpHur1TgBPjsMh5iCK_s6-JDUjIUa0H2gTU3OACVM,2906
|
|
251
|
-
dw/server/ui/assets/javascript-
|
|
252
|
-
dw/server/ui/assets/json.worker-
|
|
253
|
-
dw/server/ui/assets/jsonMode-
|
|
251
|
+
dw/server/ui/assets/javascript-5nTVEb9y.js,sha256=nWIFBYOESEWZgXAvvXXw_YqGomgihkoJu84REE0JjHA,688
|
|
252
|
+
dw/server/ui/assets/json.worker-CV9fqkUp.js,sha256=Jm1lk21loCh8B_YmTcnOcg6Sw1trDYTZhlPkxYv5X88,433120
|
|
253
|
+
dw/server/ui/assets/jsonMode-CQ4lbpUn.js,sha256=h40oNWGi7OR6KsZixuL29XH7002l_T5-QYn-R10JQx0,12163
|
|
254
254
|
dw/server/ui/assets/julia-Bri6UV-V.js,sha256=GgHfKwkibx83YYASauJxey9COaeCnDC0-FO9DI5h1ww,6505
|
|
255
255
|
dw/server/ui/assets/kotlin-BOotOW0E.js,sha256=y9kKjKTUCkkgIf0XZrn0aW0M28yZaabvrArNjMhi9kM,3041
|
|
256
256
|
dw/server/ui/assets/less-B9JPFI3C.js,sha256=RK-lDgNqYLUdnolGcFtj5W5Nhdj2rhAQjegLMStkLbw,3749
|
|
257
257
|
dw/server/ui/assets/lexon-CfSJPG6W.js,sha256=3wceYal1Tl_3oIKlurT29e46CCwlH0DYXRxHyki6aAc,2288
|
|
258
|
-
dw/server/ui/assets/liquid-
|
|
259
|
-
dw/server/ui/assets/lspLanguageFeatures-
|
|
258
|
+
dw/server/ui/assets/liquid-BZZPeB6w.js,sha256=CD6LWbXldn5dgnC47TX48aV6PFx7JPdKWLH3RytJbvQ,3344
|
|
259
|
+
dw/server/ui/assets/lspLanguageFeatures-D3QLtmXE.js,sha256=A8mlV2BhV65_5mGDCHDPhka2RzTKDOuXY6T37zV1Hu8,28224
|
|
260
260
|
dw/server/ui/assets/lua-CsQS60Ue.js,sha256=T68zBfv8YbWQOUMOoKDHlS6ZLXQbvUoVzIqjfdKaN80,1982
|
|
261
261
|
dw/server/ui/assets/m3-D-oSqn_W.js,sha256=wiQpsc-ejuU-Nd_N1EEku70GvFxCKR2enx_4FMaLERU,2520
|
|
262
262
|
dw/server/ui/assets/markdown-Cimd5fb3.js,sha256=Yh5RI0xP6paio6bg3VkVHxwCFtfLSpYzYe4pqjAseXc,3639
|
|
263
|
-
dw/server/ui/assets/mdx-
|
|
263
|
+
dw/server/ui/assets/mdx-CCZL2k0c.js,sha256=Uuwm24L6zh-0VT7i9x5ENrg74eXFIqjy6jpfFwilURk,4319
|
|
264
264
|
dw/server/ui/assets/mips-CIPQ_RoX.js,sha256=Mf9nhH4UiNv4cOxx9GbzZEwcanALyeX1nqZyeDVwn-8,2325
|
|
265
|
-
dw/server/ui/assets/monaco-
|
|
265
|
+
dw/server/ui/assets/monaco-BdrDjlul.js,sha256=oGW_iaXOfoezpNb6nj81N9BCqabp0ayXOkt0IZH46Vw,1296560
|
|
266
266
|
dw/server/ui/assets/monaco-n7clI0si.css,sha256=_s5n5INJJjzoqAk04ZYXP99EFmWEMeL6k0BatkMtehw,86925
|
|
267
267
|
dw/server/ui/assets/msdax-DauUninz.js,sha256=x-Ec1FvZQfNyIBufG3aF-nbhjtWWCb4trNEl2w7mORU,4270
|
|
268
268
|
dw/server/ui/assets/mysql-SOo6toE5.js,sha256=s0175vipA9oId7yWxl-u4jDQp6cAD1LlzIlQ94knUzE,9659
|
|
@@ -278,10 +278,10 @@ dw/server/ui/assets/powerquery-D3hlyOfw.js,sha256=h7-yZyeDYpf8Vz7I-o-AdOXL673EDo
|
|
|
278
278
|
dw/server/ui/assets/powershell-DmHpPYUd.js,sha256=fS-k4myYtbJ7I-nT4AOE2xWBU6BC4yBTsO8utRI2kYA,3057
|
|
279
279
|
dw/server/ui/assets/protobuf-C531GsRP.js,sha256=CE2QZMYH5tuK5qacJhFCN5Egq0ldACCn8ZMy7drCA_A,8897
|
|
280
280
|
dw/server/ui/assets/pug-Z5eAx3Zn.js,sha256=3W_Q5pw42PShvXTeZmdid5YpzS29ZEKItG3NbMZkZIY,4468
|
|
281
|
-
dw/server/ui/assets/python-
|
|
281
|
+
dw/server/ui/assets/python-2laOwqDY.js,sha256=EZPr-W7x704k9WmQLgHBBpTs2OrWjdKHA5pzjBd9pME,3455
|
|
282
282
|
dw/server/ui/assets/qsharp-DkqhCAOL.js,sha256=72cTeKiuU6qRxzI9j4KVb-r2y5u7Yj9O-DppqJMrsw8,2722
|
|
283
283
|
dw/server/ui/assets/r-BwWrilGY.js,sha256=kjvwR-197La6WrPfRntvc5VS4GcVs7SVUIcq5brgDh4,2836
|
|
284
|
-
dw/server/ui/assets/razor-
|
|
284
|
+
dw/server/ui/assets/razor-DDnePCn0.js,sha256=lhOAf1BncxPOLcfQHFalG_d_r0SV28kbJUp3Y_UsPqk,8113
|
|
285
285
|
dw/server/ui/assets/redis-ClamHrr6.js,sha256=P6KIG5bJRWvmyPzG14QO5RZJlmj49pzn-p4hDqSFQ5M,3032
|
|
286
286
|
dw/server/ui/assets/redshift-DT7zqm-g.js,sha256=PmLS8mPeeCIWu-NLw1SMU7nZp94WvW7aqKAG7TbJv3c,10331
|
|
287
287
|
dw/server/ui/assets/restructuredtext-BYgofb2h.js,sha256=UmiK7-mgglvXYqrOt4NCdx4oKNNoHilj1XfmVkRw7mA,3744
|
|
@@ -300,16 +300,16 @@ dw/server/ui/assets/st-DbInun42.js,sha256=4uqmIq2AV5bOzp6YMrW7nKOYreDQNxtpNjOZB3
|
|
|
300
300
|
dw/server/ui/assets/swift-Bxkupp3x.js,sha256=PAoUaoj9w0C1Q8tOfBsDefytIxzaJLYxXo8dgwWE4LQ,4483
|
|
301
301
|
dw/server/ui/assets/systemverilog-Bz4Y3fRF.js,sha256=N8BJdmDPdAS3YSLf9-c6WjpeHiC8AUiPFC0b83QRu84,6850
|
|
302
302
|
dw/server/ui/assets/tcl-DISqw1ZD.js,sha256=tGDwrjRxtiwzHBQVX4aYHPx2tvnzyCbsk3MouRN8nGI,3271
|
|
303
|
-
dw/server/ui/assets/ts.worker-
|
|
304
|
-
dw/server/ui/assets/tsMode-
|
|
303
|
+
dw/server/ui/assets/ts.worker-DvEKW8Yk.js,sha256=dwmOAFxj-87hbJISlUWDm0ApAPuP2JJrQm4dK42ydiw,6927783
|
|
304
|
+
dw/server/ui/assets/tsMode-BuucyQ0f.js,sha256=mJ59jZHjKpnDdbPQ9yHGjK8BRJFL1zFKQjHTZH4LbQ8,21846
|
|
305
305
|
dw/server/ui/assets/twig-De2hgUGE.js,sha256=7UK-mZY0t2AOG2upJFdhUfk_hN4jQxNO37xW_pXsYRk,5781
|
|
306
|
-
dw/server/ui/assets/typescript-
|
|
306
|
+
dw/server/ui/assets/typescript-CzExsJ_w.js,sha256=gjm8XZUTYewROP3TITKX-gcZGaJhfz_f61vVxTlSsZY,4675
|
|
307
307
|
dw/server/ui/assets/typespec-B8J7ngcE.js,sha256=4SiWGtYCn-n7DAFoQw3hFbXpXOEzUIVgPrFnMxeDL0A,2625
|
|
308
308
|
dw/server/ui/assets/vb-DV3o63ZY.js,sha256=g6FxShoSupLTGxKrGHUt31pO6FoCrY9npMMQpnSqtsM,5300
|
|
309
309
|
dw/server/ui/assets/wgsl-DpFanUEy.js,sha256=M1uSecn4lmt1G3mQyTCdxT4mfHC4g3AjJAw7cuUwAg4,7182
|
|
310
|
-
dw/server/ui/assets/workers-
|
|
311
|
-
dw/server/ui/assets/xml-
|
|
312
|
-
dw/server/ui/assets/yaml-
|
|
310
|
+
dw/server/ui/assets/workers-DDoVk1lT.js,sha256=G0HzYB2ZKiABuGynokG906XYMg0HcIqTRDPYvq3yN8k,1249
|
|
311
|
+
dw/server/ui/assets/xml-CzTjsP2x.js,sha256=jbMxc3SAdudy8Leb4mN9Kjn1RHMkpwBMdruePYm3cPI,1923
|
|
312
|
+
dw/server/ui/assets/yaml-zGUJwdKF.js,sha256=PnGEeg8q0m7guM1hhIMnd5kOMnjUk6zJ80I6ZYTwa9U,3543
|
|
313
313
|
dw/tasks/assess.py,sha256=3HNTnl92zz0jHGaltxSuSe7TTa2YmjuzxDmwGT9at7A,42775
|
|
314
314
|
dw/tasks/audio_dynamics.py,sha256=M8OJkQvi2DF60H97YFoz2PBQXwsP7oClcDiZoCI38KE,22426
|
|
315
315
|
dw/tasks/audio_handlers.py,sha256=qUWzj0uQn0hrTyg7F2UjtvU30u7xHfZzz90zE0Ms6w0,8919
|
|
@@ -394,7 +394,7 @@ dw/workflows/flux3_klein_upsample_edit.json,sha256=nU-gUblLrbT9UD_HZuovaQfg-vjJF
|
|
|
394
394
|
dw/workflows/h3_context_ir.json,sha256=Kig6LC7t1Eh3XU6vU1gl2eyoiYfgsZK7n9VhMfzcb5s,13950
|
|
395
395
|
dw/workflows/test.json,sha256=XFvEH7_8F8MGoX5b1j0FnT8dJghYiuyukj2q0JSEfkU,937
|
|
396
396
|
dw_mcp/__init__.py,sha256=v6ezMWrVwQmdKO_ze1xrqVF10NhjdnoE-ikK-NbXaus,435
|
|
397
|
-
dw_mcp/__main__.py,sha256=
|
|
397
|
+
dw_mcp/__main__.py,sha256=xBLfYgVzbLZiUcVob-XKfN6BmOx0Rfeen7QBqw3VE_k,5798
|
|
398
398
|
dw_mcp/assets.py,sha256=5tjVS3rcx505RN-7vQ1sNgGJf_bD9BuvrjtAnzIFxm0,17838
|
|
399
399
|
dw_mcp/authoring.py,sha256=dNqhY5JnACSgfK9g1rDIURSLupWEn2h82bqd-iy43yM,5027
|
|
400
400
|
dw_mcp/catalog.py,sha256=MpkcI2R7VF8HQjsZnflCSpr1BRlPIXbSMe7PXR4NVb0,17604
|
|
@@ -403,19 +403,19 @@ dw_mcp/confine.py,sha256=bAitZXmyoNMFkmzNa7WwzYNgKhVLT5nUsMOAGe5t-bI,2766
|
|
|
403
403
|
dw_mcp/diagnose.py,sha256=EiPbzATQq_d1SoGPFc5JMsMG6eZVjcjvSBCIS4kc410,21116
|
|
404
404
|
dw_mcp/exports.py,sha256=U37jOe40K1HVM4ic_CpYFvkZiupDVWPCzWiOJYqvc8g,4388
|
|
405
405
|
dw_mcp/guides.py,sha256=QDvofzCO5FOXTNO5DW82UKqDn2IdvwNEr7rB91fHmxE,1762
|
|
406
|
-
dw_mcp/ledger.py,sha256=
|
|
406
|
+
dw_mcp/ledger.py,sha256=zhSkWGbS0vuhw_DxMmMyUkCSpGS1C7OjXdkR3KHNygE,23439
|
|
407
407
|
dw_mcp/loras.py,sha256=dp0fUZ9YfECYnDemJNvq62ZbvXjJJaEAEPdkRKIDVGM,875
|
|
408
408
|
dw_mcp/media.py,sha256=N0FAjs9BX1BtcBG9GYMXTBAKe52irKQE98eqKcDiRik,25581
|
|
409
409
|
dw_mcp/models.py,sha256=uzsUY-CgiaP1LZLbdLnVRVXFSK2kcXs_tNquRKM6d9w,4220
|
|
410
410
|
dw_mcp/prompts.py,sha256=6gVgr6PJKwqvMDEXhMqMkZ5Y2EQ2YxESZFSdS-boCvA,4156
|
|
411
|
-
dw_mcp/server.py,sha256=
|
|
412
|
-
dw_mcp/tools_authoring.py,sha256=
|
|
411
|
+
dw_mcp/server.py,sha256=zMqSDm6vLfxNqoGlPPuoEqrgO4Nbn2rvxkuhkFNO3LE,14345
|
|
412
|
+
dw_mcp/tools_authoring.py,sha256=2m2c7yTYxrt4UMjANbTz-GrvzPh0EjgOrhdXdGRepz0,15388
|
|
413
413
|
dw_mcp/tools_catalog.py,sha256=M1Sv8-lrWQstt7DGUGgm5B-JGX_iEBcyvicCiaWTars,22651
|
|
414
414
|
dw_mcp/tools_jobs.py,sha256=MLqAEXIEMrOiBx9teo7HJYgdp04XIg3uUOyCb34XtQQ,12926
|
|
415
415
|
dw_mcp/tools_media.py,sha256=sNsCz8zsj1G7evHEJekixWYoCOCI1R0JG2LLTeF9hNU,18445
|
|
416
416
|
dw_mcp/workspaces.py,sha256=wuFRa5fv4lQ5rFYJ01dm6LRBDBlajPxpwLZ-qh6JpAU,10976
|
|
417
|
-
diffusers_workflow-0.
|
|
418
|
-
diffusers_workflow-0.
|
|
419
|
-
diffusers_workflow-0.
|
|
420
|
-
diffusers_workflow-0.
|
|
421
|
-
diffusers_workflow-0.
|
|
417
|
+
diffusers_workflow-0.22.0.dist-info/METADATA,sha256=RL7CjrAA3VwIHlorQgk1yHit993pZzphafEzt6ZQhqc,20328
|
|
418
|
+
diffusers_workflow-0.22.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
419
|
+
diffusers_workflow-0.22.0.dist-info/entry_points.txt,sha256=Dem_AOzV-Kcpr9AASlSvJ-S5sn3f6TQu6ABb6BbApho,148
|
|
420
|
+
diffusers_workflow-0.22.0.dist-info/top_level.txt,sha256=o-uFAN_oUOrhXfMKO39HsMs2r19L9LykxoVKj2S9q7U,10
|
|
421
|
+
diffusers_workflow-0.22.0.dist-info/RECORD,,
|
dw/docs/ARCHITECTURE.md
CHANGED
|
@@ -70,7 +70,7 @@ one to open.
|
|
|
70
70
|
| Run directories | `dw/runs.py`: `open_run`, `workflow_identity`, `new_run_id` | Each execution writes into `<output_dir>/<identity>/<run id>/` with a `manifest.json`, unless the flat layout is chosen (the test pins the flat-layout exception). | `tests/test_runs.py::TestRunDirectories::test_the_flat_layout_writes_where_it_always_did` |
|
|
71
71
|
| A file's role (final / intermediate / input) | `dw/roles.py` | Decided per step: result.role, then a final/intermediate subfolder, then data flow (a step a media-writing or unsaved consumer reads is intermediate). Engine records it at run end, with `role_declared` where result.role stated it; a run that predates roles recorded none, so the listing falls back on the file's own `final`/`intermediate` subfolder, then the demotion below, and a file neither places has none. At read time the gallery (`GET /api/gallery`, its `role=` filter, the metadata route) also demotes a file a later run of the same workspace read - an `output:` input (an unpinned `latest` is the newest run started before the reader) or an `asset:` keep_output kept from it - unless its role was declared (`consumed_outputs`, `listed_role`, once per listing; no manifest is rewritten). | `tests/test_roles.py`, `tests/test_roles.py::test_a_file_a_later_run_read_is_consumed`, `tests/test_roles.py::test_listed_role`, `tests/test_roles.py::test_listed_role_of_a_run_that_recorded_none`, `tests/test_gallery_roles.py::test_older_run_reads_its_intermediate_subfolder_as_intermediate`, `tests/test_gallery_roles.py::test_a_pre_roles_file_a_later_run_read_lists_as_intermediate`, `tests/test_gallery_roles.py::test_metadata_agrees_with_the_listing_for_an_older_run`, `tests/test_gallery_roles.py::test_a_file_a_later_run_read_lists_as_intermediate`, `tests/test_gallery_roles.py::test_a_declared_final_stays_final` |
|
|
72
72
|
| Notes on runs, files, assets, workspaces | `dw/notes.py` | A note is `notes.json` beside what it describes (run dir or asset dir; a file's own note, else the run's), or `workspace.json` at a workspace root. Only the server writes them, never the engine; at most 4000 characters, plain text. | `tests/test_notes.py` |
|
|
73
|
-
| Requests ledger | `dw/ledger.py` (the file, its writes and rules), `dw/ledger_views.py` (what a read derives), `dw/security.py`: `validate_ledger_key`, `dw/server/routes/requests.py` (the ledger and request-notes routes), `dw/server/outputs.py`: `proof_output`, `dw/server/jobs.py`: `JobManager.request_jobs`, `dw_mcp/ledger.py` | A workspace's requests are `requests.json` at its root, written only by the server, whole-request at the revision read (409 `stale_revision` otherwise), atomically under a per-directory thread lock and a file lock beside it; read without one. A file that is there but is not a ledger is never replaced (409 `ledger_unreadable`). `prompt` is write-once, item keys and request ids match `^[a-z0-9][a-z0-9-]{0,63}`, `depends_on` stays within one request and acyclic, and a user's notes, on an item or the request, are written only through their own routes (`request-notes`, user-only) and a whole-plan write keeps the stored ones. Only open requests and live items count toward the working caps; a closed request is deleted and a dropped item purged. A workspace with no root reads as empty and refuses writes. An item's status, readiness, attempts, result and spent/remaining minutes, each job's proof output and a list row's cover are derived from its linked jobs at read time and never stored; `accepted` is `{job, run_id}` of a succeeded job linked to that item. The ledger reads only the job dicts it is handed: a proof is a callable the job store answers from the manifest it already holds (a closed job's read once from its history row and kept), so a polled list reads no run directory. | `tests/test_ledger.py`, `tests/test_ledger_integrity.py`, `tests/test_ledger_job_link.py`, `tests/test_ledger_proof.py`, `tests/test_ledger_page_actions.py` |
|
|
73
|
+
| Requests ledger | `dw/ledger.py` (the file, its writes and rules), `dw/ledger_views.py` (what a read derives), `dw/security.py`: `validate_ledger_key`, `dw/server/routes/requests.py` (the ledger and request-notes routes), `dw/server/outputs.py`: `proof_output`, `dw/server/jobs.py`: `JobManager.request_jobs`, `dw_mcp/ledger.py` | A workspace's requests are `requests.json` at its root, written only by the server, whole-request at the revision read (409 `stale_revision` otherwise), atomically under a per-directory thread lock and a file lock beside it; read without one. A file that is there but is not a ledger is never replaced (409 `ledger_unreadable`). `prompt` is write-once, item keys and request ids match `^[a-z0-9][a-z0-9-]{0,63}`, `depends_on` stays within one request and acyclic, and a user's notes, on an item or the request, are written only through their own routes (`request-notes`, user-only) and a whole-plan write keeps the stored ones. Only open requests and live items count toward the working caps; a closed request is deleted and a dropped item purged. A workspace with no root reads as empty and refuses writes. An item's status, readiness, attempts, result and spent/remaining minutes, each job's proof output and a list row's cover are derived from its linked jobs at read time and never stored; `accepted` is `{job, run_id}` of a succeeded job linked to that item. The ledger reads only the job dicts it is handed: a proof is a callable the job store answers from the manifest it already holds (a closed job's read once from its history row and kept), so a polled list reads no run directory. A planned item can carry a review hold (#1521): `review_until` is a writable item field (the agent sets it; the server accepts it from any author) and bounded in `dw/ledger.py` (`_review_until`: 60 seconds to 24 hours ahead, an unchanged value keeps its `review_set_at` stamp), and `dw/ledger_views.py`: `_review` derives `review` (`redirected` when a note is at or after the stamp, else `due`, else `holding`) so the page and the channel read one answer; only a note redirects, and nothing on the server runs a job at the deadline. | `tests/test_ledger_review.py`, `tests/test_ledger.py`, `tests/test_ledger_integrity.py`, `tests/test_ledger_job_link.py`, `tests/test_ledger_proof.py`, `tests/test_ledger_page_actions.py` |
|
|
74
74
|
| Run versions | `dw/runs.py`: `open_run`, `run_versions`, `record_run_versions`, `copy_runs_in` | A run takes its number once, when it opens (or, copied in from another workspace, when `copy_runs_in` places it), so deleting a middle run leaves a gap rather than renumbering. | `tests/test_runs.py::TestRunVersions::test_a_deleted_middle_run_leaves_a_gap_rather_than_renumbering`, `tests/test_runs.py::TestRunVersions::test_runs_started_in_the_same_second_still_number_upward` |
|
|
75
75
|
| Run-version surfaces | `dw/runs.py`: `run_versions`, `dw/server/routes/gallery.py`, `dw/server/outputs.py`, `dw_mcp/tools_catalog.py`: `list_gallery`, `ui/src/lib/pages/GalleryPage.svelte` | Only `dw/runs.py` computes the number, and every other module reads it back. | `tests/test_runs.py::TestRunVersions::test_an_output_reference_can_name_a_run_by_its_version` |
|
|
76
76
|
| What the server says about an output file | `dw/server/outputs.py`: `output_annotations` | The gallery listing (`dw/server/routes/gallery.py`) and the metadata route (`dw/server/routes/media.py`) describe an output file's `role`, `note`, `note_source`, `run_note`, `starred` and `version` through `output_annotations`, and neither builds those fields on its own. | `tests/test_gallery_roles.py::test_metadata_agrees_with_the_listing_on_a_starred_noted_demoted_file` |
|
|
@@ -180,7 +180,8 @@ one to open.
|
|
|
180
180
|
| Locations from a workflow | `dw/locations.py` | A local path in a workflow's media arguments (named like their media, or declared by the task's `@register_command(media_arguments=...)`, read through `TASK_MEDIA_ARGUMENTS`) is confined to a known root, a location written as a URL is one `security.validate_url` accepts, and a URL must not name a host inside the deployment. A host that does not resolve is refused. The requests themselves are `dw/outbound.py`'s. | `tests/test_locations.py::TestMediaPathContainment::test_absolute_path_outside_every_root_is_refused`, `tests/test_locations.py::TestMediaPathContainment::test_a_url_that_is_not_http_is_refused`, `tests/test_locations.py::TestMediaPathContainment::test_an_upper_case_https_url_is_not_refused_as_another_scheme`, `tests/test_security_ssrf.py::TestInternalAddressSpellings::test_a_name_that_resolves_inside`, `tests/test_locations.py::TestTaskMediaArguments::test_an_unreadable_source_is_an_error_at_its_path` |
|
|
181
181
|
| Outbound requests | `dw/outbound.py`: `safe_get`, `safe_post` | Every outbound request is validated per hop against `dw/locations.py`'s policy, resolved once and dialed at the address the policy checked, capped and timed. No other module under `dw/` makes an HTTP request or builds a session or adapter. | `tests/test_outbound.py::TestSafeRequest::test_one_lookup_per_hop_and_the_dial_is_the_checked_address` |
|
|
182
182
|
| Trust gate | `dw/trust.py`: `require_trusted_dotted_name` | In an untrusted workflow (the default), a dotted type outside the allowlist is a validation error before anything is imported. | `tests/test_security_trust_gate.py::TestValidationRefusesBeforeImport::test_a_dotted_type_is_a_validation_error` |
|
|
183
|
-
| Remote pipeline code | `dw/trust.py`: `require_trusted_block` (the worker's gate, via `workflow_run.require_trusted_steps`), `pipeline_remote_code_errors` (the same gate as the `pipeline_remote_code` check in `dw/validation.py`) | Untrusted, a pipeline step's `from_pretrained_arguments` (or a nested component block's) may not set `trust_remote_code` or `custom_pipeline
|
|
183
|
+
| Remote pipeline code | `dw/trust.py`: `require_trusted_block` (the worker's gate, via `workflow_run.require_trusted_steps`), `pipeline_remote_code_errors` (the same gate as the `pipeline_remote_code` check in `dw/validation.py`) | Untrusted, a pipeline step's `from_pretrained_arguments` (or a nested component block's) may not set `trust_remote_code` or `custom_pipeline`, nor its `configuration` name a `pre_load_modules` entry outside the allowed packages; validate refuses with the run's own message at `steps[N].pipeline`, one gate and no second key list, so a submit that fails it makes no job. | `tests/test_validate_trust_gate.py::test_registry_pass_is_the_runs_gate`, `tests/test_trust_precheck.py::test_submit_refuses_a_pre_load_module_with_no_job` |
|
|
184
|
+
| Worker trust pre-check | `dw/workflow_run.py`: `require_trusted_pipelines`, `require_trusted_steps`; `dw/type_references.py`: `require_trusted_type_references` | Before the worker releases the previous workflow's models it refuses what the run would: the pipeline gate above, and a dotted type or `constant:` outside the allowed packages, so a refused job leaves the warm models loaded. It reads validate's expansion (`Workflow.expanded_definition`) and loads no asset, clip or URL; trusted, it returns before preparing anything. It covers the top-level steps; a sub-workflow's are refused by validate at submit and by the loader at their own load. | `tests/test_trust_precheck.py::test_a_refused_job_keeps_the_warm_models`, `tests/test_trust_precheck.py::TestThePreCheckLoadsNoMedia::test_untrusted_reads_keys_only`, `tests/test_trust_precheck.py::TestThePreCheckLoadsNoMedia::test_trusted_does_no_work` |
|
|
184
185
|
| Remote generate code | `dw/trust.py`: `require_trusted_generate_arguments`; `dw/tasks/text_generation.py`: `_validated_generate_kwargs`, `_validated_chat_template_kwargs` | Untrusted, `generate_kwargs` may not set `custom_generate` or `trust_remote_code` (transformers would download and run a repo's `custom_generate/generate.py`); both it and `chat_template_kwargs` hold only scalars (or, for `generate_kwargs`, lists of them) and none of the pipeline call's own keys. All checked before the model loads. | `tests/test_security_trust_gate.py::TestRemoteGenerateCodeUntrusted::test_refused_before_the_model_loads`, `tests/test_text_generation.py::TestGenerateKwargsAreFiltered::test_a_structural_key_is_refused_before_any_load`, `tests/test_text_generation.py::TestGenerateKwargsAreFiltered::test_a_nested_value_is_refused` |
|
|
185
186
|
| Hub-file system prompts | `dw/tasks/text_generation.py`: `resolve_system_prompt` | A `system_prompt.from_hub` file is pinned to a full commit, asked of the Hub anonymously before every use (failing closed on any error, offline or under `HF_HUB_OFFLINE`), downloaded with `token=False`, and refused over 1 MiB or when the Hub reports no size. | `tests/test_text_generation.py::TestSystemPromptFromHub::test_a_file_the_hub_will_not_serve_publicly_is_refused`, `tests/test_text_generation.py::TestSystemPromptFromHub::test_the_download_never_carries_the_server_token`, `tests/test_text_generation.py::TestSystemPromptFromHub::test_a_file_of_unknown_size_is_refused_before_downloading` |
|
|
186
187
|
| CodeQL path-injection model | `.github/codeql/dw-security/DwPathSanitizers.qll`, `.github/workflows/codeql.yml` | The local pack models the `dw/security.py` validators (and `dw/locations.py`'s `validate_media_path`) as sanitizers, so a validator that moves is re-modelled in the same commit. | `.github/codeql/dw-security/DwPathInjection.ql` |
|
|
@@ -212,7 +213,7 @@ one to open.
|
|
|
212
213
|
| --- | --- | --- | --- |
|
|
213
214
|
| `dw_mcp` stays torch-free | `dw_mcp/` | `dw_mcp` reaches `dw.serve` over HTTP and imports no `dw` module, because `dw/__init__.py` pulls in torch. | `tests/test_mcp_server.py::TestStartupWeight::test_the_server_starts_without_importing_the_engine` |
|
|
214
215
|
| Tool surface | `dw_mcp/server.py`, `dw_mcp/tools_*.py` | Only these modules import the MCP SDK, and each tool body is a one-line call into a handler; `run_workflow`'s `request` (`<request-id>/<item-key>`) is parsed in `dw_mcp/diagnose.py` before any HTTP call and sent as the body's `request` and `item`. | `tests/test_mcp_server.py::test_the_wiring_table_covers_every_registered_tool`, `tests/test_mcp_server.py::test_the_stated_tool_count_is_the_registered_one` |
|
|
215
|
-
| Notes channel | `dw_mcp/ledger.py`: `note_waiting`, `waiting_notes`, `NoteWatch`, `note_event`, `waiting_event`, `retry_delay`, `dw_mcp/server.py`: `serve_notes_channel`, `build_notes_channel`, `NOTES_INSTRUCTIONS`, `dw_mcp/__main__.py` (`--notes-channel`) | A second stdio process with no tools that declares `experimental["claude/channel"]` and sends `notifications/claude/channel` for each waiting note in one workspace, polled. A note waits by the UI's rule (`ui/src/lib/request/noteState.ts`: `noteWaiting`), per note: open request, live item, no agent write (the request's `agent_wrote_at`) after its `at`. The first poll that reaches the server sends one digest of what waits; after it each note is announced once per `(request, note id, at)`, its references named one per line. The poll carries `X-DW-Notes-Channel: 1`; `dw/server/listening.py` keeps the last marked poll per workspace in memory and `GET /api/workspaces/{name}/notes-channel` reports `listening` for 30 seconds after it - a session without the development-channels flag still polls, so it cannot say Claude Code passes the events on. It is served handshake-only, so a 2026-07-28 `server/discover` probe is refused and the client falls back to `initialize`; a failed poll is logged to stderr once and retried on a doubling delay, and nothing but JSON-RPC reaches stdout. Event `meta` keys are identifiers and values strings. | `tests/test_mcp_notes_channel.py`, `tests/test_mcp_notes_stdio.py`, `tests/test_ui_twins.py::test_the_notes_channel_decides_each_shared_waiting_note_case`, `tests/fixtures/note_waiting_cases.json` |
|
|
216
|
+
| Notes channel | `dw_mcp/ledger.py`: `note_waiting`, `waiting_notes`, `NoteWatch`, `note_event`, `waiting_event`, `due_reviews`, `review_event`, `retry_delay`, `dw_mcp/server.py`: `serve_notes_channel`, `build_notes_channel`, `NOTES_INSTRUCTIONS`, `dw_mcp/__main__.py` (`--notes-channel`) | A second stdio process with no tools that declares `experimental["claude/channel"]` and sends `notifications/claude/channel` for each waiting note, polled: in every workspace through one `GET /api/requests` read (`dw/server/routes/requests.py`: `list_open_requests`) unless `--workspace` pins it to one, falling back to the client's workspace on a server without that route and asking for it again every `ROUTE_RETRY_POLLS`; bookkeeping is keyed by workspace and request, and a workspace the read names as `unreadable` keeps its bookkeeping. Only a poll that read nothing backs off; a fault in part of the ledger is logged but polled at the interval. A note waits by the UI's rule (`ui/src/lib/request/noteState.ts`: `noteWaiting`), per note: open request, live item, no agent write (the request's `agent_wrote_at`) after its `at`. The first poll that reaches the server sends one digest of what waits; after it each note is announced once per `(request, note id, at)`, its references named one per line. The poll carries `X-DW-Notes-Channel: 1`; `dw/server/listening.py` keeps the last marked poll per workspace, and of the whole server (`seen_all`), in memory and `GET /api/workspaces/{name}/notes-channel` reports `listening` for 30 seconds after it - a session without the development-channels flag still polls, so it cannot say Claude Code passes the events on. It is served handshake-only, so a 2026-07-28 `server/discover` probe is refused and the client falls back to `initialize`; a failed poll is logged to stderr once and retried on a doubling delay, and nothing but JSON-RPC reaches stdout. Event `meta` keys are identifiers and values strings. A second event kind, `review_due` (`due_reviews`, `review_event`), announces held items whose deadline passed with no note, once per item and `review_until`, and `NoteWatch` re-reads a request at its earliest deadline though its revision did not move; a hold already on the item when the channel first read its request is marked `stale`, whatever its state then. | `tests/test_mcp_notes_channel.py`, `tests/test_mcp_notes_stdio.py`, `tests/test_notes_listening.py`, `tests/test_mcp_main.py`, `tests/test_ui_twins.py::test_the_notes_channel_decides_each_shared_waiting_note_case`, `tests/fixtures/note_waiting_cases.json` |
|
|
216
217
|
| Surface text budget | the tool docstrings in `dw_mcp/tools_*.py`, the instructions in `dw_mcp/server.py` | The instructions and each tool description stay at or under 2,048 characters, and the whole surface stays within its token budget. | `tests/test_mcp_server.py`: `SURFACE_BUDGET`, `CLIENT_TEXT_LIMIT`; `tests/test_mcp_server.py::test_no_text_the_agent_reads_is_cut_off_by_the_client`, `tests/test_mcp_server.py::test_the_tool_surface_fits_the_budget` |
|
|
217
218
|
| Guide pointers in resident text | the tool docstrings in `dw_mcp/tools_*.py`, the instructions in `dw_mcp/server.py`, each plugin `SKILL.md` and its `references/` | Every `get_guide(...)` / guide-section pointer opens a real section through `dw/server/guides.py`'s `get_guide`, and the tools that point at a guide keep their pointer when text is trimmed to fit the budget. | `tests/test_guide_pointers.py` (`TOOLS_THAT_POINT`) |
|
|
218
219
|
| Spending needs consent | each handler behind a tool that takes `acknowledged_cost` (`dw_mcp/diagnose.py`, `models.py`, `prompts.py`, `workspaces.py`) | Every tool that takes `acknowledged_cost` refuses until it is set; `delete_workspace`'s refusal is the server's 409. `rerun_job(restart_batch=true)` passes through without it, and the server owns that gate: `POST /api/jobs/{id}/rerun-restart-batch` (`JobManager.rerun_restart_batch`) answers a preview that queues nothing. The jobs page's restart banner is the route's second caller and keeps the same order: a click previews, and only a confirm sends `acknowledged_cost` (`ui/src/lib/restartBatches.ts`). | `tests/test_mcp_twins.py::test_every_tool_that_takes_acknowledged_cost_refuses_without_it`, `tests/test_restart_tombstones.py::test_mcp_rerun_job_previews_queues_then_skips_a_restart_batch`, `ui/src/lib/pages/JobsPage.test.ts` |
|
|
@@ -228,7 +229,7 @@ one to open.
|
|
|
228
229
|
|
|
229
230
|
| Concept | Owner | Rule | Enforced by |
|
|
230
231
|
| --- | --- | --- | --- |
|
|
231
|
-
| The UI reads engine fields | `ui/src/lib/plan.ts`: `describePlan`, `ui/src/lib/results.ts`: `sectionBySubfolder`, `ui/src/lib/editor.ts`: `constraintHints`, `presetView`, `presetPlaceholder` | The UI reads `plan`, `version` and `subfolder` as fields the server sends and derives nothing of its own, and it
|
|
232
|
+
| The UI reads engine fields | `ui/src/lib/plan.ts`: `describePlan`, `ui/src/lib/results.ts`: `sectionBySubfolder`, `ui/src/lib/editor.ts`: `constraintHints`, `presetView`, `presetPlaceholder` | The UI reads `plan`, `version` and `subfolder` as fields the server sends and derives nothing of its own, and it sends `acknowledged_cost` from only two surfaces: the Run dialog (`RunQueue`, the validate plan as the bound value) and the jobs page's restart banner (a confirm sends `true`). It reads `variable_constraints` off the definition only to *state* each rule under its field, in fixed labels with every number from the declaration, and `presets` to list a selector's bundles and what they set. Its one layering, for placeholders only, is the engine's `effective_variables` order (declared default, then the chosen bundle, then an explicit value); a bundle's values are never copied into `arguments`. Every verdict on a value stays the server's. The workflow page places a validate finding by its `arguments.<name>`/`variables.<name>` path prefix alone (`ui/src/lib/findings.ts`: `placeFindings`), under that field or in the general list, and derives, filters or rewrites nothing else of it. | `ui/src/lib/plan.test.ts`, `ui/src/lib/pages/WorkflowPage.test.ts`, `ui/src/lib/results.test.ts`, `ui/src/lib/editor.test.ts` (one case per key, and the schema-coverage case: every `variable_constraint` property in `dw/workflow_schema.json` has a label; the preset placeholder cases), `ui/src/lib/editor/VariablesForm.test.ts` |
|
|
232
233
|
| Reference prefixes in the UI | `ui/src/lib/references.ts` | The only module in `ui/src` that spells a reference prefix; each equals `dw/references.py`'s. | `tests/test_ui_twins.py::test_the_ui_spells_every_reference_prefix_the_engine_does`; `prefix_literals` in `ui/scripts/arch-metrics.mjs` |
|
|
233
234
|
| Output kinds on the job page | `dw/server/outputs.py`: `MEDIA_KINDS`, `output_kinds` | The page renders an output by the `output_kinds` the job detail carries, never by its extension. | `tests/test_server.py::test_a_job_reports_each_output_files_media_kind`, `ui/src/lib/pages/JobPage.test.ts` |
|
|
234
235
|
| Step timing on the job page | `dw/pipeline_processors/timing.py`: `StepTimer`; the manifest entry's `timing` | The job page draws a step's load/encode/denoise/decode/save bar from `manifest[].timing` alone (history has no events), each part only when non-null, width its share of the parts' sum; `first_pass_s`/`pass_s`/`passes` sit inside `denoise_s` and appear in the title only. `host_memory_job_peak_committed_mb` shows in the header only when non-null. | `ui/src/lib/pages/JobPage.test.ts` (step timing bar and peak host RAM) |
|
|
@@ -240,7 +241,7 @@ one to open.
|
|
|
240
241
|
| The editors' document | `ui/src/lib/editorShell.svelte.ts`: `DocumentEditor` | The workflow and prompt editors keep one rule each for the view (remembered per editor), the JSON draft (a failed parse pins it), dirty against the last load or save, the save path, and the tab-close guard. | `ui/src/lib/editorShell.test.ts`, `ui/src/lib/pages/PromptEditorPage.test.ts`, `ui/src/lib/pages/EditorPage.test.ts` |
|
|
241
242
|
| UI polling | `ui/src/lib/poll.ts`: `poll`, `sleep` | A page that refreshes on a timer starts it through `poll` and stops it with the function `poll` returns. | `ui/src/lib/poll.test.ts` |
|
|
242
243
|
| Workspace state in the UI | `ui/src/lib/workspaceState.svelte.ts`: `workspace` | The current workspace is one `$state`; `api.ts` reads it from here, so the request layer imports no page state. | `import_cycles` in `ui/scripts/arch-metrics.mjs` |
|
|
243
|
-
| Requests in the UI | `ui/src/lib/request/intents.ts`: `apply`, `ui/src/lib/request/planStore.svelte.ts`: `PlanStore`, `ui/src/lib/request/itemState.ts`: `planState`, `ui/src/lib/request/ItemNote.svelte`, `ui/src/lib/request/attention.ts`: `attention`, `ui/src/lib/requestFilter.ts`, `ui/src/lib/job/JobHeader.svelte` | The request page edits the ledger only through intents - accept a take, drop, restore, reorder, a note for the agent (the request's own or an item's; written through the `request-notes` routes, not a plan PUT): `apply` turns one intent and the plan as last read into a PUT of the whole plan (no `prompt`) at that revision, `by: "user"`, and `PlanStore` sends them one at a time, the page showing its queue folded over the last read so a refresh undoes no edit. A plan read earlier is never sent again: on a 409 `stale_revision` the store reads the request again and makes the intent over that read (three more times at most) when its item is unchanged, holds a drop or an accept back and asks on the row when the item changed (`ui/src/lib/request/conflict.ts`: `itemDiff`), and says which edit no longer applies, keeping a note's words (any other refusal shows the server's message alone). A drop strips its key from the items that depend on it in the same write. Jobs are queued only from the priced dialog (`ui/src/lib/request/RunDialog.svelte`): `RunQueue` (`ui/src/lib/request/runQueue.svelte.ts`) validates every candidate before the spend button is enabled and submits each with `request`, `item` and the validate plan as its bound `acknowledged_cost`, so a row is queued only when the server says so and a 409 re-prices it in place; the page never starts a newly ready item itself. What it shows beyond the server's `status` and `ready` it derives in one place, `planState`: waiting on a dependency that is not done, cancelled apart from failed, which items need the user, which could be run; proofs come from the ledger's own `output` and `cover`, never a job read. It reads the request again every 20 s while its `state` is open and every 5 s while one of its jobs is queued or running (`ui/src/lib/request/refresh.ts`), keeps the higher `revision` of what it holds and what a read returns, says a refresh's changes in one polite live region (`ui/src/lib/request/announce.ts`), and keeps the plan it holds when a read fails; a draft - held in the note component, and in the tab's `sessionStorage` - outlives every read and a reload. Jobs and Gallery narrow to a request with one `req` hash value (`<id>` or `<id>/<item>`, the server's `request`/`item` filters); a job's header links its request, as plain text with "request no longer exists" once `getRequest` is 404. | `ui/src/lib/request/intents.test.ts`, `ui/src/lib/request/planStore.svelte.test.ts`, `ui/src/lib/request/runQueue.svelte.test.ts`, `ui/src/lib/request/RunDialog.test.ts`, `ui/src/lib/pages/RequestPage.test.ts`, `ui/src/lib/pages/RequestPage.edit.test.ts`, `ui/src/lib/request/itemState.test.ts`, `ui/src/lib/request/ItemNote.test.ts`, `ui/src/lib/request/attention.test.ts`, `ui/src/lib/job/JobHeader.test.ts`, `ui/src/lib/requestFilter.test.ts` |
|
|
244
|
+
| Requests in the UI | `ui/src/lib/request/intents.ts`: `apply`, `ui/src/lib/request/planStore.svelte.ts`: `PlanStore`, `ui/src/lib/request/itemState.ts`: `planState`, `ui/src/lib/request/ItemNote.svelte`, `ui/src/lib/request/attention.ts`: `attention`, `ui/src/lib/requestFilter.ts`, `ui/src/lib/job/JobHeader.svelte` | The request page edits the ledger only through intents - accept a take, drop, restore, reorder, a note for the agent (the request's own or an item's; written through the `request-notes` routes, not a plan PUT): `apply` turns one intent and the plan as last read into a PUT of the whole plan (no `prompt`) at that revision, `by: "user"`, and `PlanStore` sends them one at a time, the page showing its queue folded over the last read so a refresh undoes no edit. A plan read earlier is never sent again: on a 409 `stale_revision` the store reads the request again and makes the intent over that read (three more times at most) when its item is unchanged, holds a drop or an accept back and asks on the row when the item changed (`ui/src/lib/request/conflict.ts`: `itemDiff`), and says which edit no longer applies, keeping a note's words (any other refusal shows the server's message alone). A drop strips its key from the items that depend on it in the same write. Jobs are queued only from the priced dialog (`ui/src/lib/request/RunDialog.svelte`): `RunQueue` (`ui/src/lib/request/runQueue.svelte.ts`) validates every candidate before the spend button is enabled and submits each with `request`, `item` and the validate plan as its bound `acknowledged_cost`, so a row is queued only when the server says so and a 409 re-prices it in place; the page never starts a newly ready item itself, and a held item (#1521) is no exception: the hold banner (`ui/src/lib/request/review.svelte.ts`, text in `reviewText.ts`) counts down to the server's `review` and its **Run now…** only opens that dialog. What it shows beyond the server's `status` and `ready` it derives in one place, `planState`: waiting on a dependency that is not done, cancelled apart from failed, which items need the user, which could be run; proofs come from the ledger's own `output` and `cover`, never a job read. It reads the request again every 20 s while its `state` is open and every 5 s while one of its jobs is queued or running (`ui/src/lib/request/refresh.ts`), keeps the higher `revision` of what it holds and what a read returns, says a refresh's changes in one polite live region (`ui/src/lib/request/announce.ts`), and keeps the plan it holds when a read fails; a draft - held in the note component, and in the tab's `sessionStorage` - outlives every read and a reload. Jobs and Gallery narrow to a request with one `req` hash value (`<id>` or `<id>/<item>`, the server's `request`/`item` filters); a job's header links its request, as plain text with "request no longer exists" once `getRequest` is 404. | `ui/src/lib/request/intents.test.ts`, `ui/src/lib/request/planStore.svelte.test.ts`, `ui/src/lib/request/runQueue.svelte.test.ts`, `ui/src/lib/request/RunDialog.test.ts`, `ui/src/lib/request/review.svelte.test.ts`, `ui/src/lib/request/reviewText.test.ts`, `ui/src/lib/pages/RequestPage.test.ts`, `ui/src/lib/pages/RequestPage.edit.test.ts`, `ui/src/lib/request/itemState.test.ts`, `ui/src/lib/request/ItemNote.test.ts`, `ui/src/lib/request/attention.test.ts`, `ui/src/lib/job/JobHeader.test.ts`, `ui/src/lib/requestFilter.test.ts` |
|
|
244
245
|
| The UI's response contract | `dw/server/api_models.py` (the models; it re-exports `dw/server/api_models_base.py`: `ApiModel`, `send_rejected_responses`, and the library routes' models in `dw/server/api_models_library.py`); `scripts/dump_openapi.py` | Every JSON route `api.ts` calls declares a response model, and `types.ts` re-exports the types generated from it (`ui/src/lib/generated/`). The payload does not change: an absent key stays absent (`response_model_exclude_unset`), a sometimes-sent key is `sometimes()`. Runtime is lenient - an undeclared key passes and a rejected response is logged and sent as built; tests, the e2e server and the dump run strict (`DW_STRICT_RESPONSES=1`). The document is generated under the FastAPI and Pydantic `constraints-openapi.txt` pins: CI installs them, and the dump refuses to write under others. | `tests/test_api_contract.py`, `tests/test_ui_twins.py::test_every_json_route_the_ui_calls_declares_its_response`, CI's "Response contract" step |
|
|
245
246
|
| Where `--live` appears | `ui/src/app.css` (its header) | `--live` marks machine state only and `--select` the user's place only (focus ring, sidebar), each in the files `ui/scripts/design-rules.test.ts` lists. | `ui/scripts/design-rules.test.ts` |
|
|
246
247
|
| UI architecture ratchet | `ui/scripts/arch-metrics.mjs` | No metric rises above `docs/stabilization/ui/baseline.json`. | the `ui` job in `.github/workflows/ci.yml`; `npm run preflight` |
|
dw/docs/MCP.md
CHANGED
|
@@ -28,7 +28,7 @@ the client needs a command it can find (see below). `dw-mcp` (or
|
|
|
28
28
|
| `--workspace` | `$DW_MCP_WORKSPACE`, else the server's default | Which of the server's workspaces the session works in. A *name* on the server, not a local directory (`DW_WORKSPACE` means something else to the engine). `use_workspace` switches it mid-session |
|
|
29
29
|
| `--timeout` | `30` | Seconds to wait on any one API request |
|
|
30
30
|
| `--no-probe` | off | Skip the startup `GET /api/health` that confirms the server is reachable and the token is accepted |
|
|
31
|
-
| `--notes-channel` | off | Serve no tools: be [the notes channel](#the-notes-channel), which tells an open Claude Code session when the user saves a note for the agent |
|
|
31
|
+
| `--notes-channel` | off | Serve no tools: be [the notes channel](#the-notes-channel), which tells an open Claude Code session when the user saves a note for the agent. It watches every workspace unless `--workspace` is given |
|
|
32
32
|
| `--interval` | `10` | With `--notes-channel`: seconds between reads of the request list, at least 2 |
|
|
33
33
|
|
|
34
34
|
A non-loopback `--url` with no token makes `dw-mcp` exit 2. The startup probe
|
|
@@ -163,8 +163,8 @@ When the user saves a **Note for the agent** on a request or one of its
|
|
|
163
163
|
items in the web UI ([WORKSPACES.md](WORKSPACES.md#requests)), nothing is
|
|
164
164
|
sent anywhere: the agent reads the note the next time it reads the plan. The
|
|
165
165
|
notes channel closes that gap for an open Claude Code session. It is a
|
|
166
|
-
second, small stdio process, `dw-mcp --notes-channel`, that watches
|
|
167
|
-
|
|
166
|
+
second, small stdio process, `dw-mcp --notes-channel`, that watches the
|
|
167
|
+
server's requests and tells the session about each note as it is saved.
|
|
168
168
|
|
|
169
169
|
A note can carry references to the items, takes and files it is about, so the
|
|
170
170
|
event says which. This one was written from the request page and names two
|
|
@@ -199,6 +199,29 @@ The tag's attributes are the event's `meta`: `kind` (`note`), `workspace`,
|
|
|
199
199
|
item) and `items` (the item keys its references name, comma separated, only
|
|
200
200
|
when it has any). Every value is a string.
|
|
201
201
|
|
|
202
|
+
A third kind, `review_due`, says a review hold has run out. When the agent
|
|
203
|
+
holds planned items for the user to look at ([WORKSPACES.md](WORKSPACES.md#requests),
|
|
204
|
+
*Review hold*), nothing on the server starts them at the deadline: the
|
|
205
|
+
channel announces them, once for each item and deadline, and the agent runs
|
|
206
|
+
what is still ready under the cost it quoted. The event lists the items
|
|
207
|
+
(`- shot3: Shot 3: lamp room (about 4 min)`) and tells the agent to run only
|
|
208
|
+
those still ready and without a newer note, and not to run one whose plan
|
|
209
|
+
changed or whose quote moved well off what the user was told: it clears the
|
|
210
|
+
hold and puts the new figure in the `why`, so the user runs it from the
|
|
211
|
+
request page or says yes in chat. Its `meta`
|
|
212
|
+
has `kind` (`review_due`), `workspace`, `request`, `revision`, `items` (the
|
|
213
|
+
due item keys, comma separated) and `until` (the earliest deadline among
|
|
214
|
+
them), all strings. A hold that was already on the item the first time
|
|
215
|
+
the channel read a request that the channel's first listing held, whatever its state then, is announced at its
|
|
216
|
+
deadline as the same kind with `stale` set to `1`; only a hold set while the
|
|
217
|
+
channel ran is announced fresh. A channel that connects, or restarts, after a
|
|
218
|
+
hold was set announces it as stale: the agent asks the user before spending.
|
|
219
|
+
If no session is listening at the deadline, nothing is announced and the items
|
|
220
|
+
wait. One poll can carry a stale event and a fresh one. An item held
|
|
221
|
+
behind a dependency is announced when the dependency finishes. A request
|
|
222
|
+
whose revision does not move still produces the event once its deadline
|
|
223
|
+
passes: the channel reads it again then.
|
|
224
|
+
|
|
202
225
|
It uses Claude Code [channels](https://code.claude.com/docs/en/channels-reference),
|
|
203
226
|
a **research preview**: the flag, the capability and the notification below
|
|
204
227
|
are Claude Code's and may change. It works only in an interactive session
|
|
@@ -212,12 +235,25 @@ saved while no session is open waits as it always did.
|
|
|
212
235
|
through the dw tools it already has (the `dw` registration above, or
|
|
213
236
|
`dw.serve --mcp`); run the channel beside that connection, not instead of
|
|
214
237
|
it.
|
|
215
|
-
- **
|
|
216
|
-
|
|
217
|
-
|
|
238
|
+
- **Every workspace.** With no `--workspace` it watches the whole server, so
|
|
239
|
+
a session that moves with `use_workspace`, or works in a workspace other
|
|
240
|
+
than the default, still hears its notes. Each event names its workspace,
|
|
241
|
+
and its `get_request` call passes it. `DW_MCP_WORKSPACE` does not narrow
|
|
242
|
+
the channel: it picks where a session starts, not what it hears.
|
|
243
|
+
`--workspace` pins the channel to one workspace. On a server older than
|
|
244
|
+
`GET /api/requests` it watches the default workspace (or
|
|
245
|
+
`DW_MCP_WORKSPACE`), as before, says so once on stderr, and asks for the
|
|
246
|
+
route again about every five minutes, so a server updated under a running
|
|
247
|
+
channel is found without restarting the session.
|
|
248
|
+
- **Two sessions on one server.** A channel that watches everything tells its
|
|
249
|
+
session about notes on every workspace's requests. Two sessions open on
|
|
250
|
+
one server both hear each note; the agent acts only on a request it is
|
|
251
|
+
working on (the event names it). Pin each session's channel with
|
|
252
|
+
`--workspace` to keep them apart.
|
|
218
253
|
- **Polling.** Every `--interval` seconds (default 10, at least 2) it reads
|
|
219
|
-
the
|
|
220
|
-
|
|
254
|
+
the server's open requests (`GET /api/requests`, one read for every
|
|
255
|
+
workspace; the workspace's list when pinned), and then only the open
|
|
256
|
+
requests whose revision moved: an idle server costs one request a tick.
|
|
221
257
|
- **Which notes.** A note *waits* while its request is open, its item is not
|
|
222
258
|
dropped, and the agent has not written the request since the note was
|
|
223
259
|
saved - the rule behind the page's "Nothing is sent to the agent" line. A
|
|
@@ -227,7 +263,7 @@ saved while no session is open waits as it always did.
|
|
|
227
263
|
has written (`set_request`) it is not announced again.
|
|
228
264
|
- **At connect.** A few seconds after the handshake (one interval, at most
|
|
229
265
|
5 seconds, so Claude Code is listening), notes already waiting are
|
|
230
|
-
announced as one `kind="notes_waiting"` event that lists them (each
|
|
266
|
+
announced as one `kind="notes_waiting"` event per workspace that lists them (each
|
|
231
267
|
clipped to 300 characters, its references on the lines under it). Those predate the session, so the agent is told to say what
|
|
232
268
|
is waiting and to confirm before spending GPU time on them. A note saved
|
|
233
269
|
after that is a `kind="note"` event, quoted whole (the ledger's 4000
|
|
@@ -240,7 +276,11 @@ saved while no session is open waits as it always did.
|
|
|
240
276
|
is sent back through the channel.
|
|
241
277
|
- **When the server is away.** An unreachable server, a rejected token, a
|
|
242
278
|
timeout or an unreadable `requests.json` is written to stderr once and
|
|
243
|
-
retried, the delay doubling up to five minutes; the process stays up.
|
|
279
|
+
retried, the delay doubling up to five minutes; the process stays up. A
|
|
280
|
+
fault in part of the ledger (one request, or one workspace's unreadable
|
|
281
|
+
`requests.json`) is named on stderr once but does not slow the poll: the
|
|
282
|
+
rest is still read every interval, and what the channel knew of the part
|
|
283
|
+
it could not read is kept, so its notes are not announced twice.
|
|
244
284
|
Events are not queued across a restart: a note is either still waiting
|
|
245
285
|
(and in the next session's digest) or answered.
|
|
246
286
|
|
|
@@ -249,11 +289,15 @@ saved while no session is open waits as it always did.
|
|
|
249
289
|
The web UI labels the note's save button by whether a channel is running. The
|
|
250
290
|
channel marks each read of the request list with an `X-DW-Notes-Channel: 1`
|
|
251
291
|
header, and the server remembers, in memory only, when a marked read last
|
|
252
|
-
came for each workspace
|
|
292
|
+
came for each workspace; a marked `GET /api/requests` counts for every
|
|
293
|
+
workspace, including one made after it. `GET /api/workspaces/{name}/notes-channel` answers
|
|
253
294
|
`{listening, last_seen}`: `listening` is true when a marked read came in the
|
|
254
295
|
last 30 seconds (three intervals at the default 10). A server restart
|
|
255
296
|
forgets it until the next read. The button reads **Send to agent** when a
|
|
256
297
|
session is listening and **Save note** when none is; saving works either way.
|
|
298
|
+
The request page's review-hold banner reads the same answer: it says whether
|
|
299
|
+
a session is listening, and when none is, that nothing will run at the
|
|
300
|
+
deadline.
|
|
257
301
|
|
|
258
302
|
"Listening" means a session has the channel set up and is polling, nothing
|
|
259
303
|
more. A session started without `--dangerously-load-development-channels`
|
|
@@ -304,6 +348,11 @@ If nothing arrives:
|
|
|
304
348
|
- It is connected but no event comes: the session was started without the
|
|
305
349
|
flag (Claude Code then drops the events silently), or an organization
|
|
306
350
|
policy blocks channels.
|
|
351
|
+
- The request page says no session is listening while one is open: the
|
|
352
|
+
channel is pinned with `--workspace` to a workspace other than the
|
|
353
|
+
request's, or it is talking to a server older than `GET /api/requests`
|
|
354
|
+
and so watches only the default workspace. Drop `--workspace`, or update
|
|
355
|
+
the server.
|
|
307
356
|
- **Protocol revision.** Claude Code does not register a server that
|
|
308
357
|
negotiates MCP protocol revision 2026-07-28 as a channel. This process
|
|
309
358
|
declines that revision by itself: it answers the `server/discover` probe
|
dw/docs/RELEASING.md
CHANGED
|
@@ -49,6 +49,81 @@ A PyPI install gets released `diffusers`, which may lag the newest pipelines; in
|
|
|
49
49
|
|
|
50
50
|
GitHub generates notes from commits at tag time. The sections below are the hand-written notes: the newest is drafted at release prep and pasted into the GitHub release body once the tag has published (`gh release edit v<version> --notes-file ...`). Items a branch's author wants the next note to name go in a new section at the top.
|
|
51
51
|
|
|
52
|
+
### 0.22.0
|
|
53
|
+
|
|
54
|
+
<!-- Branch notes (feat/review-gate, with fix/notes-1529-1530 merged). Fold into the release-prep draft for 0.22.0 and paste into the GitHub release body once the tag has published: gh release edit v0.22.0 --notes-file ... -->
|
|
55
|
+
|
|
56
|
+
**The review hold** (#1521)
|
|
57
|
+
|
|
58
|
+
- An agent that has planned and priced a request can hold its items for you
|
|
59
|
+
to look at before they run. Each held item carries a deadline,
|
|
60
|
+
`review_until`; the request page shows how many items are held, counts
|
|
61
|
+
down to the deadline and says whether an agent session is listening. A
|
|
62
|
+
note you leave on the request or the item redirects the hold: the agent
|
|
63
|
+
revises instead of running. **Run now** opens the same priced dialog as
|
|
64
|
+
any other run, so a held item is never started for you.
|
|
65
|
+
- A hold defers a run you already approved in chat; it does not replace
|
|
66
|
+
that approval. When the deadline passes with no note, the agent runs
|
|
67
|
+
exactly what it quoted, and a changed plan or a quote well off the one
|
|
68
|
+
you were given means no run and no new hold: the agent clears the hold and
|
|
69
|
+
gives the new figure, and you run it from the priced dialog or say yes. Nothing on the server starts
|
|
70
|
+
a job at the deadline: the notes channel tells the open session with a new
|
|
71
|
+
`review_due` event (`stale` when the hold was set before the session
|
|
72
|
+
connected). With no session listening, which needs Claude Code started
|
|
73
|
+
with the development-channels flag, nothing runs and the items wait for you.
|
|
74
|
+
- The `script-to-video` skill's request reference says when to hold and how
|
|
75
|
+
the agent answers each event.
|
|
76
|
+
- REST: a request item takes `review_until` (an ISO time with an offset,
|
|
77
|
+
60 seconds to 24 hours ahead) and reads back `review_set_at` and a derived
|
|
78
|
+
`review` (`{until, state, seconds_left}`). The same fields are on the MCP
|
|
79
|
+
`set_request` and `get_request` items.
|
|
80
|
+
|
|
81
|
+
**Notes reach the session whichever workspace it is in** (#1529, #1530)
|
|
82
|
+
|
|
83
|
+
- The notes channel (`dw-mcp --notes-channel`) now watches every workspace
|
|
84
|
+
on the server unless `--workspace` pins it. Before, it watched only the
|
|
85
|
+
default workspace (or `DW_MCP_WORKSPACE`), so a session that worked in
|
|
86
|
+
another workspace never heard its notes and the request page said no
|
|
87
|
+
session was listening. Each event names its workspace. Against a server
|
|
88
|
+
older than this release the channel falls back to the default workspace.
|
|
89
|
+
- The note box puts your words first. Under the text, an **About** line
|
|
90
|
+
holds the items, takes and files the note is about, with a small "+ Add
|
|
91
|
+
an item" control that lists items by key; before, the item picker sat
|
|
92
|
+
above the text box and read as a list of suggested notes. A note goes
|
|
93
|
+
out only with words, and a closed box shows nothing pending, so nothing
|
|
94
|
+
looks sent that was not.
|
|
95
|
+
- REST: `GET /api/requests` lists every workspace's open requests in one
|
|
96
|
+
read (each row a request summary with its `workspace`; `unreadable` names
|
|
97
|
+
a workspace whose ledger cannot be read). Marked `X-DW-Notes-Channel: 1`,
|
|
98
|
+
it counts as a channel poll of every workspace for
|
|
99
|
+
`GET /api/workspaces/{name}/notes-channel`.
|
|
100
|
+
|
|
101
|
+
**The request page, from a first real run** (#1532)
|
|
102
|
+
|
|
103
|
+
- The header gives the agent's latest word under what needs you, so an
|
|
104
|
+
answer like "ready for take 2, not run" or "awaiting go-ahead" is on the
|
|
105
|
+
page, not only in Plan changes. A note's own status line now says when
|
|
106
|
+
the agent answered rather than quoting it.
|
|
107
|
+
- A done item has **Another take…** on its row. Open, an item shows its
|
|
108
|
+
takes once, its buttons lined up, and keeps its jobs and outputs links in
|
|
109
|
+
its menu. A take and its file are one reference chip on a note.
|
|
110
|
+
- The request skill: after a note at the same price the agent holds the
|
|
111
|
+
revised items again with a fresh countdown, and a note that changes
|
|
112
|
+
something the whole set shares is carried over to the other items.
|
|
113
|
+
|
|
114
|
+
**Fixes**
|
|
115
|
+
|
|
116
|
+
- The worker's trust check no longer decodes each input clip and fetches
|
|
117
|
+
each URL input a second time on every job; with `--trust-workflows` it
|
|
118
|
+
does no work at all (#1510).
|
|
119
|
+
- A workflow naming a refused `pre_load_modules` entry is refused at
|
|
120
|
+
validate and at submit, with no job, instead of being queued and evicting
|
|
121
|
+
the models warm on the card before the loader refused it (#1511).
|
|
122
|
+
- An H3 `references` entry that names no loadable reference class (a `type`
|
|
123
|
+
key instead of `reference_type`, or a bare class name) is now a validate
|
|
124
|
+
error at its path, instead of passing and being skipped by every
|
|
125
|
+
reference check (#1512).
|
|
126
|
+
|
|
52
127
|
### 0.21.0
|
|
53
128
|
|
|
54
129
|
<!-- Drafted from v0.20.0..develop at release prep (2026-11-20). Paste into the GitHub release body once the tag has published: gh release edit v0.21.0 --notes-file ... -->
|