workpeg 0.158.0__tar.gz → 0.158.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.158.0/src/workpeg.egg-info → workpeg-0.158.1}/PKG-INFO +1 -1
- {workpeg-0.158.0 → workpeg-0.158.1}/pyproject.toml +1 -1
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/run.py +8 -6
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/agents/AGENTS.md +5 -2
- {workpeg-0.158.0 → workpeg-0.158.1/src/workpeg.egg-info}/PKG-INFO +1 -1
- {workpeg-0.158.0 → workpeg-0.158.1}/LICENSE +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/MANIFEST.in +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/README.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/setup.cfg +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/auth.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/build.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/cdn.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/cli.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/config.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/context.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/create_new.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/doctor.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/function_base.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/function_check.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/project.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/runtime.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/sandbox/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/sandbox/docker_driver.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/sandbox/driver.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/starter.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/submit.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/agents/CLAUDE.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/Dockerfile +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/LICENSE +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/README.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/app/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/app/main.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/requirements.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/functions/wheels/README.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/README.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/Dockerfile +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/app/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/app/main.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/requirements.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/wheels/README.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/workpeg.json +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/app_shell.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/components.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/main.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/pages/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/pages/customer.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/pages/customers.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/pages/home.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/starter/pages/not_found.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/terminal.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/actions.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/actions_manifest.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/app.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/build.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/calendar.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/ast_parser.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/ir.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/js_generator.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/rtc_checks.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/compiler/rtc_tables.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/create.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/dates.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/dev_refused_names.json +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/devmode.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/devserve.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/devsite.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/fake_cloud.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/minify.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/render_nodes.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/renderers_manifest.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/rtc.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/ai-concurrent-replies.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/ai-prompt-queue.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/ai-question-frame.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/ai-subagent-frame.md +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/ai.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/editor.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/OFL.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic-ext.af944491.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-cyrillic.88be6946.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin-ext.370a8962.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin.7611b95c.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-vietnamese.8dfcf303.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic-ext.b7a545bb.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-cyrillic.6129fc85.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin-ext.58a6b173.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin.9b6f5ff4.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-vietnamese.f689f638.woff2 +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/icons.css.gz +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/overlay.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/pegment.css +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/rtc.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/scaffold.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/workpeg-runtime.js +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/scaffold.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/search_manifest.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/serve.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/skills_manifest.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/state.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/validators.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/watcher.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/__init__.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/base.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/canvas.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/display.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/fields.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/forms.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/futures.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/gestures.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/interactive.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/layout.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/widgets/pickers.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/utils.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg.egg-info/SOURCES.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg.egg-info/dependency_links.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg.egg-info/entry_points.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg.egg-info/requires.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg.egg-info/top_level.txt +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_agents_guide.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_auth.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_build.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_cdn.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_cdn_publish.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_changelog.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_changelog_guard.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_cli.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_config.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_context.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_create_new.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_doctor.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_function_check.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_pegfn_base.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_project_create.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_release_script.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_run.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_runtime.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_submit.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_utils.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_version.py +0 -0
- {workpeg-0.158.0 → workpeg-0.158.1}/tests/test_watch_pipeline.py +0 -0
|
@@ -28,12 +28,14 @@ def run_with_docker(
|
|
|
28
28
|
behaviour. The container itself is started with ``-d`` (detached), so this
|
|
29
29
|
returns as soon as it is running, not when it stops.
|
|
30
30
|
|
|
31
|
-
*env* is passed to the container as ``-e NAME=VALUE``. It
|
|
32
|
-
|
|
33
|
-
Tables API
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
*env* is passed to the container as ``-e NAME=VALUE``. It was added so a
|
|
32
|
+
function could be handed ``WORKPEG_PK`` for its calls back into the
|
|
33
|
+
Tables API, but the Tables API refuses that key: the dashboard's
|
|
34
|
+
``WORKPEG_PK`` is signed by the registry, which the API cannot verify. A
|
|
35
|
+
function authenticates those calls with the token the platform mints
|
|
36
|
+
per invocation and puts in ``context["token"]`` (docs/tables.md,
|
|
37
|
+
"Backend access from a function"). *env* remains for anything else a
|
|
38
|
+
local container needs.
|
|
37
39
|
|
|
38
40
|
**Values are secrets.** They are passed as arguments to ``docker run``,
|
|
39
41
|
which means anyone who can read the process list on the host can read
|
|
@@ -69,8 +69,11 @@ compiler, not you, decides what reaches the browser.
|
|
|
69
69
|
`WORKPEG_CHROME` unset too: it is the default for `--chrome`, so
|
|
70
70
|
`WORKPEG_CHROME=bundled` turns every build into a bundled one.
|
|
71
71
|
4. **No secrets in a page.** The compiled page is public JavaScript.
|
|
72
|
-
`WORKPEG_PK`
|
|
73
|
-
in UI code
|
|
72
|
+
`WORKPEG_PK` belongs in your shell or CI, for `workpeg function submit`
|
|
73
|
+
and `workpeg cdn submit`, never in UI code and never in a function: the
|
|
74
|
+
Tables API refuses it. A function calls the Tables API with the token in
|
|
75
|
+
each call's `context["token"]`. Every other key stays in a function or
|
|
76
|
+
your shell, never in UI code.
|
|
74
77
|
5. **Do not build sign-in, sign-up or a business picker.** The `Scaffold`
|
|
75
78
|
signs the person in, loads their businesses and draws the switcher.
|
|
76
79
|
6. **The SDK's components are the design.** Compose widgets, variants and
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/templates/project/function/wheels/README.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-italic-latin.7611b95c.woff2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{workpeg-0.158.0 → workpeg-0.158.1}/src/workpeg/ui/runtime/fonts/geist-normal-latin.9b6f5ff4.woff2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|