@notionhq/custom-blocks-dev-shell 0.1.116 → 0.2.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 CHANGED
@@ -75,8 +75,10 @@ declared manifest, and selected sample files.
75
75
  to `workerDir`. Slots without a selected file are omitted. The record is a startup snapshot, not a
76
76
  description of current browser property mappings. Later edits do not emit another record.
77
77
 
78
- Read the record without waiting for process exit. `ready` confirms server setup, not block
79
- rendering, data access, or complete bindings. Startup failures exit nonzero without a ready record.
78
+ Read the record without waiting for process exit. `ready` confirms that the shell and every block
79
+ URL returned HTTP 2xx. It does not confirm block rendering, data access, or complete bindings. The
80
+ checks allow 10 seconds after server setup. On timeout, stderr names the URLs that did not respond
81
+ successfully, and the process exits nonzero without a ready record.
80
82
 
81
83
  ### Options
82
84
 
@@ -125,6 +127,10 @@ Block responses enforce a production-like content security policy (CSP) and send
125
127
 
126
128
  #### Differences from production
127
129
 
130
+ - **Native icon colors:** The reference host accepts any string color and defaults omitted colors to
131
+ gray. It does not emulate Notion's supported-color checks. A successful local write does not
132
+ establish that Notion supports the color.
133
+
128
134
  - **Local origins:** Blocks and the shell use HTTP localhost origins instead of production HTTPS
129
135
  origins.
130
136
  - **Hot reload:** CSP permits the block's exact WebSocket host and port for Vite HMR.