wexample-wex-addon-dev-javascript 7.11.0__tar.gz → 7.12.0__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.
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/PKG-INFO +10 -10
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/README.md +5 -5
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/pyproject.toml +5 -5
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/node/docker/docker-compose.yml +1 -0
- {wexample_wex_addon_dev_javascript-7.11.0/src/wexample_wex_addon_dev_javascript/services/vite/commands → wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/ai}/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0/src/wexample_wex_addon_dev_javascript/services/vite/commands/service → wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents}/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0/src/wexample_wex_addon_dev_javascript/workdir → wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main}/__init__.py +0 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main/about-service.md +27 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main/agent.yml +8 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/app_service.py +15 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/commands/__init__.py +0 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/docker/docker-compose.yml +1 -0
- wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/workdir/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/__pycache__/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/common/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/common/npm_registry_gateway.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/config_value/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/config_value/javascript_package_readme_config_value.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/const/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/const/tags.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/file/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/file/javascript_package_json_file.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/file/javascript_tsconfig_json_file.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/javascript_addon_manager.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/py.typed +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/resources/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/resources/package_publish.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/node/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/node/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/node/service.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/install.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/ready.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/services/vite/service.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py +0 -0
- {wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py +0 -0
{wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-javascript
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.12.0
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -11,10 +11,10 @@ Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
|
-
Requires-Dist: wexample-api>=6.
|
|
15
|
-
Requires-Dist: wexample-filestate-javascript>=6.
|
|
16
|
-
Requires-Dist: wexample-wex-addon-ai>=
|
|
17
|
-
Requires-Dist: wexample-wex-addon-app>=
|
|
14
|
+
Requires-Dist: wexample-api>=6.3.0
|
|
15
|
+
Requires-Dist: wexample-filestate-javascript>=6.4.0
|
|
16
|
+
Requires-Dist: wexample-wex-addon-ai>=9.0.0
|
|
17
|
+
Requires-Dist: wexample-wex-addon-app>=24.0.0
|
|
18
18
|
Provides-Extra: dev
|
|
19
19
|
Requires-Dist: pytest; extra == "dev"
|
|
20
20
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
|
|
23
23
|
# wex_addon_dev_javascript
|
|
24
24
|
|
|
25
|
-
Version: 7.
|
|
25
|
+
Version: 7.12.0
|
|
26
26
|
|
|
27
27
|
Python dev addon for wex
|
|
28
28
|
|
|
@@ -104,10 +104,10 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
104
104
|
|
|
105
105
|
- attrs: >=23.1.0
|
|
106
106
|
- cattrs: >=23.1.0
|
|
107
|
-
- wexample-api: >=6.
|
|
108
|
-
- wexample-filestate-javascript: >=6.
|
|
109
|
-
- wexample-wex-addon-ai: >=
|
|
110
|
-
- wexample-wex-addon-app: >=
|
|
107
|
+
- wexample-api: >=6.3.0
|
|
108
|
+
- wexample-filestate-javascript: >=6.4.0
|
|
109
|
+
- wexample-wex-addon-ai: >=9.0.0
|
|
110
|
+
- wexample-wex-addon-app: >=24.0.0
|
|
111
111
|
|
|
112
112
|
## Versioning & Compatibility Policy
|
|
113
113
|
|
{wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/README.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# wex_addon_dev_javascript
|
|
2
2
|
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.12.0
|
|
4
4
|
|
|
5
5
|
Python dev addon for wex
|
|
6
6
|
|
|
@@ -82,10 +82,10 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
82
82
|
|
|
83
83
|
- attrs: >=23.1.0
|
|
84
84
|
- cattrs: >=23.1.0
|
|
85
|
-
- wexample-api: >=6.
|
|
86
|
-
- wexample-filestate-javascript: >=6.
|
|
87
|
-
- wexample-wex-addon-ai: >=
|
|
88
|
-
- wexample-wex-addon-app: >=
|
|
85
|
+
- wexample-api: >=6.3.0
|
|
86
|
+
- wexample-filestate-javascript: >=6.4.0
|
|
87
|
+
- wexample-wex-addon-ai: >=9.0.0
|
|
88
|
+
- wexample-wex-addon-app: >=24.0.0
|
|
89
89
|
|
|
90
90
|
## Versioning & Compatibility Policy
|
|
91
91
|
|
{wexample_wex_addon_dev_javascript-7.11.0 → wexample_wex_addon_dev_javascript-7.12.0}/pyproject.toml
RENAMED
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-wex-addon-dev-javascript"
|
|
9
|
-
version = "7.
|
|
9
|
+
version = "7.12.0"
|
|
10
10
|
description = "Python dev addon for wex"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -20,10 +20,10 @@ classifiers = [
|
|
|
20
20
|
dependencies = [
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
|
-
"wexample-api>=6.
|
|
24
|
-
"wexample-filestate-javascript>=6.
|
|
25
|
-
"wexample-wex-addon-ai>=
|
|
26
|
-
"wexample-wex-addon-app>=
|
|
23
|
+
"wexample-api>=6.3.0",
|
|
24
|
+
"wexample-filestate-javascript>=6.4.0",
|
|
25
|
+
"wexample-wex-addon-ai>=9.0.0",
|
|
26
|
+
"wexample-wex-addon-app>=24.0.0",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.readme]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
You are the Vite dev server assistant for this app.
|
|
2
|
+
|
|
3
|
+
## What Vite is here
|
|
4
|
+
|
|
5
|
+
Vite runs as a containerized dev server (Docker, container name `<project>_vite`) bound
|
|
6
|
+
to port `${VITE_PORT}` (default `8080`). It serves the app's frontend in dev mode with
|
|
7
|
+
hot reload. In this setup it sits behind a reverse proxy, so `vite.config.ts` must have
|
|
8
|
+
`server.allowedHosts: true` — the `@vite::service/install` command patches that in idempotently.
|
|
9
|
+
|
|
10
|
+
## What you should do
|
|
11
|
+
|
|
12
|
+
- Default to the vite service commands (`@vite::service/...`) over raw `npm` / `bun` /
|
|
13
|
+
`docker` calls. They encode the conventions of this stack (container name resolution,
|
|
14
|
+
port from `VITE_PORT`, allowedHosts patch).
|
|
15
|
+
- Before suggesting a restart or container rebuild, check readiness with
|
|
16
|
+
`@vite::service/ready` — it returns a boolean, no need to grep logs.
|
|
17
|
+
- If `vite.config.ts` looks unusual (custom plugins, defineConfig wrapped in functions),
|
|
18
|
+
read it before suggesting a patch — `@vite::service/install` only handles the common
|
|
19
|
+
`defineConfig()` and `defineConfig({ ... })` shapes.
|
|
20
|
+
|
|
21
|
+
## What you should NOT do
|
|
22
|
+
|
|
23
|
+
- Don't run `npm install` / `bun install` directly in the host; everything runs in the
|
|
24
|
+
vite container. If deps are missing, the fix is at the container level (`docker exec`
|
|
25
|
+
or a rebuild), not on the host.
|
|
26
|
+
- Don't touch `vite.config.ts` to "fix" allowedHosts manually — call the install command
|
|
27
|
+
so the patch stays consistent across apps.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description: Vite dev server assistant — install, start, stop, and troubleshoot the containerized Vite dev server (allowedHosts patching, port conflicts, readiness checks).
|
|
2
|
+
tracking:
|
|
3
|
+
labels:
|
|
4
|
+
- status:queued
|
|
5
|
+
- status:in-progress
|
|
6
|
+
tools:
|
|
7
|
+
tags:
|
|
8
|
+
- service:vite
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_wex_addon_ai.service.agent_contributing_service_mixin import (
|
|
4
|
+
AgentContributingServiceMixin,
|
|
5
|
+
)
|
|
6
|
+
from wexample_wex_addon_app.service.app_service import AppService as BaseAppService
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AppService(BaseAppService, AgentContributingServiceMixin):
|
|
10
|
+
"""Vite AppService — composes the base service surface with the agent-contribution mixin.
|
|
11
|
+
|
|
12
|
+
Picked up by `AppAddonManager.get_app_service('vite', ...)` because this file is named
|
|
13
|
+
`app_service.py` next to `service.yml`. The mixin makes the agents declared under
|
|
14
|
+
`ai/agents/<name>/agent.yml` discoverable by `wex talk` / `/sessions`.
|
|
15
|
+
"""
|
|
File without changes
|
|
File without changes
|
wexample_wex_addon_dev_javascript-7.12.0/src/wexample_wex_addon_dev_javascript/workdir/__init__.py
ADDED
|
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
|