Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e98b878a6 | ||
|
|
3007fa8ed2 | ||
|
|
1063591d2f | ||
|
|
6f6d13cbfa | ||
|
|
d5eb9ff080 | ||
|
|
5a386646b9 | ||
|
|
b4cb5815c6 | ||
|
|
22bbe66f7d | ||
|
|
8bef62f896 | ||
|
|
02eb8248d8 | ||
|
|
9bae15b7ce |
No files matched your search
@@ -1,5 +1,12 @@
|
||||
# Arcade changelog
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- Use Entity's reviewed account authorization and shared Apps controller.
|
||||
- Keep the full game collection within the host payload limit by packing opaque pictures without redundant alpha data; decoded pixels stay identical.
|
||||
- On Android, Continue as can use the account from another signed-in Waozi app, once you approve it there.
|
||||
- Arcade and its games open again in Breeze builds that read the previous app bundle format.
|
||||
|
||||
## 0.7.117
|
||||
|
||||
- Ask before connecting to the node for Arcade's signed app library and compressed previews, with an offline choice and a connection control.
|
||||
|
||||
@@ -54,6 +54,9 @@ run: all
|
||||
./build/arcade
|
||||
|
||||
test: all
|
||||
python3 tests/game_module_paths_test.py
|
||||
python3 tests/game_resource_packing_test.py
|
||||
python3 tests/game_translation_keys_test.py
|
||||
python3 tests/android_catalog_test.py
|
||||
python3 tests/android_jni_contract_test.py
|
||||
python3 tests/game_updates_test.py
|
||||
|
||||
@@ -1 +1 @@
|
||||
d9348aac9e83664a55510ec34acacf9e4bedb568ad47aa09474bb79121f98d02
|
||||
4bed077eacf6879f44fd581d59cfff20b15a813cfbe6c4eecd16535693b99329
|
||||
+8
-8
@@ -13,8 +13,8 @@
|
||||
"choano": {
|
||||
"id": "xyz.waozi.choano",
|
||||
"title": "Choano",
|
||||
"version": "0.1.3",
|
||||
"sequence": 2,
|
||||
"version": "0.1.8",
|
||||
"sequence": 3,
|
||||
"host_api": 41
|
||||
},
|
||||
"shovey": {
|
||||
@@ -34,22 +34,22 @@
|
||||
"arcade": {
|
||||
"id": "inbe.arcade",
|
||||
"title": "Arcade",
|
||||
"version": "0.7.117",
|
||||
"sequence": 196,
|
||||
"version": "0.7.118",
|
||||
"sequence": 197,
|
||||
"host_api": 41
|
||||
},
|
||||
"wurm": {
|
||||
"id": "xyz.waozi.wurm",
|
||||
"title": "Apfelwurm",
|
||||
"version": "0.2.27",
|
||||
"sequence": 22,
|
||||
"version": "0.2.28",
|
||||
"sequence": 23,
|
||||
"host_api": 41
|
||||
},
|
||||
"wurm-editor": {
|
||||
"id": "xyz.waozi.wurm-editor",
|
||||
"title": "Apfelwurm Editor",
|
||||
"version": "0.1.0",
|
||||
"sequence": 1,
|
||||
"version": "0.1.1",
|
||||
"sequence": 2,
|
||||
"host_api": 41
|
||||
}
|
||||
}
|
||||
|
||||
+10
-1
@@ -1,6 +1,15 @@
|
||||
# Arcade catalog changelog
|
||||
|
||||
## [Unreleased]
|
||||
## 0.7.118
|
||||
|
||||
- Apfelwurm 0.2.28: The editor title painting includes the Apfelwurm Editor logo in portrait and landscape.
|
||||
- Choano 0.1.8: Keep the Fish HUD clear of the misleading Avoid indicator and introduce the sea with a little fish guide and speech bubbles.
|
||||
- Choano 0.1.8: Wear a better-fitted ribbon or crown, with three optional Dew decorations: a pearl, a flower, and a wizard hat.
|
||||
- Choano 0.1.8: Choose decorations by tapping their Shop cards, with clear locks and Dew purchase confirmation.
|
||||
- Choano 0.1.8: Sign in through the shared Profile in native editions and restore Dew decorations with the same account.
|
||||
- Choano 0.1.8: Meet a slimmer shark whose fins flash red on contact.
|
||||
- Choano 0.1.8: Keep Shop and Settings navigation separate and preserve each icon’s original colors.
|
||||
- Choano 0.1.8: Fit Profile and Downloads beside the title icons on narrow screens.
|
||||
|
||||
## 0.7.117
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.7.117
|
||||
0.7.118
|
||||
@@ -103,3 +103,6 @@ tasks.register('prepareEntity', Exec) {
|
||||
commandLine 'python3', 'scripts/build-entity.py'
|
||||
}
|
||||
tasks.named('preBuild').configure { dependsOn 'prepareEntity' }
|
||||
|
||||
// "Continue as @name" between waozi apps, in every edition.
|
||||
apply from: new File(kryonDir, 'templates/android-account-handoff.gradle')
|
||||
@@ -95,7 +95,7 @@ if(NOT MONOCYPHER_DIR)
|
||||
endif()
|
||||
set(OQS_BUILD_ONLY_LIB ON CACHE BOOL "" FORCE)
|
||||
set(OQS_USE_OPENSSL OFF CACHE BOOL "" FORCE)
|
||||
set(OQS_MINIMAL_BUILD "SIG_ml_dsa_44" CACHE STRING "" FORCE)
|
||||
set(OQS_MINIMAL_BUILD "SIG_ml_dsa_44;KEM_ml_kem_768" CACHE STRING "" FORCE)
|
||||
set(OQS_DIST_BUILD OFF CACHE BOOL "" FORCE)
|
||||
set(OQS_OPT_TARGET generic CACHE STRING "" FORCE)
|
||||
foreach(feature ADX AES AVX AVX2 AVX512 AVX512BW AVX512DQ AVX512F BMI1 BMI2 FMA PCLMULQDQ POPCNT SSE SSE2 SSE3 VPCLMULQDQ)
|
||||
|
||||
@@ -45,7 +45,8 @@ def bundle_assets(payload, limit):
|
||||
return struct.unpack('<I', take(4))[0]
|
||||
def text():
|
||||
return take(number())
|
||||
assert take(8) == b'ZX\0\0\x1b\0\0\0', 'Unsupported catalog bundle'
|
||||
# ZX 26 and 27 share this layout; 27 only marks composed library modules.
|
||||
assert take(8) in (b'ZX\0\0\x1a\0\0\0', b'ZX\0\0\x1b\0\0\0'), 'Unsupported catalog bundle'
|
||||
text(); text()
|
||||
for _ in range(number()):
|
||||
text(); text()
|
||||
|
||||
+71
-22
@@ -10,6 +10,7 @@ import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import tarfile
|
||||
import tempfile
|
||||
from game_packages import declared_packages
|
||||
from node_config import node_source
|
||||
|
||||
@@ -18,6 +19,41 @@ MAX_PAYLOAD_BYTES = 64 * 1024 * 1024
|
||||
MAX_GAMES = 16
|
||||
|
||||
|
||||
def payload_limit(size, label):
|
||||
if size > MAX_PAYLOAD_BYTES:
|
||||
raise ValueError(f"{label} exceeds the host's payload limit")
|
||||
|
||||
|
||||
def catalog_bytes(catalog):
|
||||
return (json.dumps(catalog, indent=2) + "\n").encode()
|
||||
|
||||
|
||||
def child_paths(child):
|
||||
return [child["bundle"], child["preview"], *(
|
||||
value for key, value in child.get("cover", {}).items()
|
||||
if key in ("portrait", "landscape", "logo"))]
|
||||
|
||||
|
||||
def package_catalog(package, children):
|
||||
return dict(schema=1, id=package["id"], title=package["title"],
|
||||
harness="assets/apps/apps.zx", children=children)
|
||||
|
||||
|
||||
def bundle(command, root, source, entry, assets, target, env):
|
||||
"""Check the complete ZX (including code/index overhead) before promotion."""
|
||||
work = root / "work"
|
||||
subprocess.run(["git", "check-ignore", "-q", "work/"], cwd=root, check=True)
|
||||
work.mkdir(exist_ok=True)
|
||||
with tempfile.TemporaryDirectory(prefix="collection-bundle-", dir=work) as directory:
|
||||
candidate = Path(directory) / target.name
|
||||
subprocess.run([*command, "--root", str(root / "src"), "--entry", entry,
|
||||
"--asset-dir", "assets=" + str(assets), "-o", str(candidate),
|
||||
str(root / "src" / source)], cwd=root, env=env, check=True)
|
||||
payload_limit(candidate.stat().st_size, target.name)
|
||||
target.parent.mkdir(parents=True, exist_ok=True)
|
||||
candidate.replace(target)
|
||||
|
||||
|
||||
def digest(path):
|
||||
return hashlib.sha256(path.read_bytes()).hexdigest()
|
||||
|
||||
@@ -52,18 +88,20 @@ def stage(root, controller, expected_controller_digest, output):
|
||||
catalog and each game package with the IDs of its packed apps."""
|
||||
if not re.fullmatch(r"[0-9a-f]{64}", expected_controller_digest):
|
||||
raise ValueError("An exact trusted Apps controller SHA-256 is required")
|
||||
payload_limit(controller.stat().st_size, "Apps controller")
|
||||
controller_bytes = controller.read_bytes()
|
||||
controller_digest = hashlib.sha256(controller_bytes).hexdigest()
|
||||
if controller_digest != expected_controller_digest:
|
||||
raise ValueError(f"Apps controller differs from the trusted SHA-256: {controller_digest} != {expected_controller_digest}")
|
||||
packages = declared_packages(root)
|
||||
payload_limit(len(controller_bytes), "Apps controller")
|
||||
lock_flags = () if (root / "ziran.local.toml").is_file() else ("--locked",)
|
||||
packages = declared_packages(root, lock_flags=lock_flags)
|
||||
arcade = packages[0]
|
||||
if not 1 <= sum(len(package["apps"]) for package in packages) <= MAX_GAMES:
|
||||
raise ValueError("Arcade needs 1 to 16 games")
|
||||
ledger = json.loads((root / "apps/versions.json").read_text())["node_apps"]
|
||||
children, copies, identities = [], [], set()
|
||||
collection_ids = {package["id"] for package in packages}
|
||||
total = len(controller_bytes)
|
||||
for package in packages:
|
||||
package["children"] = []
|
||||
for app in package["apps"]:
|
||||
@@ -88,12 +126,13 @@ def stage(root, controller, expected_controller_digest, output):
|
||||
preview = root / "build/games" / (name + "-preview.png")
|
||||
# The game build embeds this exact legacy descriptor. Its verified
|
||||
# name binds node/2's legacy handshake to the stable signed app ID.
|
||||
payload_limit(bundle.stat().st_size, f"Game {name}")
|
||||
bundle_bytes, preview_bytes = bundle.read_bytes(), preview.read_bytes()
|
||||
if not bundle_bytes or not preview_bytes:
|
||||
raise ValueError("Game bundles and previews must be built first")
|
||||
payload_limit(len(bundle_bytes), f"Game {name}")
|
||||
preview_bytes, preview_suffix = library_art(root, name, "preview",
|
||||
(app["art_source"] / game["preview"]).read_bytes())
|
||||
total += len(bundle_bytes) + len(preview_bytes)
|
||||
child = dict(
|
||||
id=identifier, title=game["title"],
|
||||
bundle=f"assets/arcade/games/{name}.zx", protocol="node/2",
|
||||
@@ -128,16 +167,31 @@ def stage(root, controller, expected_controller_digest, output):
|
||||
destination = Path("arcade/covers") / f"{name}-{key}{suffix}"
|
||||
packed_cover[key] = "assets/" + destination.as_posix()
|
||||
copies.append((contents, destination))
|
||||
total += len(contents)
|
||||
child["cover"] = packed_cover
|
||||
children.append(child)
|
||||
package["children"].append(identifier)
|
||||
copies += [(bundle_bytes, Path("arcade/games") / (name + ".zx")),
|
||||
(preview_bytes, Path("arcade/previews") / (name + preview_suffix))]
|
||||
if total > MAX_PAYLOAD_BYTES:
|
||||
raise ValueError("Arcade collection exceeds the host's payload limit")
|
||||
catalog = dict(schema=1, id=arcade["id"], title=arcade["title"],
|
||||
harness="assets/apps/apps.zx", presentation={"mode": "covers"}, children=children)
|
||||
sidebar = (root / "assets/arcade/sidebar.shape").read_bytes()
|
||||
# The stage is a source for several independently loaded roots, not one
|
||||
# root containing the whole library. Bound their input bytes separately;
|
||||
# bundle() also checks the final compiled sizes, including ZX overhead.
|
||||
payloads = {"assets/" + path.as_posix(): data for data, path in copies}
|
||||
art_paths = {path for child in children for path in child_paths(child)[1:]}
|
||||
payload_limit(sum(len(payloads[path]) for path in art_paths), "Library art")
|
||||
payload_limit(len(catalog_bytes(catalog)) + len(sidebar), "Arcade catalog")
|
||||
for package in packages[1:]:
|
||||
if not (root / "src" / f"{package['name']}_collection.zi").is_file():
|
||||
continue
|
||||
leaves = [child for child in children if child["id"] in package["children"]]
|
||||
if not leaves:
|
||||
raise ValueError(f"{package['name']} declares no enabled apps")
|
||||
paths = {path for child in leaves for path in child_paths(child)}
|
||||
size = (len(controller_bytes) + len(catalog_bytes(package_catalog(package, leaves)))
|
||||
+ sum(len(payloads[path]) for path in paths))
|
||||
payload_limit(size, f"Standalone {package['name']}")
|
||||
# This stable directory contains disposable build output only. Clear it
|
||||
# after all inputs validate so removed registrations cannot linger.
|
||||
if output.exists():
|
||||
@@ -145,14 +199,14 @@ def stage(root, controller, expected_controller_digest, output):
|
||||
assets = output / "assets"
|
||||
(assets / "apps").mkdir(parents=True)
|
||||
(assets / "apps/apps.zx").write_bytes(controller_bytes)
|
||||
(assets / "apps/catalog.json").write_text(json.dumps(catalog, indent=2) + "\n")
|
||||
(assets / "apps/catalog.json").write_bytes(catalog_bytes(catalog))
|
||||
for contents, relative in copies:
|
||||
destination = assets / relative
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
destination.write_bytes(contents)
|
||||
# Inbe draws Arcade's launcher icon from assets/arcade/sidebar.shape.
|
||||
(assets / "arcade").mkdir(exist_ok=True)
|
||||
(assets / "arcade/sidebar.shape").write_bytes((root / "assets/arcade/sidebar.shape").read_bytes())
|
||||
(assets / "arcade/sidebar.shape").write_bytes(sidebar)
|
||||
return catalog, packages[1:]
|
||||
|
||||
|
||||
@@ -170,6 +224,7 @@ def stage_downloads(catalog, source, output, games, art):
|
||||
data = (source / child["bundle"]).read_bytes()
|
||||
if hashlib.sha256(data).hexdigest() != child["sha256"]:
|
||||
raise ValueError("Game differs from the collection's declared digest")
|
||||
payload_limit(len(data), f"Game {child['id']}")
|
||||
payloads[child["sha256"]] = data
|
||||
for directory in (output, games, art):
|
||||
if directory.exists():
|
||||
@@ -194,6 +249,7 @@ def stage_downloads(catalog, source, output, games, art):
|
||||
def add_art(output, games, art_bundle):
|
||||
"""Publish the art bundle beside the games and name it in the catalog."""
|
||||
data = art_bundle.read_bytes()
|
||||
payload_limit(len(data), "Library art bundle")
|
||||
digest = hashlib.sha256(data).hexdigest()
|
||||
(games / (digest + ".zx")).write_bytes(data)
|
||||
path = output / "assets/apps/catalog.json"
|
||||
@@ -226,10 +282,6 @@ def main():
|
||||
catalog, packages = stage(ROOT, args.apps_bundle, args.apps_sha256, output)
|
||||
command = [args.ziran, "bundle", "--project", *(["--locked"] if args.locked else [])]
|
||||
env = os.environ.copy()
|
||||
def bundle(source, entry, assets, target):
|
||||
subprocess.run([*command, "--root", str(ROOT / "src"), "--entry", entry,
|
||||
"--asset-dir", "assets=" + str(assets), "-o", str(target),
|
||||
str(ROOT / "src" / source)], cwd=ROOT, env=env, check=True)
|
||||
|
||||
# A game package with a standalone player (src/NAME_collection.zi) also
|
||||
# gets its own collection of exactly the leaves Arcade packs, with their
|
||||
@@ -247,18 +299,15 @@ def main():
|
||||
assets = standalone / "assets"
|
||||
(assets / "apps").mkdir(parents=True)
|
||||
shutil.copyfile(output / "assets/apps/apps.zx", assets / "apps/apps.zx")
|
||||
standalone_catalog = dict(schema=1, id=package["id"], title=package["title"],
|
||||
harness="assets/apps/apps.zx", children=children)
|
||||
(assets / "apps/catalog.json").write_text(json.dumps(standalone_catalog, indent=2) + "\n")
|
||||
standalone_catalog = package_catalog(package, children)
|
||||
(assets / "apps/catalog.json").write_bytes(catalog_bytes(standalone_catalog))
|
||||
for child in children:
|
||||
resources = [child[field] for field in ("bundle", "preview")]
|
||||
resources += [value for field, value in child.get("cover", {}).items()
|
||||
if field in ("portrait", "landscape", "logo")]
|
||||
for relative in resources:
|
||||
for relative in child_paths(child):
|
||||
destination = standalone / relative
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copyfile(output / relative, destination)
|
||||
bundle(f"{name}_collection.zi", f"{name}_collection:Main", assets, ROOT / f"build/{name}.zx")
|
||||
bundle(command, ROOT, f"{name}_collection.zi", f"{name}_collection:Main",
|
||||
assets, ROOT / f"build/{name}.zx", env)
|
||||
metadata = dict(id=package["id"], version=children[0]["version"],
|
||||
sha256=digest(ROOT / f"build/{name}.zx"), apps_sha256=args.apps_sha256,
|
||||
children=children, source_mode="project")
|
||||
@@ -271,10 +320,10 @@ def main():
|
||||
game_downloads = node_apps / "arcade.games"
|
||||
art_assets = node_apps / "arcade-art"
|
||||
stage_downloads(catalog, output, catalog_assets, game_downloads, art_assets)
|
||||
bundle("art.zi", "art:Main", art_assets / "assets", node_apps / "arcade-art.zx")
|
||||
bundle(command, ROOT, "art.zi", "art:Main", art_assets / "assets", node_apps / "arcade-art.zx", env)
|
||||
art = add_art(catalog_assets, game_downloads, node_apps / "arcade-art.zx")
|
||||
archive_downloads(game_downloads, node_apps / "arcade.games.tar")
|
||||
bundle("collection.zi", "collection:Main", catalog_assets / "assets", node_apps / "arcade.zx")
|
||||
bundle(command, ROOT, "collection.zi", "collection:Main", catalog_assets / "assets", node_apps / "arcade.zx", env)
|
||||
shutil.copyfile(node_apps / "arcade.zx", ROOT / "build/arcade.zx")
|
||||
# The desktop host supplies its controller from beside the collection.
|
||||
shutil.copyfile(args.apps_bundle, ROOT / "build/apps.zx")
|
||||
|
||||
@@ -54,7 +54,7 @@ def main():
|
||||
subprocess.run(['cmake', '-S', str(oqs_source), '-B', str(oqs),
|
||||
'-DCMAKE_BUILD_TYPE=MinSizeRel', '-DBUILD_SHARED_LIBS=OFF',
|
||||
'-DOQS_BUILD_ONLY_LIB=ON', '-DOQS_USE_OPENSSL=OFF', '-DOQS_DIST_BUILD=OFF',
|
||||
'-DOQS_OPT_TARGET=generic', '-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44'], check=True)
|
||||
'-DOQS_OPT_TARGET=generic', '-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44;KEM_ml_kem_768'], check=True)
|
||||
subprocess.run(['cmake', '--build', str(oqs), '--target', 'oqs', '-j2'], check=True)
|
||||
temporary = output.with_suffix('.new')
|
||||
output.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
@@ -7,7 +7,8 @@ import shutil
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
from game_packages import declared_apps
|
||||
from game_resources import dependency_order, share_resources
|
||||
from game_module_paths import kryon_module_paths
|
||||
from game_resources import dependency_order, pack_opaque_pngs, share_resources
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
@@ -46,6 +47,8 @@ def build(ziran, lock_flags):
|
||||
# Resolve transitive packages from Arcade's lock, never their private graphs.
|
||||
daochi_client = package("daochi_client")
|
||||
crypto = package("crypto")
|
||||
# Shared KSS themes (Choano 0.1.5 and later import kss/Kss).
|
||||
kss = package("kss")
|
||||
entries = []
|
||||
apps = dependency_order(declared_apps(ROOT, ziran, lock_flags))
|
||||
by_id = {app['descriptor']['id']: app for app in apps}
|
||||
@@ -110,6 +113,7 @@ def build(ziran, lock_flags):
|
||||
subprocess.run([str(tool / prepare.stem), str(resources), str(generated)], cwd=source, check=True)
|
||||
else:
|
||||
subprocess.run(['python3', str(source / prepare), str(resources), str(generated)], check=True)
|
||||
pack_opaque_pngs(resources)
|
||||
shared = share_resources(app, apps, resources, ROOT / 'build/game-assets')
|
||||
metadata = ROOT / 'build/games' / (name + '-resources.json')
|
||||
metadata.parent.mkdir(parents=True, exist_ok=True)
|
||||
@@ -138,9 +142,7 @@ def build(ziran, lock_flags):
|
||||
# Game packages without a src folder (Shovey) keep sources beside their catalogs.
|
||||
*(["--module-path", str(source / "src")] if (source / "src").is_dir() else []),
|
||||
"--module-path", str(generated),
|
||||
"--module-path", str(kryon / "src/ui"),
|
||||
"--module-path", "kryon=" + str(kryon / "src/ui"),
|
||||
"--module-path", "kryon=" + str(kryon / "src/backend"),
|
||||
*kryon_module_paths(source, descriptor, kryon),
|
||||
"--module-path", "game2d=" + str(game2d / "src"),
|
||||
"--module-path", "std=" + str(toolchain / "std"),
|
||||
"--module-path", str(toolchain / "std"),
|
||||
@@ -149,6 +151,7 @@ def build(ziran, lock_flags):
|
||||
"--module-path", "entity=" + str(entity / "src"),
|
||||
"--module-path", "daochi_client=" + str(daochi_client),
|
||||
"--module-path", "crypto=" + str(crypto / "src"),
|
||||
"--module-path", "kss=" + str(kss / "src"),
|
||||
*[flag for name in defines for flag in ('--define', name)],
|
||||
*[flag for entry in app['library_entries'] for flag in ('--retain', entry)],
|
||||
*[flag for dependency_id in app['requires'] if app['shared_code']
|
||||
|
||||
@@ -119,7 +119,7 @@ def main():
|
||||
oqs = BUILD / 'oqs/lib/liboqs.a'
|
||||
if not built(oqs, oqs_source):
|
||||
cmake(oqs_source, BUILD / 'oqs', tools, '-DCMAKE_BUILD_TYPE=MinSizeRel', '-DOQS_BUILD_ONLY_LIB=ON',
|
||||
'-DOQS_USE_OPENSSL=OFF', '-DOQS_DIST_BUILD=OFF', '-DOQS_OPT_TARGET=generic', '-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44')
|
||||
'-DOQS_USE_OPENSSL=OFF', '-DOQS_DIST_BUILD=OFF', '-DOQS_OPT_TARGET=generic', '-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44;KEM_ml_kem_768')
|
||||
subprocess.run(['cmake', '--build', str(BUILD / 'oqs'), '--target', 'oqs', '-j4'], check=True)
|
||||
record(oqs, oqs_source)
|
||||
|
||||
|
||||
+10
-3
@@ -9,6 +9,15 @@ from game_packages import declared_apps
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
def translation_keys(code, prefix):
|
||||
# Package imports and integer fields read from server JSON are not labels.
|
||||
# Strip only those argument occurrences: the same key used by the UI must
|
||||
# still have a translation.
|
||||
code = re.sub(r'^\s*#import\s+"[^"\n]*"', '', code, flags=re.M)
|
||||
code = re.sub(r'\bShopInteger\s*\(\s*[^,\n]+,\s*"[^"\n]*"', '', code)
|
||||
return set(re.findall(r'"(' + re.escape(prefix) + r'[a-z0-9_]+)"', code))
|
||||
|
||||
|
||||
def check(ziran, lock_flags):
|
||||
standard = json.loads((ROOT / 'standards/game-v1.json').read_text())
|
||||
ledger = json.loads((ROOT / 'apps/versions.json').read_text())
|
||||
@@ -33,9 +42,7 @@ def check(ziran, lock_flags):
|
||||
assert component['sequence'] > 0
|
||||
required = set()
|
||||
for file in manifest.parent.glob('*.zi'):
|
||||
# Module names in #import lines share the prefix but are not text keys.
|
||||
code = re.sub(r'^\s*#import\s+"[^"\n]*"', '', file.read_text(), flags=re.M)
|
||||
required.update(re.findall(r'"(' + re.escape(game['locale_prefix']) + r'[a-z0-9_]+)"', code))
|
||||
required.update(translation_keys(file.read_text(), game['locale_prefix']))
|
||||
locales = {}
|
||||
for file in (source / game['locales']).glob('*.txt'):
|
||||
text = file.read_text()
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
"""Select Kryon namespaces from a game's own source imports."""
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
_TOKENS = re.compile(r'//[^\n]*|/\*.*?\*/|"(?:\\.|[^"\\])*"|#import\b|\S', re.DOTALL)
|
||||
|
||||
|
||||
def _imports(text):
|
||||
previous = None
|
||||
for match in _TOKENS.finditer(text):
|
||||
token = match.group()
|
||||
if token.startswith(('//', '/*')):
|
||||
continue
|
||||
if previous == '#import' and token.startswith('"'):
|
||||
yield token[1:-1]
|
||||
previous = token
|
||||
|
||||
|
||||
def _module_names(root):
|
||||
return ({path.stem for path in root.glob('*.zi')} |
|
||||
{path.parent.name for path in root.glob('*/module.zi')})
|
||||
|
||||
|
||||
def kryon_module_paths(source: Path, descriptor: dict, kryon: Path) -> list[str]:
|
||||
"""Keep qualified UI imports scoped unless game code needs short imports.
|
||||
|
||||
Registering the UI directory both plain and named makes Ziran load Kryon
|
||||
into the application's flat namespace. Only direct imports of UI modules
|
||||
the application does not own justify that legacy mode.
|
||||
"""
|
||||
ui = kryon / 'src/ui'
|
||||
roots = {source / 'src' if (source / 'src').is_dir() else source,
|
||||
(source / descriptor['source']).parent}
|
||||
owned = set().union(*(_module_names(root) for root in roots))
|
||||
shared = _module_names(ui) - owned
|
||||
needs_plain = any(name in shared for root in roots for path in root.rglob('*.zi')
|
||||
for name in _imports(path.read_text()))
|
||||
paths = [str(ui)] if needs_plain else []
|
||||
paths += ['kryon=' + str(ui), 'kryon=' + str(kryon / 'src/backend')]
|
||||
return [flag for path in paths for flag in ('--module-path', path)]
|
||||
@@ -1,5 +1,8 @@
|
||||
"""Pack additions once; signed collection links bind shared game resources."""
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
from PIL import Image
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
|
||||
@@ -83,3 +86,33 @@ def share_resources(app, apps, resources, staged):
|
||||
if len(links) > 16:
|
||||
raise ValueError('Too many shared resource links')
|
||||
return dict(dependencies=requirements, resources=links)
|
||||
|
||||
|
||||
def pack_opaque_pngs(resources):
|
||||
"""Drop redundant alpha bytes without changing any decoded pixel.
|
||||
|
||||
Prepared copies receive the same encoding before dependency comparison.
|
||||
Metadata-bearing images stay untouched so their color interpretation is
|
||||
preserved; transparent images keep their alpha channel.
|
||||
"""
|
||||
changed = set()
|
||||
for path in resources.rglob('*.png'):
|
||||
with Image.open(path) as image:
|
||||
if image.mode != 'RGBA' or image.info or image.getextrema()[3] != (255, 255):
|
||||
continue
|
||||
packed = io.BytesIO()
|
||||
image.convert('RGB').save(packed, format='PNG', optimize=True)
|
||||
if packed.tell() < path.stat().st_size:
|
||||
path.write_bytes(packed.getbuffer())
|
||||
changed.add(path)
|
||||
# Art inventories describe the staged bytes, including lossless encoding.
|
||||
for manifest in resources.rglob('art.json'):
|
||||
inventory = json.loads(manifest.read_text())
|
||||
updated = False
|
||||
for item in inventory.get('files', []):
|
||||
asset = manifest.parent / item['path']
|
||||
if asset in changed and 'sha256' in item:
|
||||
item['sha256'] = hashlib.sha256(asset.read_bytes()).hexdigest()
|
||||
updated = True
|
||||
if updated:
|
||||
manifest.write_text(json.dumps(inventory, indent=2) + '\n')
|
||||
@@ -1,5 +1,6 @@
|
||||
#import "android_device"
|
||||
#import "android_jni"
|
||||
Handoff :: #import "entity/account_handoff";
|
||||
#import "android_picker"
|
||||
#import "c_string"
|
||||
|
||||
@@ -23,6 +24,7 @@ JNI_OnLoad :: (vm: *JniVm, reserved: *void) -> s32 {
|
||||
unused reserved
|
||||
version := AndroidJniOnLoad(vm, "xyz/waozi/arcade/ArcadeActivity")
|
||||
if version != JniVersion { return version }
|
||||
Handoff.AccountHandoffJniOnLoad(vm)
|
||||
env: *JniEnv
|
||||
if vm.functions.GetEnv(vm, *env, JniVersion) != 0 || env == null { return -1 }
|
||||
class_name: [64]u8
|
||||
|
||||
+13
-13
@@ -1041,11 +1041,11 @@ CollectionNodeScreen :: (session: Session, viewport: Rectangle) -> bool {
|
||||
if collection_node_initial && collection_node.stage != 0 {
|
||||
Box(session, BoxProps.{.key = cast(u64)49510, .bounds = viewport, .fill = Color.{17, 18, 35, 255}})
|
||||
Text(session, TextProps.{.key = cast(u64)49511, .text = Labels.AppsLabel(TextUntilNul(collection_node_locale[:]), "loading_library"),
|
||||
.font = 20, .bounds = Rectangle.{viewport.x + 24.0, viewport.y + viewport.height / 2.0, viewport.width - 48.0, 64.0}})
|
||||
.font = 20, .bounds = Rectangle.{viewport.x + 24.0, viewport.y + viewport.height / 2.0, viewport.width - 48.0, 64.0}})
|
||||
if Button(session, ButtonProps.{.key = cast(u64)49512, .id = 49512,
|
||||
.label = Labels.AppsLabel(TextUntilNul(collection_node_locale[:]), "stay_offline"),
|
||||
.bounds = Rectangle.{viewport.x + 24.0, viewport.y + viewport.height / 2.0 + 72.0, viewport.width - 48.0, 44.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
.label = Labels.AppsLabel(TextUntilNul(collection_node_locale[:]), "stay_offline"),
|
||||
.bounds = Rectangle.{viewport.x + 24.0, viewport.y + viewport.height / 2.0 + 72.0, viewport.width - 48.0, 44.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
unused CollectionNodeChoose(APP_CONNECTION_OFFLINE)
|
||||
}
|
||||
return true
|
||||
@@ -1058,29 +1058,29 @@ CollectionNodeToolbar :: (session: Session, viewport: Rectangle) {
|
||||
unused WidgetPaletteUse(session, AppCoversPalette())
|
||||
defer { unused WidgetPaletteRestore(session) }
|
||||
Box(session, BoxProps.{.key = cast(u64)49519,
|
||||
.bounds = Rectangle.{viewport.x, viewport.y, viewport.width, 88.0},
|
||||
.fill = Color.{17, 18, 35, 255}})
|
||||
.bounds = Rectangle.{viewport.x, viewport.y, viewport.width, 88.0},
|
||||
.fill = Color.{17, 18, 35, 255}})
|
||||
locale := TextUntilNul(collection_node_locale[:])
|
||||
allowed := collection_node_choice == APP_CONNECTION_ALLOWED
|
||||
status := ifx !allowed then "offline_library" else ifx collection_node.stage != 0 then "loading_library" else ifx collection_node.failed then "library_unavailable" else "saved_library"
|
||||
width := ifx viewport.width - 180.0 < 320.0 then viewport.width - 180.0 else 320.0
|
||||
if Button(session, ButtonProps.{.key = cast(u64)49520, .id = 49520,
|
||||
.label = Labels.AppsLabel(locale, ifx allowed then "refresh_library" else "connect_node"),
|
||||
.bounds = Rectangle.{viewport.x + 8.0, viewport.y + 6.0, width, 44.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
.label = Labels.AppsLabel(locale, ifx allowed then "refresh_library" else "connect_node"),
|
||||
.bounds = Rectangle.{viewport.x + 8.0, viewport.y + 6.0, width, 44.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
if !allowed { collection_node_notice = true }
|
||||
else if collection_node.changed { collection_node_apply = true }
|
||||
else { collection_node_apply = true; unused AppRemoteCatalogRefresh(*collection_node) }
|
||||
}
|
||||
// A separate connection control keeps revocation available after consent.
|
||||
if Button(session, ButtonProps.{.key = cast(u64)49521, .id = 49521,
|
||||
.label = Labels.AppsLabel(locale, "node_connection"),
|
||||
.bounds = Rectangle.{viewport.x + viewport.width - 170.0, viewport.y + 52.0, 158.0, 28.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
.label = Labels.AppsLabel(locale, "node_connection"),
|
||||
.bounds = Rectangle.{viewport.x + viewport.width - 170.0, viewport.y + 52.0, 158.0, 28.0},
|
||||
.tone = ButtonTone.ButtonToneNeutral, .emphasis = ButtonEmphasis.ButtonEmphasisSoft}) != 0 {
|
||||
collection_node_notice = true
|
||||
}
|
||||
Text(session, TextProps.{.key = cast(u64)49522, .text = Labels.AppsLabel(locale, status), .font = 12, .wrap = TextWrap.TextWrapAuto,
|
||||
.bounds = Rectangle.{viewport.x + 16.0, viewport.y + 58.0, viewport.width - 196.0, 26.0}})
|
||||
.bounds = Rectangle.{viewport.x + 16.0, viewport.y + 58.0, viewport.width - 196.0, 26.0}})
|
||||
}
|
||||
|
||||
CollectionNodeClose :: () {
|
||||
|
||||
@@ -77,14 +77,18 @@ class AndroidCatalogTests(unittest.TestCase):
|
||||
return struct.pack('<I', n)
|
||||
def text(data):
|
||||
return number(len(data)) + data
|
||||
# Structurally valid ZX with a catalog and an extra embedded asset.
|
||||
for path in (b'assets/arcade/games/test.zx', b'assets/arcade/covers/test.png'):
|
||||
payload = b'ZX\0\0\x1b\0\0\0' + text(b'') * 2 + number(0) * 4
|
||||
# Structurally valid ZX with a catalog and an extra embedded asset,
|
||||
# in both bundle versions the toolchain writes (26 plain, 27 composed).
|
||||
cases = [(version, path) for version in (26, 27)
|
||||
for path in (b'assets/arcade/games/test.zx', b'assets/arcade/covers/test.png')]
|
||||
for version, path in cases:
|
||||
payload = b'ZX\0\0' + number(version) + text(b'') * 2 + number(0) * 4
|
||||
payload += number(2) + text(b'assets/apps/catalog.json') + text(b'{}')
|
||||
payload += text(path) + text(b'payload')
|
||||
metadata = json.loads(self.assets['arcade.json'])
|
||||
metadata['sha256'] = hashlib.sha256(payload).hexdigest()
|
||||
with self.subTest(path=path), self.assertRaisesRegex(AssertionError, 'Game payload or art'):
|
||||
with self.subTest(version=version, path=path), \
|
||||
self.assertRaisesRegex(AssertionError, 'Game payload or art'):
|
||||
verify_assets(self.assets | {'arcade.zx': payload, 'arcade.json': json.dumps(metadata).encode()})
|
||||
|
||||
def test_reject_game_art_nested_in_entity(self):
|
||||
|
||||
@@ -60,7 +60,7 @@ def main():
|
||||
"-DCMAKE_BUILD_TYPE=MinSizeRel", "-DBUILD_SHARED_LIBS=OFF",
|
||||
"-DOQS_BUILD_ONLY_LIB=ON", "-DOQS_USE_OPENSSL=OFF",
|
||||
"-DOQS_DIST_BUILD=OFF", "-DOQS_OPT_TARGET=generic",
|
||||
"-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44")
|
||||
"-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44;KEM_ml_kem_768")
|
||||
run("cmake", "--build", str(oqs), "--target", "oqs", "--", "-j1")
|
||||
libraries = subprocess.check_output(
|
||||
["pkg-config", "--libs", "sdl2", "cairo", "freetype2", "fontconfig",
|
||||
|
||||
+174
-7
@@ -3,11 +3,14 @@ import hashlib
|
||||
import importlib.util
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
import sys
|
||||
import tarfile
|
||||
from PIL import Image
|
||||
@@ -28,7 +31,7 @@ spec.loader.exec_module(published_games)
|
||||
def bundle_asset_paths(path):
|
||||
"""Read the actual bundle index without loading its images or executing it."""
|
||||
with published_games.Reader(path) as reader:
|
||||
if reader.take(8) != b"ZX\0\0\x1b\0\0\0":
|
||||
if reader.take(8) not in (b"ZX\0\0\x1a\0\0\0", b"ZX\0\0\x1b\0\0\0"):
|
||||
raise ValueError("Unsupported game bundle")
|
||||
reader.text()
|
||||
reader.text()
|
||||
@@ -66,9 +69,15 @@ class CollectionTests(unittest.TestCase):
|
||||
self.assertTrue(path in assets, "Choano runtime image missing from its bundle: " + path)
|
||||
|
||||
def setUp(self):
|
||||
self.directory = tempfile.TemporaryDirectory(prefix="collection-", dir=ROOT / "build")
|
||||
subprocess.run(["git", "check-ignore", "-q", "work/"], cwd=ROOT, check=True)
|
||||
(ROOT / "work").mkdir(exist_ok=True)
|
||||
self.directory = tempfile.TemporaryDirectory(prefix="collection-", dir=ROOT / "work")
|
||||
self.addCleanup(self.directory.cleanup)
|
||||
self.root = Path(self.directory.name)
|
||||
self.lock_flags = ("--locked",)
|
||||
if (ROOT / "ziran.local.toml").is_file():
|
||||
(self.root / "ziran.local.toml").touch()
|
||||
self.lock_flags = ()
|
||||
(self.root / "apps").mkdir()
|
||||
for name in ("games.json", "apps.json", "apps/versions.json"):
|
||||
shutil.copyfile(ROOT / name, self.root / name)
|
||||
@@ -86,6 +95,9 @@ class CollectionTests(unittest.TestCase):
|
||||
(self.root / "assets/arcade").mkdir(parents=True)
|
||||
shutil.copyfile(ROOT / "assets/arcade/sidebar.shape", self.root / "assets/arcade/sidebar.shape")
|
||||
shutil.copytree(ROOT / "assets/arcade/library", self.root / "assets/arcade/library")
|
||||
(self.root / "src").mkdir()
|
||||
for source in (ROOT / "src").glob("*_collection.zi"):
|
||||
shutil.copyfile(source, self.root / "src" / source.name)
|
||||
# Only a native VM identity gate can trust a controller. This fixture
|
||||
# tests packing and its exact-content requirement, not that handshake.
|
||||
self.controller = self.root / "controller.zx"
|
||||
@@ -96,8 +108,135 @@ class CollectionTests(unittest.TestCase):
|
||||
def stage(self):
|
||||
return builder.stage(self.root, self.controller, self.controller_digest, self.output)[0]
|
||||
|
||||
def staged_bytes(self):
|
||||
return {str(path.relative_to(self.output)): builder.digest(path)
|
||||
for path in self.output.rglob("*") if path.is_file()}
|
||||
|
||||
def small_payloads(self):
|
||||
# Real on-disk input sizes, bounded independently of production limits.
|
||||
for path in (self.root / "build/games").glob("*.zx"):
|
||||
path.write_bytes(b"game fixture".ljust(32 * 1024, b"\0"))
|
||||
for path in (self.root / "assets/arcade/library").iterdir():
|
||||
if path.suffix in (".png", ".jpg"):
|
||||
path.write_bytes(b"art fixture".ljust(128, b"\0"))
|
||||
|
||||
def test_separately_loaded_games_can_exceed_one_root_limit_together(self):
|
||||
# The registered games exceed 64 MiB together; each game and the
|
||||
# Shovey standalone pair still fit. Never alter the real build outputs.
|
||||
for path in (self.root / "build/games").glob("*.zx"):
|
||||
with path.open("r+b") as data:
|
||||
data.truncate(max(path.stat().st_size, 16 * 1024 * 1024))
|
||||
catalog = self.stage()
|
||||
self.assertGreater(sum(child["bytes"] for child in catalog["children"]), 64 * 1024 * 1024)
|
||||
small, games, art = (self.root / name for name in ("small", "downloads", "art"))
|
||||
builder.stage_downloads(catalog, self.output, small, games, art)
|
||||
for child in catalog["children"]:
|
||||
packed = games / (child["sha256"] + ".zx")
|
||||
self.assertEqual(builder.digest(packed), child["sha256"])
|
||||
self.assertEqual(packed.stat().st_size, child["bytes"])
|
||||
self.assertLessEqual(packed.stat().st_size, 64 * 1024 * 1024)
|
||||
|
||||
def test_oversized_single_payload_preserves_previous_stage(self):
|
||||
self.stage()
|
||||
previous = self.staged_bytes()
|
||||
largest = max(path.stat().st_size for path in (self.root / "build/games").glob("*.zx"))
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", largest - 1):
|
||||
with self.assertRaisesRegex(ValueError, "Game .* exceeds.*payload limit"):
|
||||
self.stage()
|
||||
self.assertEqual(self.staged_bytes(), previous)
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", self.controller.stat().st_size - 1):
|
||||
with self.assertRaisesRegex(ValueError, "Apps controller exceeds.*payload limit"):
|
||||
self.stage()
|
||||
self.assertEqual(self.staged_bytes(), previous)
|
||||
|
||||
def test_oversized_standalone_group_preserves_previous_stage(self):
|
||||
self.stage()
|
||||
previous = self.staged_bytes()
|
||||
self.small_payloads()
|
||||
# Each game is 32 KiB; the offline Shovey pair exceeds 48 KiB before
|
||||
# even counting its controller, catalog and art. Other roots fit.
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", 48 * 1024):
|
||||
with self.assertRaisesRegex(ValueError, "Standalone shovey exceeds.*payload limit"):
|
||||
self.stage()
|
||||
self.assertEqual(self.staged_bytes(), previous)
|
||||
|
||||
def test_oversized_art_and_catalog_preserve_previous_stage(self):
|
||||
self.stage()
|
||||
previous = self.staged_bytes()
|
||||
self.small_payloads()
|
||||
for path in (self.root / "build/games").glob("*.zx"):
|
||||
path.write_bytes(b"game")
|
||||
# Art is one separately loaded root, even though it has many files.
|
||||
pictures = [path for path in (self.root / "assets/arcade/library").iterdir()
|
||||
if path.suffix in (".png", ".jpg")]
|
||||
for path in pictures:
|
||||
path.write_bytes(b"x" * 8192)
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", 48 * 1024):
|
||||
with self.assertRaisesRegex(ValueError, "Library art exceeds.*payload limit"):
|
||||
self.stage()
|
||||
self.assertEqual(self.staged_bytes(), previous)
|
||||
for path in pictures:
|
||||
path.write_bytes(b"art")
|
||||
catalog_size = (self.output / "assets/apps/catalog.json").stat().st_size
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", catalog_size - 1):
|
||||
with self.assertRaisesRegex(ValueError, "Arcade catalog exceeds.*payload limit"):
|
||||
self.stage()
|
||||
self.assertEqual(self.staged_bytes(), previous)
|
||||
|
||||
def test_compiled_limit_includes_zx_overhead_and_preserves_previous_bundle(self):
|
||||
assets = self.root / "bundle-assets"
|
||||
assets.mkdir()
|
||||
(assets / "fixture").write_bytes(b"asset fixture")
|
||||
target = self.root / "art.zx"
|
||||
command = [os.environ.get("ZIRAN", str(ROOT / "scripts/ziran.sh")),
|
||||
"bundle", "--project", *self.lock_flags]
|
||||
|
||||
def compile_art():
|
||||
builder.bundle(command, ROOT, "art.zi", "art:Main", assets, target, None)
|
||||
|
||||
compile_art()
|
||||
previous = target.read_bytes()
|
||||
self.assertGreater(len(previous), (assets / "fixture").stat().st_size)
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", len(previous)):
|
||||
compile_art()
|
||||
self.assertEqual(target.read_bytes(), previous)
|
||||
with patch.object(builder, "MAX_PAYLOAD_BYTES", len(previous) - 1):
|
||||
with self.assertRaisesRegex(ValueError, "art.zx exceeds.*payload limit"):
|
||||
compile_art()
|
||||
self.assertEqual(target.read_bytes(), previous)
|
||||
|
||||
def test_staging_uses_locked_packages_unless_local_overrides_exist(self):
|
||||
packages = builder.declared_packages(self.root, lock_flags=self.lock_flags)
|
||||
artwork = json.loads((self.root / "games.json").read_text()).get("artwork", {})
|
||||
sources = {package["name"]: package["source"] for package in packages[1:]}
|
||||
for package in packages[1:]:
|
||||
if package["name"] in artwork:
|
||||
sources[artwork[package["name"]]] = package["apps"][0]["art_source"]
|
||||
log = self.root / "resolver-args"
|
||||
# Capture real subprocess arguments while resolving the same selected
|
||||
# source directories, including the deliberately unlocked local case.
|
||||
lines = ["#!/bin/sh", f"printf '%s\\n' \"$*\" >> {shlex.quote(str(log))}",
|
||||
'case "$3" in']
|
||||
lines += [f"{shlex.quote(name)}) printf '%s\\n' {shlex.quote(str(path))} ;;"
|
||||
for name, path in sources.items()]
|
||||
lines += ["*) exit 1 ;;", "esac"]
|
||||
(self.root / "scripts/ziran.sh").write_text("\n".join(lines) + "\n")
|
||||
local = self.root / "ziran.local.toml"
|
||||
for override in (False, True):
|
||||
with self.subTest(local_override=override):
|
||||
if override:
|
||||
local.touch()
|
||||
else:
|
||||
local.unlink(missing_ok=True)
|
||||
log.unlink(missing_ok=True)
|
||||
self.stage()
|
||||
calls = [line.split() for line in log.read_text().splitlines()]
|
||||
self.assertEqual({call[2] for call in calls}, set(sources))
|
||||
for call in calls:
|
||||
self.assertEqual(call, ["pkg", "path", call[2]] + ([] if override else ["--locked"]))
|
||||
|
||||
def assert_children_match_declarations(self, catalog, packages, payload_root):
|
||||
declarations = builder.declared_packages(self.root)
|
||||
declarations = builder.declared_packages(self.root, lock_flags=self.lock_flags)
|
||||
ledger = json.loads((self.root / "apps/versions.json").read_text())["node_apps"]
|
||||
expected_children = []
|
||||
for app in (app for package in declarations for app in package["apps"] if app["enabled"]):
|
||||
@@ -240,7 +379,7 @@ class CollectionTests(unittest.TestCase):
|
||||
self.assertEqual(wurm_package["children"], ["xyz.waozi.wurm", "xyz.waozi.wurm-editor"])
|
||||
children = {child["id"]: child for child in catalog["children"]}
|
||||
self.assertEqual(children["xyz.waozi.choano"]["title"], "Choano")
|
||||
self.assertEqual(children["xyz.waozi.choano"]["version"], "0.1.3")
|
||||
self.assertEqual(children["xyz.waozi.choano"]["version"], pinned_ledger["choano"]["version"])
|
||||
self.assertEqual(children["xyz.waozi.choano"]["expected_id"], "choano")
|
||||
self.assertEqual(children["xyz.waozi.wurm"]["version"], wurm_version)
|
||||
self.assertEqual(children["xyz.waozi.wurm-editor"]["version"], "0.1.0")
|
||||
@@ -265,16 +404,44 @@ class CollectionTests(unittest.TestCase):
|
||||
self.stage()
|
||||
|
||||
def test_artwork_input_changes_no_game_payload_or_version(self):
|
||||
packages = builder.declared_packages(self.root)
|
||||
packages = builder.declared_packages(self.root, lock_flags=self.lock_flags)
|
||||
# Released code/art aliases may resolve to the same package revision.
|
||||
# Give the artwork its own fixture source so this still exercises an
|
||||
# independent override, retaining the exact reviewed artwork bytes.
|
||||
art_source = self.root / 'fixture-art'
|
||||
wurm = next(package for package in packages if package['name'] == 'wurm')
|
||||
for app in wurm['apps']:
|
||||
paths = [app['descriptor']['preview']]
|
||||
paths += [value for key, value in (app['cover'] or {}).items()
|
||||
if key in ('portrait', 'landscape', 'logo')]
|
||||
for relative in paths:
|
||||
destination = art_source / relative
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copyfile(app['art_source'] / relative, destination)
|
||||
alias = json.loads((self.root / 'games.json').read_text())['artwork']['wurm']
|
||||
(self.root / 'scripts/ziran.sh').write_text(
|
||||
'#!/bin/sh\n'
|
||||
f'if [ "$1" = pkg ] && [ "$2" = path ] && [ "$3" = {shlex.quote(alias)} ]; then\n'
|
||||
f' printf \'%s\\n\' {shlex.quote(str(art_source))}\n'
|
||||
' exit 0\n'
|
||||
'fi\n'
|
||||
f'cd {shlex.quote(str(ROOT))} && exec ./scripts/ziran.sh "$@"\n')
|
||||
packages = builder.declared_packages(self.root, lock_flags=self.lock_flags)
|
||||
game = next(app for package in packages for app in package['apps']
|
||||
if app['descriptor']['name'] == 'wurm-editor')
|
||||
self.assertNotEqual(game['source'], game['art_source'])
|
||||
self.assertEqual(hashlib.sha256((game['art_source'] / game['cover']['portrait']).read_bytes()).hexdigest(),
|
||||
'07ff2ff0142c262cdcba3643bbc4d7d3d71643b7f9f4e678a910fee2bfd3eba1')
|
||||
ledger_path = self.root / 'apps/versions.json'
|
||||
ledger = ledger_path.read_bytes()
|
||||
version = json.loads(ledger)['node_apps']['wurm-editor']['version']
|
||||
game_digest = builder.digest(self.root / 'build/games/wurm-editor.zx')
|
||||
catalog = self.stage()
|
||||
child = next(item for item in catalog['children'] if item['expected_id'] == 'wurm-editor')
|
||||
self.assertEqual(child['version'], '0.1.0')
|
||||
self.assertEqual(child['sha256'], builder.digest(self.root / 'build/games/wurm-editor.zx'))
|
||||
self.assertEqual(child['version'], version)
|
||||
self.assertEqual(child['sha256'], game_digest)
|
||||
self.assertEqual(builder.digest(self.root / 'build/games/wurm-editor.zx'), game_digest)
|
||||
self.assertEqual(ledger_path.read_bytes(), ledger)
|
||||
|
||||
def test_artwork_override_must_name_a_registered_game(self):
|
||||
path = self.root / 'games.json'
|
||||
|
||||
@@ -159,7 +159,7 @@ def main():
|
||||
assert not driver.find(label='Play', role='button')
|
||||
assert not driver.find(label='Open', role='button')
|
||||
for label in ('Shovey', 'Shovey Editor', 'Apfelwurm'):
|
||||
assert not driver.find(label=label, role='text'), 'Title artwork must not repeat its name underneath'
|
||||
assert driver.find(label=label, role='text'), 'Every library cover shows its declared title'
|
||||
driver.wait(label='Apfelwurm', role='button', visible=False)
|
||||
smallest = (100, 140) if phone else (180, 200)
|
||||
covers = [node for node in driver.find(role='image', visible=True)
|
||||
@@ -219,7 +219,7 @@ def main():
|
||||
return value[:start], state[:32]
|
||||
|
||||
with application(profile, "grid") as child:
|
||||
driver.wait(label="Shovey", role="button")
|
||||
# A fresh profile asks for consent before it shows the library.
|
||||
answer_library_question(driver)
|
||||
window = subprocess.check_output(['xdotool', 'search', '--onlyvisible', '--pid', str(child.pid)], text=True).splitlines()[0]
|
||||
subprocess.run(['xdotool', 'windowsize', window, '480', '820'], check=True)
|
||||
|
||||
@@ -0,0 +1,152 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Game imports select scoped Kryon paths; real bundles cover theme collisions."""
|
||||
import os
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(ROOT / 'scripts'))
|
||||
from game_module_paths import kryon_module_paths
|
||||
|
||||
|
||||
class SourceFixture(unittest.TestCase):
|
||||
def setUp(self):
|
||||
scratch = ROOT / 'work/game-module-path-tests'
|
||||
subprocess.run(['git', 'check-ignore', '-q', str(scratch)], cwd=ROOT, check=True)
|
||||
scratch.mkdir(parents=True, exist_ok=True)
|
||||
self.folder = tempfile.TemporaryDirectory(dir=scratch)
|
||||
self.addCleanup(self.folder.cleanup)
|
||||
self.root = Path(self.folder.name)
|
||||
self.source = self.root / 'game'
|
||||
self.ui = self.root / 'kryon/src/ui'
|
||||
self.ui.mkdir(parents=True)
|
||||
for name in ('scroll', 'theme', 'geometry'):
|
||||
(self.ui / (name + '.zi')).touch()
|
||||
|
||||
def write(self, path, text=''):
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
path.write_text(text)
|
||||
|
||||
def paths(self, entry='src/app.zi'):
|
||||
return kryon_module_paths(self.source, {'source': entry}, self.root / 'kryon')
|
||||
|
||||
|
||||
class ModulePathsTest(SourceFixture):
|
||||
def test_qualified_imports_and_owned_theme_stay_scoped(self):
|
||||
self.write(self.source / 'src/app.zi', '#import "theme"\n#import "kryon/scroll"')
|
||||
self.write(self.source / 'src/theme.zi')
|
||||
self.assertEqual(self.paths(), ['--module-path', 'kryon=' + str(self.ui),
|
||||
'--module-path', 'kryon=' + str(self.ui.parent / 'backend')])
|
||||
|
||||
def test_short_import_in_nested_source_needs_plain_path(self):
|
||||
self.write(self.source / 'src/app.zi', '#import "theme"')
|
||||
self.write(self.source / 'src/theme.zi')
|
||||
self.write(self.source / 'src/views/game.zi', 'Geometry :: #import /* reason */ "geometry";')
|
||||
self.assertEqual(self.paths()[:2], ['--module-path', str(self.ui)])
|
||||
|
||||
def test_entry_outside_src_and_package_without_src(self):
|
||||
self.write(self.source / 'src/host.zi')
|
||||
self.write(self.source / 'apps/chess/view.zi', '#import "geometry"')
|
||||
self.assertEqual(self.paths('apps/chess/view.zi')[:2], ['--module-path', str(self.ui)])
|
||||
self.write(self.source / 'view.zi', '#import "scroll"')
|
||||
(self.source / 'src/host.zi').unlink()
|
||||
(self.source / 'src').rmdir()
|
||||
self.assertEqual(self.paths('view.zi')[:2], ['--module-path', str(self.ui)])
|
||||
|
||||
def test_only_owned_root_names_shadow_shared_modules(self):
|
||||
self.write(self.source / 'src/app.zi', '#import "geometry"')
|
||||
self.write(self.source / 'src/nested/geometry.zi')
|
||||
self.assertIn(str(self.ui), self.paths())
|
||||
self.write(self.source / 'src/geometry/module.zi')
|
||||
self.assertNotIn(str(self.ui), self.paths())
|
||||
|
||||
def test_comments_strings_file_imports_and_other_packages_do_not_flatten(self):
|
||||
self.write(self.source / 'src/app.zi', '''
|
||||
// #import "scroll"
|
||||
/* #import "geometry" */
|
||||
Text :: "#import \\"scroll\\""
|
||||
#import, file "scroll.zi";
|
||||
#import "other/geometry"
|
||||
#import "not_a_ui_module"
|
||||
''')
|
||||
self.assertNotIn(str(self.ui), self.paths())
|
||||
|
||||
|
||||
class BundleTest(SourceFixture):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
wrapper = str(ROOT / 'scripts/ziran.sh')
|
||||
flags = [] if (ROOT / 'ziran.local.toml').exists() else ['--locked']
|
||||
|
||||
def package(name):
|
||||
return Path(subprocess.check_output([wrapper, 'pkg', 'path', name, *flags], cwd=ROOT, text=True).strip())
|
||||
|
||||
cls.toolchain = Path(os.environ['ZIRAN_SOURCE']) if 'ZIRAN_SOURCE' in os.environ else package('ziran')
|
||||
cls.kryon = Path(os.environ['KRYON_SOURCE']) if 'KRYON_SOURCE' in os.environ else package('kryon')
|
||||
cls.compiler = os.environ.get('ZIRAN', str(cls.toolchain / 'build/bin/ziran'))
|
||||
|
||||
def compiler_run(self, *args):
|
||||
env = os.environ.copy()
|
||||
for key in ('DISPLAY', 'WAYLAND_DISPLAY', 'XAUTHORITY', 'DBUS_SESSION_BUS_ADDRESS'):
|
||||
env.pop(key, None)
|
||||
return subprocess.run([self.compiler, *map(str, args)],
|
||||
cwd=ROOT, env=env, text=True, capture_output=True, timeout=180)
|
||||
|
||||
def bundle(self, imports, local_theme=False, old_paths=False):
|
||||
entry = self.source / 'src/guest.zi'
|
||||
self.write(entry, imports + '''
|
||||
using ButtonState;
|
||||
#program_export
|
||||
Answer :: () -> s32 {
|
||||
thumb := ScrollFace(StyleKindScrollThumb(), 0, false,
|
||||
cast(s32)ButtonStateNormal, 10.0)
|
||||
''' + (' if AppTheme.LocalTheme() != cast(u32)0xaabbccdd { return 1 }\n' if local_theme else '') + '''
|
||||
if thumb.value.background != cast(u32)0x889faaff { return 2 }
|
||||
return 42
|
||||
}
|
||||
''')
|
||||
if local_theme:
|
||||
self.write(entry.with_name('theme.zi'), '''
|
||||
#program_export
|
||||
LocalTheme :: () -> u32 { return cast(u32)0xaabbccdd }
|
||||
''')
|
||||
paths = kryon_module_paths(self.source, {'source': 'src/guest.zi'}, self.kryon)
|
||||
if old_paths:
|
||||
paths = ['--module-path', str(self.kryon / 'src/ui'), *paths]
|
||||
output = self.root / 'guest.zx'
|
||||
result = self.compiler_run('bundle', '--root', entry.parent, *paths,
|
||||
'--module-path', self.toolchain / 'std',
|
||||
'--entry', 'guest:Answer', '-o', output, entry)
|
||||
return result, output
|
||||
|
||||
def test_scoped_bundle_preserves_app_theme_and_kryon_palette(self):
|
||||
imports = '''AppTheme :: #import "theme";
|
||||
#import "kryon/scroll"
|
||||
#import "kryon/style_sheet"
|
||||
#import "kryon/control_props"
|
||||
'''
|
||||
old, _ = self.bundle(imports, local_theme=True, old_paths=True)
|
||||
self.assertNotEqual(old.returncode, 0, old.stdout)
|
||||
self.assertIn('LightBorderStrong', old.stderr + old.stdout)
|
||||
result, output = self.bundle(imports, local_theme=True)
|
||||
self.assertEqual(result.returncode, 0, (result.stderr + result.stdout)[-8000:])
|
||||
run = self.compiler_run('run', output)
|
||||
self.assertEqual(run.returncode, 0, run.stderr)
|
||||
self.assertEqual(run.stdout.strip(), '42')
|
||||
|
||||
def test_legacy_short_import_bundle_keeps_shared_path(self):
|
||||
result, output = self.bundle('''#import "scroll"
|
||||
#import "style_sheet"
|
||||
#import "control_props"
|
||||
''')
|
||||
self.assertEqual(result.returncode, 0, (result.stderr + result.stdout)[-8000:])
|
||||
run = self.compiler_run('run', output)
|
||||
self.assertEqual(run.returncode, 0, run.stderr)
|
||||
self.assertEqual(run.stdout.strip(), '42')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Lossless resource packing keeps color, transparency and dependency copies."""
|
||||
import hashlib
|
||||
import json
|
||||
import random
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
from PIL import Image, PngImagePlugin
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'scripts'))
|
||||
from game_resources import pack_opaque_pngs
|
||||
|
||||
|
||||
class PackingTest(unittest.TestCase):
|
||||
def test_only_redundant_alpha_is_removed(self):
|
||||
scratch = Path(__file__).resolve().parents[1] / 'work/resource-packing-tests'
|
||||
scratch.mkdir(parents=True, exist_ok=True, mode=0o700)
|
||||
with tempfile.TemporaryDirectory(dir=scratch) as folder:
|
||||
root = Path(folder)
|
||||
rng = random.Random(1)
|
||||
image = Image.new('RGBA', (64, 64))
|
||||
image.putdata([(rng.randrange(256), rng.randrange(256), rng.randrange(256), 255)
|
||||
for _ in range(64 * 64)])
|
||||
opaque = root / 'opaque.png'
|
||||
image.save(opaque, compress_level=0)
|
||||
inventory = root / 'art.json'
|
||||
inventory.write_text(json.dumps({'files': [{'path': 'opaque.png', 'sha256': hashlib.sha256(opaque.read_bytes()).hexdigest()}]}))
|
||||
expected = image.tobytes()
|
||||
old_size = opaque.stat().st_size
|
||||
transparent = root / 'transparent.png'
|
||||
image.putpixel((0, 0), (1, 2, 3, 127))
|
||||
image.save(transparent)
|
||||
before_transparent = transparent.read_bytes()
|
||||
tagged = root / 'tagged.png'
|
||||
info = PngImagePlugin.PngInfo()
|
||||
info.add_text('source', 'fixture')
|
||||
image.putpixel((0, 0), (1, 2, 3, 255))
|
||||
image.save(tagged, pnginfo=info)
|
||||
before_tagged = tagged.read_bytes()
|
||||
pack_opaque_pngs(root)
|
||||
self.assertLess(opaque.stat().st_size, old_size)
|
||||
with Image.open(opaque) as actual:
|
||||
self.assertEqual(actual.convert('RGBA').tobytes(), expected)
|
||||
self.assertEqual(json.loads(inventory.read_text())['files'][0]['sha256'], hashlib.sha256(opaque.read_bytes()).hexdigest())
|
||||
self.assertEqual(transparent.read_bytes(), before_transparent)
|
||||
self.assertEqual(tagged.read_bytes(), before_tagged)
|
||||
once = opaque.read_bytes()
|
||||
pack_opaque_pngs(root)
|
||||
self.assertEqual(opaque.read_bytes(), once)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Data fields must not suppress translation validation for actual labels."""
|
||||
import importlib.util
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(root / 'scripts'))
|
||||
spec = importlib.util.spec_from_file_location('check_games', root / 'scripts/check-games.py')
|
||||
checker = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(checker)
|
||||
code = '\n'.join([
|
||||
'#import "shovey_data"',
|
||||
'owned := ShopInteger(reply, "shovey_owned", 7)',
|
||||
'coins := ShopInteger(reply, "shovey_coins", 1000)',
|
||||
'Text(Label("shovey_title"))',
|
||||
])
|
||||
assert checker.translation_keys(code, 'shovey_') == {'shovey_title'}
|
||||
assert checker.translation_keys(code + '\nText(Label("shovey_owned"))', 'shovey_') == {'shovey_title', 'shovey_owned'}
|
||||
assert checker.translation_keys('Label("shovey_missing_translation")', 'shovey_') == {'shovey_missing_translation'}
|
||||
print('JSON fields excluded; actual labels still require translations')
|
||||
@@ -82,7 +82,7 @@ def with_catalog(payload, catalog):
|
||||
return struct.unpack('<I', source.read(4))[0]
|
||||
def text():
|
||||
return source.read(number())
|
||||
assert source.read(8) == b'ZX\0\0\x1b\0\0\0'
|
||||
assert source.read(8) in (b'ZX\0\0\x1a\0\0\0', b'ZX\0\0\x1b\0\0\0')
|
||||
text(); text()
|
||||
for _ in range(number()):
|
||||
text(); text()
|
||||
|
||||
@@ -242,8 +242,10 @@ try {
|
||||
.filter(name => /\\/library\\//.test(new URL(name).pathname) || name.includes(${JSON.stringify(library?.art || '-')}))`);
|
||||
// This private page chooses the public node connection explicitly. A
|
||||
// returning visit reuses its saved origin-specific answer.
|
||||
const initial = await waitButton(['Connect', 'Shovey']);
|
||||
const initial = await waitButton(['Connect', 'Allow', 'Shovey']);
|
||||
if (initial.label === 'Connect') await click(initial);
|
||||
const permission = initial.label === 'Connect' ? await waitButton(['Allow', 'Shovey']) : initial;
|
||||
if (permission.label === 'Allow') await click(permission);
|
||||
await waitButton('Shovey');
|
||||
if (library) {
|
||||
// The first visit draws every cover from the small copies alone.
|
||||
|
||||
+159
-87
@@ -2,13 +2,13 @@
|
||||
"format": 1,
|
||||
"packages": [
|
||||
{
|
||||
"commit": "a02feeb703192f1481e72160b1ccff401d17ef9d",
|
||||
"dependencies": {"raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "p0797a2ec7b9d9b0e",
|
||||
"name": "kryon",
|
||||
"ref": "a02feeb703192f1481e72160b1ccff401d17ef9d",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
"commit": "907e90ddd4c78f02e0d49e90384e4197f7dcdf26",
|
||||
"dependencies": {},
|
||||
"id": "p002f6ed23e3a3576",
|
||||
"name": "monocypher",
|
||||
"ref": "master",
|
||||
"source": true,
|
||||
"url": "https://github.com/LoupVaillant/Monocypher.git"
|
||||
},
|
||||
{
|
||||
"commit": "2944b2e668e735438d8ce24e47a39be3f5c36af5",
|
||||
@@ -20,7 +20,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "d74348c2e288ac55740461f7e106cda365b4db4a",
|
||||
"dependencies": {"apps": "pf1707c15f1b95b28", "crypto": "pc23fbf455e97614d", "curl": "p8da229d15597ab5c", "daochi_client": "p89503086b39ba0fb", "entity": "p22476639990592a5", "game2d": "pf2f54c7603f6e861", "kryon": "pb1ba3b1950f642b9", "kss": "p1b13dda539ed2a39", "liboqs": "p983c695d118b6109", "mingcute": "pe1027b9d16704793", "monocypher": "p6c9f89ec97d929eb", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p71f489a3ce887de0", "qrcode": "p0dfa70137405b096", "rini": "p8ea355e8cb04093e", "sqlite": "p810dc0509cd1b75d"},
|
||||
"dependencies": {"apps": "pdea1492d0d16298f", "crypto": "pc23fbf455e97614d", "curl": "p8da229d15597ab5c", "daochi_client": "p89503086b39ba0fb", "entity": "p53f5eefa1f190fe5", "game2d": "pf2f54c7603f6e861", "kryon": "p1f27ccd7e2463271", "kss": "p1b13dda539ed2a39", "liboqs": "p60ff905f3a963886", "mingcute": "pe1027b9d16704793", "monocypher": "p002f6ed23e3a3576", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p71f489a3ce887de0", "qrcode": "p0dfa70137405b096", "rini": "p8ea355e8cb04093e", "sqlite": "p810dc0509cd1b75d"},
|
||||
"dependency_refs": {"apps": "master", "crypto": "master", "curl": "master", "daochi_client": "master", "entity": "master", "game2d": "master", "kryon": "master", "kss": "master", "liboqs": "main", "mingcute": "master", "monocypher": "master", "oqs": "master", "plot": "master", "practices": "master", "qrcode": "master", "rini": "main", "sqlite": "master"},
|
||||
"id": "p183b01bccc6424e7",
|
||||
"name": "Inbe",
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
|
||||
"dependencies": {"kryon": "pb1ba3b1950f642b9"},
|
||||
"dependencies": {"kryon": "p1f27ccd7e2463271"},
|
||||
"dependency_refs": {"kryon": "master"},
|
||||
"id": "p1b13dda539ed2a39",
|
||||
"name": "Kss",
|
||||
@@ -37,13 +37,13 @@
|
||||
"url": "https://github.com/kryonlabs/kss.git"
|
||||
},
|
||||
{
|
||||
"commit": "dc47384266d96aaa0f86b8fe104404878179e90b",
|
||||
"dependencies": {"curl": "p8da229d15597ab5c", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "p0797a2ec7b9d9b0e", "monocypher": "p6c9f89ec97d929eb", "qrcode": "p0dfa70137405b096", "zlib": "p82dbc05081cd4d96"},
|
||||
"dependency_refs": {"curl": "19b299005fbe2d895f4ad525cfdae62a2220c3ea", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "a02feeb703192f1481e72160b1ccff401d17ef9d", "monocypher": "master", "qrcode": "master", "zlib": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf"},
|
||||
"id": "p22476639990592a5",
|
||||
"name": "Entity",
|
||||
"commit": "3152a6e501bcc6ed05e9ec2e8ce1f4eb59cc74a2",
|
||||
"dependencies": {"libwebp": "p3b3c785a0e17e605", "raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"libwebp": "1844042d1ca751e62e61df7617dba19c98588339", "raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "p1f27ccd7e2463271",
|
||||
"name": "kryon",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "2fa52f64eb0c29e8351b437176e896b938ece8e8",
|
||||
@@ -54,6 +54,51 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/waozixyz/wurm.git"
|
||||
},
|
||||
{
|
||||
"commit": "4204ef694f54aff644ac6627e74a9fb9bcc6b643",
|
||||
"dependencies": {"apps": "pdea1492d0d16298f", "entity": "p53f5eefa1f190fe5", "kryon": "pcd450c600194cee7", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "master", "entity": "master", "kryon": "e373b8a7f8821256b86de12dd5ee05a32d373e87", "mingcute": "master"},
|
||||
"id": "p352b02504698188c",
|
||||
"name": "Shovey",
|
||||
"ref": "4204ef694f54aff644ac6627e74a9fb9bcc6b643",
|
||||
"url": "https://github.com/waozixyz/shovey.git"
|
||||
},
|
||||
{
|
||||
"commit": "6a29dfde2742a5081d477bebefcddf3a733383c5",
|
||||
"dependencies": {"apps": "p9b5024e78127fbee", "entity": "pca086a043cf8d1f9", "game2d": "p9d83dc63fcae6cd0", "kryon": "pfa65f8437b3d3740", "kss": "paedcd9d605ed94a1", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "5d1541025b33a4b19c6ec73bea19dc314e0ef5cb", "entity": "b8f959234e41a597bde5c3d8508e9c3052897349", "game2d": "fd4541da5ba2b4da9d0489f20ac463c6e6576253", "kryon": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68", "kss": "7b125ad80a1398bd122f9c8e2017ebdb66b9e141", "mingcute": "master"},
|
||||
"id": "p36c2bd12ffeea1c8",
|
||||
"name": "Choano",
|
||||
"ref": "6a29dfde2742a5081d477bebefcddf3a733383c5",
|
||||
"url": "https://github.com/waozixyz/choano.git"
|
||||
},
|
||||
{
|
||||
"commit": "1844042d1ca751e62e61df7617dba19c98588339",
|
||||
"dependencies": {},
|
||||
"id": "p3b3c785a0e17e605",
|
||||
"name": "libwebp",
|
||||
"ref": "1844042d1ca751e62e61df7617dba19c98588339",
|
||||
"source": true,
|
||||
"url": "https://github.com/webmproject/libwebp.git"
|
||||
},
|
||||
{
|
||||
"commit": "925ceb810d9b6e3b2fcb3e95adb3dd9c35ecb41f",
|
||||
"dependencies": {"curl": "p8da229d15597ab5c", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pb9d1c52c45ad3f51", "monocypher": "p002f6ed23e3a3576", "oqs": "p7098ac9cd92f7e5f", "qrcode": "p0dfa70137405b096", "zlib": "p82dbc05081cd4d96"},
|
||||
"dependency_refs": {"curl": "19b299005fbe2d895f4ad525cfdae62a2220c3ea", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "bd34ddbe3b169f3fdec1a93cea1aba9fc3c62bbf", "monocypher": "master", "oqs": "master", "qrcode": "master", "zlib": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf"},
|
||||
"id": "p53f5eefa1f190fe5",
|
||||
"name": "Entity",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "619888d404e7d7e441921702c41a5838a8981408",
|
||||
"dependencies": {},
|
||||
"id": "p60ff905f3a963886",
|
||||
"name": "liboqs",
|
||||
"ref": "main",
|
||||
"source": true,
|
||||
"url": "https://github.com/open-quantum-safe/liboqs.git"
|
||||
},
|
||||
{
|
||||
"commit": "970d5e44b1702158cb16469892da6ff50f142427",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
|
||||
@@ -63,27 +108,9 @@
|
||||
"ref": "970d5e44b1702158cb16469892da6ff50f142427",
|
||||
"url": "https://github.com/ziranlang/daochi-client.git"
|
||||
},
|
||||
{
|
||||
"commit": "f5f0a19a5dc6c14a49adb3cd63ea79a60f6ba77b",
|
||||
"dependencies": {},
|
||||
"id": "p6c9f89ec97d929eb",
|
||||
"name": "monocypher",
|
||||
"ref": "master",
|
||||
"source": true,
|
||||
"url": "https://github.com/LoupVaillant/Monocypher.git"
|
||||
},
|
||||
{
|
||||
"commit": "51f8cc62a9ab61d114d246897b7b2ba76c4e3766",
|
||||
"dependencies": {"curl": "p8da229d15597ab5c", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "p0797a2ec7b9d9b0e", "monocypher": "p6c9f89ec97d929eb", "qrcode": "p0dfa70137405b096", "zlib": "p82dbc05081cd4d96"},
|
||||
"dependency_refs": {"curl": "19b299005fbe2d895f4ad525cfdae62a2220c3ea", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "a02feeb703192f1481e72160b1ccff401d17ef9d", "monocypher": "master", "qrcode": "master", "zlib": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf"},
|
||||
"id": "p70971d078c43aca3",
|
||||
"name": "Entity",
|
||||
"ref": "51f8cc62a9ab61d114d246897b7b2ba76c4e3766",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "22d2ddbdc236796953c905a05a2cebf5ab1b4ff3",
|
||||
"dependencies": {"liboqs": "p983c695d118b6109"},
|
||||
"dependencies": {"liboqs": "p60ff905f3a963886"},
|
||||
"dependency_refs": {"liboqs": "main"},
|
||||
"id": "p7098ac9cd92f7e5f",
|
||||
"name": "Oqs",
|
||||
@@ -99,6 +126,15 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/waozixyz/practices.git"
|
||||
},
|
||||
{
|
||||
"commit": "f39508361f79a10a57643e97b613b34e434b9834",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pcd450c600194cee7"},
|
||||
"dependency_refs": {"crypto": "master", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "e373b8a7f8821256b86de12dd5ee05a32d373e87"},
|
||||
"id": "p7c0e095f496911cc",
|
||||
"name": "Apps",
|
||||
"ref": "f39508361f79a10a57643e97b613b34e434b9834",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
},
|
||||
{
|
||||
"commit": "5d1ee888094efc63d1fb25a58af93478b103d441",
|
||||
"dependencies": {},
|
||||
@@ -145,17 +181,35 @@
|
||||
"url": "https://github.com/raysan5/rini.git"
|
||||
},
|
||||
{
|
||||
"commit": "e77d81dab791c13bf1c4e5d9a7160c403be9bbe0",
|
||||
"dependencies": {},
|
||||
"id": "p983c695d118b6109",
|
||||
"name": "liboqs",
|
||||
"ref": "main",
|
||||
"source": true,
|
||||
"url": "https://github.com/open-quantum-safe/liboqs.git"
|
||||
"commit": "908884c669ec05421373f3077d4bf5517af21bcd",
|
||||
"dependencies": {"curl": "p8da229d15597ab5c", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pcd450c600194cee7", "monocypher": "p002f6ed23e3a3576", "oqs": "p7098ac9cd92f7e5f", "qrcode": "p0dfa70137405b096", "zlib": "p82dbc05081cd4d96"},
|
||||
"dependency_refs": {"curl": "19b299005fbe2d895f4ad525cfdae62a2220c3ea", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "e373b8a7f8821256b86de12dd5ee05a32d373e87", "monocypher": "master", "oqs": "master", "qrcode": "master", "zlib": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf"},
|
||||
"id": "p9711cd0a40465e97",
|
||||
"name": "Entity",
|
||||
"ref": "908884c669ec05421373f3077d4bf5517af21bcd",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "5d1541025b33a4b19c6ec73bea19dc314e0ef5cb",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pfa65f8437b3d3740"},
|
||||
"dependency_refs": {"crypto": "master", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68"},
|
||||
"id": "p9b5024e78127fbee",
|
||||
"name": "Apps",
|
||||
"ref": "5d1541025b33a4b19c6ec73bea19dc314e0ef5cb",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
},
|
||||
{
|
||||
"commit": "fd4541da5ba2b4da9d0489f20ac463c6e6576253",
|
||||
"dependencies": {"kryon": "pfa65f8437b3d3740"},
|
||||
"dependency_refs": {"kryon": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68"},
|
||||
"id": "p9d83dc63fcae6cd0",
|
||||
"name": "Game2D",
|
||||
"ref": "fd4541da5ba2b4da9d0489f20ac463c6e6576253",
|
||||
"url": "https://github.com/kryonlabs/game2d.git"
|
||||
},
|
||||
{
|
||||
"commit": "3f888653b6b97010163d824c4cc72476be3214f3",
|
||||
"dependencies": {"kryon": "pb1ba3b1950f642b9"},
|
||||
"dependencies": {"kryon": "p1f27ccd7e2463271"},
|
||||
"dependency_refs": {"kryon": "master"},
|
||||
"id": "pab5377a2950368a2",
|
||||
"name": "plot",
|
||||
@@ -163,32 +217,23 @@
|
||||
"url": "https://github.com/kryonlabs/plot.git"
|
||||
},
|
||||
{
|
||||
"commit": "849eb903e5b6fb9aed996c530ab82f94c4371ee5",
|
||||
"dependencies": {"raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "pb1ba3b1950f642b9",
|
||||
"commit": "7b125ad80a1398bd122f9c8e2017ebdb66b9e141",
|
||||
"dependencies": {"kryon": "pfa65f8437b3d3740"},
|
||||
"dependency_refs": {"kryon": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68"},
|
||||
"id": "paedcd9d605ed94a1",
|
||||
"name": "Kss",
|
||||
"ref": "7b125ad80a1398bd122f9c8e2017ebdb66b9e141",
|
||||
"url": "https://github.com/kryonlabs/kss.git"
|
||||
},
|
||||
{
|
||||
"commit": "bd34ddbe3b169f3fdec1a93cea1aba9fc3c62bbf",
|
||||
"dependencies": {"libwebp": "p3b3c785a0e17e605", "raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"libwebp": "1844042d1ca751e62e61df7617dba19c98588339", "raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "pb9d1c52c45ad3f51",
|
||||
"name": "kryon",
|
||||
"ref": "master",
|
||||
"ref": "bd34ddbe3b169f3fdec1a93cea1aba9fc3c62bbf",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "99d9ad777325e9dfc15cd8610056948819dc1f07",
|
||||
"dependencies": {"apps": "pf1707c15f1b95b28", "crypto": "pc23fbf455e97614d", "entity": "p22476639990592a5", "kryon": "pb1ba3b1950f642b9", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "master", "crypto": "master", "entity": "master", "kryon": "master", "mingcute": "master"},
|
||||
"id": "pb4256918f4b7855d",
|
||||
"name": "Apfelwurm",
|
||||
"ref": "99d9ad777325e9dfc15cd8610056948819dc1f07",
|
||||
"url": "https://github.com/waozixyz/wurm.git"
|
||||
},
|
||||
{
|
||||
"commit": "528618898db605b0f2960759d49871cde2209086",
|
||||
"dependencies": {"apps": "pf1707c15f1b95b28", "entity": "p22476639990592a5", "game2d": "pf2f54c7603f6e861", "kryon": "pb1ba3b1950f642b9", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "master", "entity": "master", "game2d": "master", "kryon": "master", "mingcute": "master"},
|
||||
"id": "pba7b4d6a4dcf84ae",
|
||||
"name": "Choano",
|
||||
"ref": "528618898db605b0f2960759d49871cde2209086",
|
||||
"url": "https://github.com/waozixyz/choano.git"
|
||||
},
|
||||
{
|
||||
"commit": "944826f70779a6b6cd53f6b06a75b36f4d8a2558",
|
||||
"dependencies": {},
|
||||
@@ -197,6 +242,15 @@
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/crypto.git"
|
||||
},
|
||||
{
|
||||
"commit": "b8f959234e41a597bde5c3d8508e9c3052897349",
|
||||
"dependencies": {"curl": "p8da229d15597ab5c", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pfa65f8437b3d3740", "monocypher": "p002f6ed23e3a3576", "qrcode": "p0dfa70137405b096", "zlib": "p82dbc05081cd4d96"},
|
||||
"dependency_refs": {"curl": "19b299005fbe2d895f4ad525cfdae62a2220c3ea", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68", "monocypher": "master", "qrcode": "master", "zlib": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf"},
|
||||
"id": "pca086a043cf8d1f9",
|
||||
"name": "Entity",
|
||||
"ref": "b8f959234e41a597bde5c3d8508e9c3052897349",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e",
|
||||
"dependencies": {},
|
||||
@@ -206,6 +260,24 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/raysan5/raylib.git"
|
||||
},
|
||||
{
|
||||
"commit": "e373b8a7f8821256b86de12dd5ee05a32d373e87",
|
||||
"dependencies": {"raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "pcd450c600194cee7",
|
||||
"name": "kryon",
|
||||
"ref": "e373b8a7f8821256b86de12dd5ee05a32d373e87",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "0dd054932180a8e8cda4550af7030b527ee3c285",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "pb9d1c52c45ad3f51"},
|
||||
"dependency_refs": {"crypto": "master", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "bd34ddbe3b169f3fdec1a93cea1aba9fc3c62bbf"},
|
||||
"id": "pdea1492d0d16298f",
|
||||
"name": "Apps",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
},
|
||||
{
|
||||
"commit": "9cc6872f75447c3a24c16764f9829d0f58751cb0",
|
||||
"dependencies": {},
|
||||
@@ -216,7 +288,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "d32e4b606ece83e8869c954f66c334f44f7b4838",
|
||||
"dependencies": {"kryon": "pb1ba3b1950f642b9"},
|
||||
"dependencies": {"kryon": "p1f27ccd7e2463271"},
|
||||
"dependency_refs": {"kryon": "master"},
|
||||
"id": "pe878ed78ee9f8300",
|
||||
"name": "Game2D",
|
||||
@@ -224,41 +296,41 @@
|
||||
"url": "https://github.com/kryonlabs/game2d.git"
|
||||
},
|
||||
{
|
||||
"commit": "c152526893b92e75c82f55b0adf2c684e47fdbc2",
|
||||
"dependencies": {"apps": "pf1707c15f1b95b28", "entity": "p22476639990592a5", "kryon": "p0797a2ec7b9d9b0e", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "master", "entity": "master", "kryon": "a02feeb703192f1481e72160b1ccff401d17ef9d", "mingcute": "master"},
|
||||
"id": "peb73114e93098006",
|
||||
"name": "Shovey",
|
||||
"ref": "c152526893b92e75c82f55b0adf2c684e47fdbc2",
|
||||
"url": "https://github.com/waozixyz/shovey.git"
|
||||
},
|
||||
{
|
||||
"commit": "47ce0302664fe2f87f3cb05407eac7aa09066c96",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "daochi_client": "p6af0b5bd9fd0cd31", "kryon": "p0797a2ec7b9d9b0e"},
|
||||
"dependency_refs": {"crypto": "master", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "kryon": "a02feeb703192f1481e72160b1ccff401d17ef9d"},
|
||||
"id": "pf1707c15f1b95b28",
|
||||
"name": "Apps",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
"commit": "2fa52f64eb0c29e8351b437176e896b938ece8e8",
|
||||
"dependencies": {"apps": "pdea1492d0d16298f", "crypto": "pc23fbf455e97614d", "entity": "p53f5eefa1f190fe5", "kryon": "p1f27ccd7e2463271", "mingcute": "pe1027b9d16704793"},
|
||||
"dependency_refs": {"apps": "master", "crypto": "master", "entity": "master", "kryon": "master", "mingcute": "master"},
|
||||
"id": "pef8c9ab30363ef38",
|
||||
"name": "Apfelwurm",
|
||||
"ref": "2fa52f64eb0c29e8351b437176e896b938ece8e8",
|
||||
"url": "https://github.com/waozixyz/wurm.git"
|
||||
},
|
||||
{
|
||||
"commit": "cee04692f3461dcb098833472f071c434980debb",
|
||||
"dependencies": {"kryon": "pb1ba3b1950f642b9"},
|
||||
"dependencies": {"kryon": "p1f27ccd7e2463271"},
|
||||
"dependency_refs": {"kryon": "master"},
|
||||
"id": "pf2f54c7603f6e861",
|
||||
"name": "Game2D",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/game2d.git"
|
||||
},
|
||||
{
|
||||
"commit": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68",
|
||||
"dependencies": {"raylib": "pcc7aa76725f2fb2f"},
|
||||
"dependency_refs": {"raylib": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e"},
|
||||
"id": "pfa65f8437b3d3740",
|
||||
"name": "kryon",
|
||||
"ref": "f6299fa1c71a6d9930df7a9a725d1a571adcbc68",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
"dependencies": {"apps": "pf1707c15f1b95b28", "choano": "pba7b4d6a4dcf84ae", "daochi_client": "p6af0b5bd9fd0cd31", "entity": "p70971d078c43aca3", "game2d": "pe878ed78ee9f8300", "inbe": "p183b01bccc6424e7", "kryon": "p0797a2ec7b9d9b0e", "mingcute": "pe1027b9d16704793", "shovey": "peb73114e93098006", "wurm": "pb4256918f4b7855d", "wurm_art": "p276ae0189cfc10bc"},
|
||||
"dependency_refs": {"apps": "47ce0302664fe2f87f3cb05407eac7aa09066c96", "choano": "528618898db605b0f2960759d49871cde2209086", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "entity": "51f8cc62a9ab61d114d246897b7b2ba76c4e3766", "game2d": "d32e4b606ece83e8869c954f66c334f44f7b4838", "inbe": "master", "kryon": "a02feeb703192f1481e72160b1ccff401d17ef9d", "mingcute": "master", "shovey": "c152526893b92e75c82f55b0adf2c684e47fdbc2", "wurm": "99d9ad777325e9dfc15cd8610056948819dc1f07", "wurm_art": "2fa52f64eb0c29e8351b437176e896b938ece8e8"},
|
||||
"dependencies": {"apps": "p7c0e095f496911cc", "choano": "p36c2bd12ffeea1c8", "daochi_client": "p6af0b5bd9fd0cd31", "entity": "p9711cd0a40465e97", "game2d": "pe878ed78ee9f8300", "inbe": "p183b01bccc6424e7", "kryon": "pcd450c600194cee7", "kss": "p1b13dda539ed2a39", "mingcute": "pe1027b9d16704793", "shovey": "p352b02504698188c", "wurm": "pef8c9ab30363ef38", "wurm_art": "p276ae0189cfc10bc"},
|
||||
"dependency_refs": {"apps": "f39508361f79a10a57643e97b613b34e434b9834", "choano": "6a29dfde2742a5081d477bebefcddf3a733383c5", "daochi_client": "970d5e44b1702158cb16469892da6ff50f142427", "entity": "908884c669ec05421373f3077d4bf5517af21bcd", "game2d": "d32e4b606ece83e8869c954f66c334f44f7b4838", "inbe": "master", "kryon": "e373b8a7f8821256b86de12dd5ee05a32d373e87", "kss": "1cb9df183089a77c8a16448a556186f30b261a98", "mingcute": "master", "shovey": "4204ef694f54aff644ac6627e74a9fb9bcc6b643", "wurm": "2fa52f64eb0c29e8351b437176e896b938ece8e8", "wurm_art": "2fa52f64eb0c29e8351b437176e896b938ece8e8"},
|
||||
"name": "Arcade"
|
||||
},
|
||||
"toolchain": {
|
||||
"commit": "b8d0ac17eb1e2d2d9997729a769dbea681cc74ac",
|
||||
"ref": "b8d0ac17eb1e2d2d9997729a769dbea681cc74ac",
|
||||
"commit": "c47f927ca316a0494dff4f2389de3333bc8e08b4",
|
||||
"ref": "c47f927ca316a0494dff4f2389de3333bc8e08b4",
|
||||
"url": "https://github.com/ziranlang/ziran.git"
|
||||
}
|
||||
}
|
||||
+11
-7
@@ -7,7 +7,7 @@ bridge_modules = ["app"]
|
||||
|
||||
[toolchain]
|
||||
git = "https://github.com/ziranlang/ziran.git"
|
||||
ref = "b8d0ac17eb1e2d2d9997729a769dbea681cc74ac"
|
||||
ref = "c47f927ca316a0494dff4f2389de3333bc8e08b4"
|
||||
|
||||
[install]
|
||||
bin = "arcade"
|
||||
@@ -29,17 +29,17 @@ abis = "arm64-v8a,x86_64"
|
||||
|
||||
[dependencies.kryon]
|
||||
git = "https://github.com/kryonlabs/kryon.git"
|
||||
ref = "a02feeb703192f1481e72160b1ccff401d17ef9d"
|
||||
ref = "e373b8a7f8821256b86de12dd5ee05a32d373e87"
|
||||
|
||||
[dependencies.apps]
|
||||
git = "https://github.com/waozixyz/apps.git"
|
||||
# Use the shared controller reviewed with the supported collection host.
|
||||
ref = "47ce0302664fe2f87f3cb05407eac7aa09066c96"
|
||||
ref = "f39508361f79a10a57643e97b613b34e434b9834"
|
||||
|
||||
# Shovey's editions and editor are available as separate downloads.
|
||||
[dependencies.shovey]
|
||||
git = "https://github.com/waozixyz/shovey.git"
|
||||
ref = "c152526893b92e75c82f55b0adf2c684e47fdbc2"
|
||||
ref = "4204ef694f54aff644ac6627e74a9fb9bcc6b643"
|
||||
|
||||
# Compatibility tooling runs Inner Breeze's host checks; releases check its publisher pins.
|
||||
[dependencies.inbe]
|
||||
@@ -48,7 +48,7 @@ ref = "master"
|
||||
|
||||
[dependencies.entity]
|
||||
git = "https://github.com/waozixyz/entity.git"
|
||||
ref = "51f8cc62a9ab61d114d246897b7b2ba76c4e3766"
|
||||
ref = "908884c669ec05421373f3077d4bf5517af21bcd"
|
||||
|
||||
[dependencies.mingcute]
|
||||
git = "https://github.com/kryonlabs/mingcute.git"
|
||||
@@ -56,7 +56,7 @@ ref = "master"
|
||||
|
||||
[dependencies.wurm]
|
||||
git = "https://github.com/waozixyz/wurm.git"
|
||||
ref = "99d9ad777325e9dfc15cd8610056948819dc1f07"
|
||||
ref = "2fa52f64eb0c29e8351b437176e896b938ece8e8"
|
||||
|
||||
[dependencies.game2d]
|
||||
git = "https://github.com/kryonlabs/game2d.git"
|
||||
@@ -64,7 +64,7 @@ ref = "d32e4b606ece83e8869c954f66c334f44f7b4838"
|
||||
|
||||
[dependencies.choano]
|
||||
git = "https://github.com/waozixyz/choano.git"
|
||||
ref = "528618898db605b0f2960759d49871cde2209086"
|
||||
ref = "6a29dfde2742a5081d477bebefcddf3a733383c5"
|
||||
|
||||
# Library art can advance independently of the tested game payload.
|
||||
[dependencies.wurm_art]
|
||||
@@ -75,3 +75,7 @@ source = true
|
||||
[dependencies.daochi_client]
|
||||
git = "https://github.com/ziranlang/daochi-client.git"
|
||||
ref = "970d5e44b1702158cb16469892da6ff50f142427"
|
||||
|
||||
[dependencies.kss]
|
||||
git = "https://github.com/kryonlabs/kss.git"
|
||||
ref = "1cb9df183089a77c8a16448a556186f30b261a98"
|
||||
Reference in new issue
Block a user