@sailsync/mcp 0.6.16 → 0.6.25
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/README.md +60 -0
- package/dist/sailsync-mcp.cjs +14 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,6 +31,23 @@ The server never asks for your SailSync password. Revoke or replace a connection
|
|
|
31
31
|
|
|
32
32
|
This package contains only the standalone bridge and its embedded public API contract; it does not need a Rails checkout or additional runtime dependencies.
|
|
33
33
|
|
|
34
|
+
## Training Blocks in 0.6.25
|
|
35
|
+
|
|
36
|
+
Use `listSailSyncTrainingBlocks` to find an accessible block and
|
|
37
|
+
`listSailSyncTrainingBlockSessions` to find its sessions. The optional
|
|
38
|
+
`day` filter uses the session start date in the block’s time zone.
|
|
39
|
+
|
|
40
|
+
A managing coach can add an eligible recording to a session they own:
|
|
41
|
+
|
|
42
|
+
1. Call `listSailSyncBlockSessionRecordings` with the block `id` and `session_id`. It requires `data:read`. Use `next_before_id` as `before_id` to read another page.
|
|
43
|
+
2. Call `attachSailSyncBlockSessionRecording` with those IDs, the selected `recording_id`, its `version`, the page’s `target_version`, a `role` and an `idempotency_key`. The token needs both `data:read` and `sessions:write`. Reuse the key for an identical retry. If a version is stale, list again and review the current selection.
|
|
44
|
+
|
|
45
|
+
Create and update operations accept `calendar_color` and `required_authorizations`.
|
|
46
|
+
Read the block before editing to obtain `expected_scope_version` and
|
|
47
|
+
`expected_lock_version`. For enrollment, use the organization candidate list.
|
|
48
|
+
If direct enrollment returns `invitation_required`, invite the sailor to accept
|
|
49
|
+
the block’s terms. Supply exactly one of `email` or a returned `contact_id`.
|
|
50
|
+
|
|
34
51
|
## Saved race-leg metric selection
|
|
35
52
|
|
|
36
53
|
`getSailSyncRaceResults` and `getSailSyncRaceFacts` accept `metrics` and
|
|
@@ -134,3 +151,46 @@ Use getSailSyncLineupStats with direction upwind/downwind/reach/mixed/unknown to
|
|
|
134
151
|
### Relative series (0.6.12)
|
|
135
152
|
|
|
136
153
|
Version 0.6.12 adds `reference_boat_id` and `progress_m` to `prepareSailSyncLineupSeries`, retaining actual values alongside same-time boat-minus-reference comparisons and applied-file wind context. It requires the matching backend; check the registry tag and developer portal for release availability. Output sampling and trailing averaging are independent; progress keeps the original lineup start and is neither physical separation nor integrated VMG. Unsupported angle/tack/sensor evidence remains null with reasons. Choose exact ranges/boats/metrics and retain coverage, wind provenance and metric definitions when making coaching comparisons.
|
|
154
|
+
|
|
155
|
+
### 0.6.24: lineup outcomes and explicit preparation
|
|
156
|
+
|
|
157
|
+
Version 0.6.24 introduced lineup outcomes and preparation on production and staging. Use production by default, or keep a separate staging
|
|
158
|
+
connection with `SAILSYNC_API_URL=https://dev.sailsync.io` and a staging token.
|
|
159
|
+
Check `getSailSyncAccount.capabilities` and
|
|
160
|
+
`getSailSyncSessionData.lineup_analysis` on the target host. The bridge hides new
|
|
161
|
+
preparation tools when the connected API does not declare their capability.
|
|
162
|
+
Older saved sessions need recomputation to populate the new outcome/table
|
|
163
|
+
fields; unavailable evidence remains explicit. The immutable published tarball's
|
|
164
|
+
README reflects its initial staging release; consult the developer portal and
|
|
165
|
+
`published.json` for current availability.
|
|
166
|
+
|
|
167
|
+
`getSailSyncLineupStats` passes through validated complete-cohort winners and
|
|
168
|
+
exact ties, VMG displacement/progress gaps, frozen starting-position gaps and
|
|
169
|
+
supported sensor/travel/yaw/maneuver metrics. A paged boat list never defines a
|
|
170
|
+
new winner. Null means unavailable, not zero; inspect outcome/table contexts.
|
|
171
|
+
These are descriptive lineup results, not official scoring or regatta standings.
|
|
172
|
+
GPS sailed distance, wind-projected displacement, progress gained and starting
|
|
173
|
+
position are separate fields with explicit units and references.
|
|
174
|
+
|
|
175
|
+
`prepareSailSyncLineupDistributions` explicitly prepares per-lineup and/or
|
|
176
|
+
per-direction/local-day aggregate violins. It reuses the web's pre-decimation
|
|
177
|
+
sampling, weighting and KDE, not chart display values or table averages. Select
|
|
178
|
+
exact lineups/boats/metrics. Bounds are 8 boats, 10 lineups, 40,000 distinct
|
|
179
|
+
metric/classifier samples, 12,288 conservative density points, 16 MiB/source,
|
|
180
|
+
32 MiB total sources/input, a 15 s preparation budget and 1 MiB result. Source
|
|
181
|
+
cost remains relevant for short windows. Larger requests refuse instead of
|
|
182
|
+
reducing the fleet or statistical resolution. Results are privately cached for
|
|
183
|
+
five minutes, source/input/wind/publication pinned and access rechecked.
|
|
184
|
+
|
|
185
|
+
`prepareSailSyncLineupReportHandoff` returns a relative `web_path` that prefills
|
|
186
|
+
the existing web lineup report editor. Resolve it against the API environment's
|
|
187
|
+
web origin. Normal browser login, session access and report credit rules apply.
|
|
188
|
+
It never generates a report or spends credits. Never append a bearer token,
|
|
189
|
+
password, sharing code or redirect target. The user must review and explicitly
|
|
190
|
+
choose Generate in the web editor. Paths over 1,800 bytes refuse; narrow the
|
|
191
|
+
selection rather than truncating it. The web report does not support the native
|
|
192
|
+
`progressGap` column; unsupported IDs are not substituted with another distance.
|
|
193
|
+
|
|
194
|
+
Both new tools use `data:read` and read-only MCP annotations. They do not unlock
|
|
195
|
+
days, run FLO, apply wind, import sources or recalculate metrics. Native JWT and
|
|
196
|
+
caller-provided share-code authentication remain outside the integration API.
|