Skip to content

chore: scaffold Native SDK studio app + project identity#5

Merged
sepehr-safari merged 1 commit into
mainfrom
chore/scaffold-studio-app
Jul 11, 2026
Merged

chore: scaffold Native SDK studio app + project identity#5
sepehr-safari merged 1 commit into
mainfrom
chore/scaffold-studio-app

Conversation

@sepehr-safari

Copy link
Copy Markdown
Member

Summary

Brings up the buildable Native SDK application skeleton and gives it a real project identity. Native-rendered (.native markup + Zig Model/Msg/update) — no WebView, no web frontend (see forthcoming ADR-0003).

Included

  • App skeletonapp.zon manifest, src/main.zig (Model/Msg/update + runner wiring), src/app.native (markup view), src/tests.zig (view/model tests), assets/icon.png.
  • Project metaNOTICE (Apache-2.0), .editorconfig (4-space Zig, 2-space markup/yaml/json/md).
  • Identity — bundle id io.github.ocpp-debugkit.studio, display name / window title OCPP DebugKit Studio, version 0.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/cli 0.4.1):

  • native test → 3/3 pass
  • native check --strict → markup + app.zon validate against the model contract
  • native doctor --strict → clean
  • native buildzig-out/bin/studio (ReleaseFast)
  • Automation smoke: launched with -Dautomation=true, native automate waitready=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

  • No secrets, tokens, or personal data. No untrusted-input surface yet (placeholder app; the trace parser is S1). .gitignore covers build artifacts.

Closes #1

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
@sepehr-safari sepehr-safari merged commit 9b9c257 into main Jul 11, 2026
@sepehr-safari sepehr-safari deleted the chore/scaffold-studio-app branch July 11, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: scaffold Native SDK studio app + project identity

1 participant