workpeg 0.148.0__tar.gz → 0.149.1__tar.gz
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.
- {workpeg-0.148.0/src/workpeg.egg-info → workpeg-0.149.1}/PKG-INFO +1 -1
- {workpeg-0.148.0 → workpeg-0.149.1}/pyproject.toml +1 -1
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-prompt-queue.md +38 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai.js +1801 -165
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/scaffold.js +402 -52
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/workpeg-runtime.js +9 -1
- {workpeg-0.148.0 → workpeg-0.149.1/src/workpeg.egg-info}/PKG-INFO +1 -1
- {workpeg-0.148.0 → workpeg-0.149.1}/LICENSE +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/MANIFEST.in +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/README.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/setup.cfg +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/auth.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/build.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/cdn.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/cli.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/config.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/context.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/create_new.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/doctor.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/project.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/run.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/runtime.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/sandbox/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/sandbox/docker_driver.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/sandbox/driver.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/submit.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/Dockerfile +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/LICENSE +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/README.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/app/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/app/main.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/functions/requirements.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/README.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/Dockerfile +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/app/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/app/main.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/function/requirements.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/ui/main.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/templates/project/workpeg.json +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/actions.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/actions_manifest.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/app.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/build.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/calendar.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/ast_parser.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/ir.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/compiler/js_generator.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/create.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/dates.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/fake_cloud.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/minify.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/render_nodes.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/renderers_manifest.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-concurrent-replies.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-question-frame.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/ai-subagent-frame.md +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/editor.js +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/OFL.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic-ext.af944491.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic.88be6946.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin-ext.370a8962.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin.7611b95c.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-italic-vietnamese.8dfcf303.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic-ext.b7a545bb.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic.6129fc85.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin-ext.58a6b173.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin.9b6f5ff4.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/fonts/geist-normal-vietnamese.f689f638.woff2 +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/icons.css.gz +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/overlay.js +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/runtime/pegment.css +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/scaffold.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/search_manifest.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/serve.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/skills_manifest.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/state.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/validators.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/watcher.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/__init__.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/base.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/canvas.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/display.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/fields.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/forms.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/futures.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/gestures.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/interactive.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/layout.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/ui/widgets/pickers.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg/utils.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg.egg-info/SOURCES.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg.egg-info/dependency_links.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg.egg-info/entry_points.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg.egg-info/requires.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/src/workpeg.egg-info/top_level.txt +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_auth.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_build.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_cdn.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_cdn_publish.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_changelog.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_changelog_guard.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_cli.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_config.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_context.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_create_new.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_doctor.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_project_create.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_release_script.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_run.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_runtime.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_submit.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_utils.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_version.py +0 -0
- {workpeg-0.148.0 → workpeg-0.149.1}/tests/test_watch_pipeline.py +0 -0
|
@@ -714,6 +714,44 @@ finish"* — rather than queueing into a chat id about to be replaced. Before
|
|
|
714
714
|
this, that press was the quietest failure on the surface: it fired no request
|
|
715
715
|
and said nothing.
|
|
716
716
|
|
|
717
|
+
The landing's other quiet failure was a chat create that the server refused.
|
|
718
|
+
The box had already been emptied, and the error line went to a thread the
|
|
719
|
+
landing does not have, so the message was simply gone. A failed create now
|
|
720
|
+
puts the words back in the box and the files back as chips. It never
|
|
721
|
+
overwrites anything typed since. If the person has navigated away, the words
|
|
722
|
+
are kept as that landing's draft instead.
|
|
723
|
+
|
|
724
|
+
### 6.6 Queue for later: ⌘/Ctrl+Enter on an idle chat
|
|
725
|
+
|
|
726
|
+
The composer's hint reads *"↵ to send, ⌘↵ to queue for later"*. In a
|
|
727
|
+
conversation with no reply running, ⌘+Enter (Ctrl+Enter elsewhere; both are
|
|
728
|
+
accepted everywhere) adds the prompt to the strip in the **ready** state and
|
|
729
|
+
sends nothing. It leaves the queue the way any ready item does: after the next
|
|
730
|
+
reply this tab **watches land** (§6.2), or when somebody presses *Send next*.
|
|
731
|
+
No new automatic trigger is added. A ready item in an idle chat therefore waits
|
|
732
|
+
until the person sends something else or presses the button.
|
|
733
|
+
|
|
734
|
+
While a reply runs, Enter and ⌘+Enter both queue, as Enter always has. There
|
|
735
|
+
is no "send now" mid-reply: the server allows one live reply per chat
|
|
736
|
+
(`claim_reply_slot`, 409), and a stop-then-send would break §5's promise that
|
|
737
|
+
a stop sends nothing else. On the landing, ⌘+Enter simply sends, because there
|
|
738
|
+
is nothing to queue behind (§6.5). A slash command, an open question and an
|
|
739
|
+
upload still in flight are handled first, exactly as for Enter.
|
|
740
|
+
|
|
741
|
+
### 6.7 Offline
|
|
742
|
+
|
|
743
|
+
When the browser says it is offline (`navigator.onLine === false`, then the
|
|
744
|
+
window's `offline` and `online` events), Enter in a conversation **queues
|
|
745
|
+
instead of posting**. The strip shows the item as *Not sent yet* with *Send
|
|
746
|
+
next*. Its durable add fails like any other, so the row stays rowless and the
|
|
747
|
+
unload guard counts it. On the landing the words stay in the box.
|
|
748
|
+
|
|
749
|
+
Coming back online clears the notice and **sends nothing**. Only a watched
|
|
750
|
+
commit or a press sends, and being offline does not loosen that rule. The
|
|
751
|
+
offline flag is a hint and never a gate on a press: *Send next* and the drain
|
|
752
|
+
do not read it, so a browser that is wrong about being offline cannot trap a
|
|
753
|
+
message.
|
|
754
|
+
|
|
717
755
|
---
|
|
718
756
|
|
|
719
757
|
## 7. CDN independence — useful, with the bound on the screen
|