exp-runtime-creator 0.6.0__tar.gz → 0.6.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.
Files changed (35) hide show
  1. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/PKG-INFO +11 -11
  2. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/README.md +3 -3
  3. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/pyproject.toml +4 -4
  4. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/playtest.py +11 -1
  5. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/LICENSE +0 -0
  6. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/MANIFEST.in +0 -0
  7. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/setup.cfg +0 -0
  8. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/__init__.py +0 -0
  9. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/__main__.py +0 -0
  10. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/assets.py +0 -0
  11. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/catalog.py +0 -0
  12. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/compiler.py +0 -0
  13. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/debugger.py +0 -0
  14. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/diagnostics.py +0 -0
  15. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/editing.py +0 -0
  16. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/expressions.py +0 -0
  17. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/features.py +0 -0
  18. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/graph.py +0 -0
  19. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/kiwi-hammer.svg +0 -0
  20. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/live.py +0 -0
  21. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/mcp_results.py +0 -0
  22. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/mcp_server.py +0 -0
  23. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/mcp_types.py +0 -0
  24. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/media.py +0 -0
  25. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/minigames.py +0 -0
  26. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/model.py +0 -0
  27. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/native.py +0 -0
  28. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/operations.py +0 -0
  29. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/panels.py +0 -0
  30. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/preview.py +0 -0
  31. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/schema.py +0 -0
  32. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/sharing.py +0 -0
  33. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/ui.py +0 -0
  34. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime/creator/workspace.py +0 -0
  35. {exp_runtime_creator-0.6.0 → exp_runtime_creator-0.6.1}/src/exp_runtime_creator.egg-info/SOURCES.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: exp-runtime-creator
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Visual desktop episode creator and native EXP compiler for EXP Runtime
5
5
  License: MIT License
6
6
 
@@ -27,17 +27,17 @@ License: MIT License
27
27
  Requires-Python: >=3.10
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE
30
- Requires-Dist: exp-runtime-formats==0.6.0
30
+ Requires-Dist: exp-runtime-formats==0.6.1
31
31
  Provides-Extra: mcp
32
32
  Requires-Dist: mcp<2,>=1.28; extra == "mcp"
33
- Requires-Dist: exp-runtime-player[desktop]==0.6.0; extra == "mcp"
34
- Requires-Dist: exp-runtime-shs==0.6.0; extra == "mcp"
35
- Requires-Dist: exp-runtime-cod==0.6.0; extra == "mcp"
33
+ Requires-Dist: exp-runtime-player[desktop]==0.6.1; extra == "mcp"
34
+ Requires-Dist: exp-runtime-shs==0.6.1; extra == "mcp"
35
+ Requires-Dist: exp-runtime-cod==0.6.1; extra == "mcp"
36
36
  Provides-Extra: desktop
37
37
  Requires-Dist: PySide6-Essentials<7,>=6.10; extra == "desktop"
38
- Requires-Dist: exp-runtime-player[desktop]==0.6.0; extra == "desktop"
39
- Requires-Dist: exp-runtime-shs==0.6.0; extra == "desktop"
40
- Requires-Dist: exp-runtime-cod==0.6.0; extra == "desktop"
38
+ Requires-Dist: exp-runtime-player[desktop]==0.6.1; extra == "desktop"
39
+ Requires-Dist: exp-runtime-shs==0.6.1; extra == "desktop"
40
+ Requires-Dist: exp-runtime-cod==0.6.1; extra == "desktop"
41
41
  Dynamic: license-file
42
42
 
43
43
  # EXP Runtime Creator
@@ -51,11 +51,11 @@ Android, SHS iOS and CoD iOS; full original-app playback remains unverified.
51
51
  Install the desktop editor with pip, then launch it:
52
52
 
53
53
  ```sh
54
- python -m pip install 'exp-runtime-creator[desktop]>=0.6.0'
54
+ python -m pip install 'exp-runtime-creator[desktop]>=0.6.1'
55
55
  exp-creator
56
56
  ```
57
57
 
58
- Standalone Creator downloads are also included in the v0.6.0 GitHub release
58
+ Standalone Creator downloads are also included in the v0.6.1 GitHub release
59
59
  for Windows, Linux and macOS (Apple Silicon and Intel).
60
60
 
61
61
  The Python authoring API needs only `exp-runtime-formats`. The `desktop` extra
@@ -65,7 +65,7 @@ Preview uses an imported game library and temporary saves. The independent
65
65
  rendering/audio previews. It includes pygame but does not install Qt.
66
66
  Run `exp-creator-mcp --workspace /path/to/stories`.
67
67
 
68
- Install both extras with `python -m pip install 'exp-runtime-creator[desktop,mcp]>=0.6.0'`
68
+ Install both extras with `python -m pip install 'exp-runtime-creator[desktop,mcp]>=0.6.1'`
69
69
  to use the editor and MCP server together.
70
70
 
71
71
  Open a saved workspace project in the desktop creator to share live edits with
@@ -9,11 +9,11 @@ Android, SHS iOS and CoD iOS; full original-app playback remains unverified.
9
9
  Install the desktop editor with pip, then launch it:
10
10
 
11
11
  ```sh
12
- python -m pip install 'exp-runtime-creator[desktop]>=0.6.0'
12
+ python -m pip install 'exp-runtime-creator[desktop]>=0.6.1'
13
13
  exp-creator
14
14
  ```
15
15
 
16
- Standalone Creator downloads are also included in the v0.6.0 GitHub release
16
+ Standalone Creator downloads are also included in the v0.6.1 GitHub release
17
17
  for Windows, Linux and macOS (Apple Silicon and Intel).
18
18
 
19
19
  The Python authoring API needs only `exp-runtime-formats`. The `desktop` extra
@@ -23,7 +23,7 @@ Preview uses an imported game library and temporary saves. The independent
23
23
  rendering/audio previews. It includes pygame but does not install Qt.
24
24
  Run `exp-creator-mcp --workspace /path/to/stories`.
25
25
 
26
- Install both extras with `python -m pip install 'exp-runtime-creator[desktop,mcp]>=0.6.0'`
26
+ Install both extras with `python -m pip install 'exp-runtime-creator[desktop,mcp]>=0.6.1'`
27
27
  to use the editor and MCP server together.
28
28
 
29
29
  Open a saved workspace project in the desktop creator to share live edits with
@@ -4,16 +4,16 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "exp-runtime-creator"
7
- version = "0.6.0"
7
+ version = "0.6.1"
8
8
  description = "Visual desktop episode creator and native EXP compiler for EXP Runtime"
9
9
  readme = "README.md"
10
10
  license = {file = "LICENSE"}
11
11
  requires-python = ">=3.10"
12
- dependencies = ["exp-runtime-formats==0.6.0"]
12
+ dependencies = ["exp-runtime-formats==0.6.1"]
13
13
 
14
14
  [project.optional-dependencies]
15
- mcp = ["mcp>=1.28,<2", "exp-runtime-player[desktop]==0.6.0", "exp-runtime-shs==0.6.0", "exp-runtime-cod==0.6.0"]
16
- desktop = ["PySide6-Essentials>=6.10,<7", "exp-runtime-player[desktop]==0.6.0", "exp-runtime-shs==0.6.0", "exp-runtime-cod==0.6.0"]
15
+ mcp = ["mcp>=1.28,<2", "exp-runtime-player[desktop]==0.6.1", "exp-runtime-shs==0.6.1", "exp-runtime-cod==0.6.1"]
16
+ desktop = ["PySide6-Essentials>=6.10,<7", "exp-runtime-player[desktop]==0.6.1", "exp-runtime-shs==0.6.1", "exp-runtime-cod==0.6.1"]
17
17
 
18
18
  [project.scripts]
19
19
  exp-creator-mcp = "exp_runtime.creator.mcp_server:main"
@@ -123,7 +123,17 @@ class Playtest:
123
123
  raw = self.debugger.state()
124
124
  option = next((o for o in self.choices(raw) if o['id'] == option_id), None)
125
125
  if option is None or not option['enabled']: raise ProjectError('Choose an enabled option ID from the current state')
126
- return self.perform(lambda: self.debugger.resume(answer=option['visible_index'], provide_answer=True) and 'input')
126
+ def execute():
127
+ session = self.debugger.session
128
+ pending = session.pending
129
+ if not session.choice_ready:
130
+ self.debugger.resume(milliseconds=250 - session.engine.choice_ms)
131
+ # A very short timed choice can expire during its entrance. Never
132
+ # send the old option to the next panel or bypass the real clock.
133
+ if session.pending is pending:
134
+ self.debugger.resume(answer=option['visible_index'], provide_answer=True)
135
+ return 'input'
136
+ return self.perform(execute)
127
137
 
128
138
  def input(self, action, *, value=None, milliseconds=0, phase=None, cell=None):
129
139
  if action not in ('continue', 'answer_text', 'answer', 'tick', 'step', 'grid_pointer'):