@joiner-platform/cli 0.1.4 → 0.1.6

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joiner-platform/cli",
3
- "version": "0.1.4",
4
- "gitHead": "24bfaaefdb337aaca173698ca12ccf93a7d1f4d2",
3
+ "version": "0.1.6",
4
+ "gitHead": "c78f17271ef38afb84bb1d56b2737853959c8a39",
5
5
  "description": "The Joiner CLI: create, test, and publish Joiner tiles, with agent skills for coding agents.",
6
6
  "keywords": [
7
7
  "joiner",
@@ -61,7 +61,7 @@ an older pin, so prefer the live result when upgrading:
61
61
 
62
62
  <!-- begin: sdk-tarball-snippet (auto-generated by packages/poe-tiles-sdk/scripts/publish-tar.ts — do not edit by hand) -->
63
63
  ```json
64
- "joiner-sdk": "https://misc-dev-uploads.quora-913.workers.dev/394270fb8e9733db09412109b8c4fc33fe04a99e0b599fec55eb6c9b76bf7947"
64
+ "joiner-sdk": "https://misc-dev-uploads.quora-913.workers.dev/0b1e9675bf999bf7556faf5168e2aa177cdfad77ba3539c1fb01b1703a6ff902"
65
65
  ```
66
66
  <!-- end: sdk-tarball-snippet -->
67
67
 
@@ -34,7 +34,7 @@ Conventions for games built on Joiner. Apply these unless the app's design has a
34
34
  Do not widen the window to hundreds of milliseconds to keep more stamps: a stale stamp inside the window still moves the tap early by up to that much.
35
35
  - **Highlight tappable inputs.** When only a subset of elements are interactive at a given moment (e.g. in a card game where only some cards are legally playable), visually distinguish them — glow, border, opacity, scale. Non-interactive elements should look non-interactive. Players shouldn't have to tap to discover what's allowed.
36
36
  - **Give immediate feedback on every input** — visual state change, haptic (`Poe.haptics.impact("light")` / `Poe.haptics.selection()` for ticks, `Poe.haptics.notification("success"|"error")` for outcomes — see [client-api.md](./client-api.md#poe-haptics)), or sound. Never let a tap feel like it did nothing, even if the move is illegal (show *why* it was rejected).
37
- - **At the moments the player earns or loses something, that choice becomes a requirement to combine channels.** Ordinary input acknowledgement can pick any one of the three above. Scoring, failing, and completing a round need a sound **and** at least one of the others: haptics do not exist on desktop and are off on a phone with the switch flipped, and a visual flourish is easy to miss when the player is looking elsewhere on the board. Give distinct outcomes distinct cues — a score and a crash must not be the same cue at a different pitch. Where a `generate_sound_effect` tool is available, generate every cue with it instead of synthesizing tones with Web Audio oscillators (read the `audio-generation` skill first); otherwise reuse the generated cues the tile already has (`assets/sfx-*.mp3`, loaded as the `audio-generation` skill describes) and synthesize only the missing cues with Web Audio. Vary the pitch slightly across repeats so a long run does not become a metronome, and never loop background music by default. Create or resume the context from a real user gesture and call `resumeAudioContext(context)` from `joiner-sdk/v1/client.js` before scheduling on a reused context — WebKit parks a context in the non-standard `"interrupted"` state after an alarm or call, so checking only for `"suspended"` leaves the tile silent until it is reopened. On an iPhone the platform keeps a running context audible when the silent switch is on, which also pauses the player's music, so suspend the context while the tile is muted or has nothing to play. Offer a mute control and persist the choice. Sound reinforces; it must never be the only carrier of information.
37
+ - **At the moments the player earns or loses something, that choice becomes a requirement to combine channels.** Ordinary input acknowledgement can pick any one of the three above. Scoring, failing, and completing a round need a sound **and** at least one of the others: haptics do not exist on desktop and are off on a phone with the switch flipped, and a visual flourish is easy to miss when the player is looking elsewhere on the board. Give distinct outcomes distinct cues — a score and a crash must not be the same cue at a different pitch. Where a `generate_sound_effect` tool is available, generate every cue with it instead of synthesizing tones with Web Audio oscillators (read the `audio-generation` skill first); otherwise reuse the generated cues the tile already has (`assets/sfx-*.mp3`, loaded as the `audio-generation` skill describes) and synthesize only the missing cues with Web Audio. Vary the pitch slightly across repeats so a long run does not become a metronome, and never loop background music by default. Create or resume the context from a real user gesture and call `resumeAudioContext(context)` from `joiner-sdk/v1/client.js` before scheduling on a reused context — WebKit parks a context in the non-standard `"interrupted"` state after an alarm or call, so checking only for `"suspended"` leaves the tile silent until it is reopened. Offer a mute control and persist the choice. Sound reinforces; it must never be the only carrier of information.
38
38
  - <a id="cue-level-and-the-core-loop"></a>**Choose the peak level deliberately, and give the core loop an escalating cue.** You cannot hear your own tile, so both of these are decisions to make in code rather than checks to make by ear. A cue peaking below roughly a tenth of full scale vanishes under ambient noise on a phone speaker, which makes it decoration rather than feedback; pick a level that carries, keep the loudest cue short enough not to startle, and hold it in a named constant instead of scattering literals so it can be reviewed and retuned in one place. Separately: **if the tile has one action the player repeats as its core loop** — a drop, a stack, a shot, a match — then succeeding at that action earns its own cue, and a *run* of successes must sound different from a single one, escalating through added layers, added harmony, or a small rise in pitch. A game built on repetition is carried by the sound acknowledging the streak, not merely the event; a single flat blip per success leaves the reward loop silent at exactly the moment it should be most satisfying. If the tile has no such repeated action, skip this part.
39
39
  - <a id="show-the-change-where-it-happens"></a>**Show a change to the score where the action happened, not only in the HUD.** A player mid-action is looking at their hands and at the thing they just hit, not at a counter in a corner, so a number that only ticks in the HUD is invisible at the exact moment it was earned. When an accepted action changes a score, a streak, a life count, or a clock the player is playing for, spawn the *delta* at the point of contact — `+1`, `+12`, `x3` — hold it for a readable beat, and let it leave on its own. When a streak or a multiplier is what made the delta large, the delta must show that it was multiplied rather than only its total, or the player learns nothing about why this hit paid more than the last one. Keep these transient and non-interactive (`pointer-events: none`) so they never swallow a tap, cap how many can exist at once with a named constant so a long run cannot flood the frame, and honour `prefers-reduced-motion` by holding the number still instead of animating it.
40
40
  - <a id="acted-on-objects-need-two-states"></a>**Every object the player acts on needs a before and an after that differ in more than position.** The player-character rule covers the thing the player *controls*; this covers the things the player *hits*. An object that simply disappears on contact reads as a bug rather than as a hit: the player cannot tell a successful slice, capture, or destruction from an object that fell off the screen, or from their own input being dropped. Give the successful action a visible consequence that inherits the motion which caused it — halves that separate along the stroke, debris that keeps the object's velocity, a burst at the contact point — and give the failed or ignored case its own distinct visual so the two can never be confused. Choose the count, lifetime, and travel from named constants.
@@ -1,4 +1,4 @@
1
1
  // Auto-generated by poe-tiles-sdk/scripts/publish-tar.ts — do not edit
2
- // publishedAt: 2026-11-25T00:35:58.080Z
2
+ // publishedAt: 2026-11-25T01:39:40.937Z
3
3
  export const SDK_TARBALL_URL =
4
- "https://misc-dev-uploads.quora-913.workers.dev/394270fb8e9733db09412109b8c4fc33fe04a99e0b599fec55eb6c9b76bf7947";
4
+ "https://misc-dev-uploads.quora-913.workers.dev/0b1e9675bf999bf7556faf5168e2aa177cdfad77ba3539c1fb01b1703a6ff902";