chore: scaffold Native SDK studio app + project identity#5
Merged
Conversation
Native-rendered Native SDK skeleton (.native markup + Zig Model/Msg/update, no WebView): app.zon manifest, src/main.zig, src/app.native, src/tests.zig, and the app icon. Adds the Apache-2.0 NOTICE and .editorconfig. Sets the real project identity (bundle id io.github.ocpp-debugkit.studio, "OCPP DebugKit Studio", version 0.0.0). The counter view is a placeholder; the inspector UI arrives in S3. Closes #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings up the buildable Native SDK application skeleton and gives it a real project identity. Native-rendered (
.nativemarkup + ZigModel/Msg/update) — no WebView, no web frontend (see forthcoming ADR-0003).Included
app.zonmanifest,src/main.zig(Model/Msg/update + runner wiring),src/app.native(markup view),src/tests.zig(view/model tests),assets/icon.png.NOTICE(Apache-2.0),.editorconfig(4-space Zig, 2-space markup/yaml/json/md).io.github.ocpp-debugkit.studio, display name / window title OCPP DebugKit Studio, version0.0.0.The placeholder counter view (
Model.count, increment/decrement/reset) is intentional scaffolding — the inspector UI lands in S3. This milestone only needs a window that opens and a green toolchain.Testing
Verified locally (macOS, Zig 0.16.0,
@native-sdk/cli0.4.1):native test→ 3/3 passnative check --strict→ markup +app.zonvalidate against the model contractnative doctor --strict→ cleannative build→zig-out/bin/studio(ReleaseFast)-Dautomation=true,native automate wait→ready=true, widget tree asserted, deterministic screenshot captured. Automated CI coverage of this lands in ci: build/test/check/doctor on macOS + Linux + automation smoke test #2.Security review
.gitignorecovers build artifacts.Closes #1