@sailsync/mcp 0.6.16 → 0.6.24

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # SailSync MCP
2
2
 
3
+ ## Pending release: Training Block settings
4
+
5
+ The local 0.6.18 contract adds `listSailSyncTrainingBlockSessions` for paginated reads of authorized sessions. Its optional day filter uses the session start date in the block timezone. The earlier 0.6.17 contract adds `listSailSyncTrainingBlocks`,
6
+ `readSailSyncTrainingBlock`, `createSailSyncTrainingBlock` and
7
+ `updateSailSyncTrainingBlock`. This is local implementation work, not a claim
8
+ that the production connector has been updated.
9
+
10
+ Reads require `data:read` and return accessible block metadata, selected sailing
11
+ class and caller capabilities. Creation requires Racer or Gold benefits plus
12
+ `sessions:write`; supply a stable `idempotency_key` and all block settings,
13
+ including `boat_class`. Identical creation retries return the same block.
14
+ Updates require owner authority, `sessions:write`, `expected_scope_version` and
15
+ `expected_lock_version` from a prior read. A class-only edit changes future
16
+ session defaults, not existing sessions or accepted sharing scope.
17
+
18
+ These operations do not invite/enroll sailors, assign existing sessions, fetch
19
+ raw recordings or implement automatic import matching. Those flows remain
20
+ separate Training Blocks work.
21
+
3
22
  Connect your AI assistant to the sailing data your SailSync subscription can access. Discover sessions and event days, read saved race metrics and GPS, use FLO with your credits, and optionally import files or recalculate sessions you own.
4
23
 
5
24
  Requires Node.js 22+ and a SailSync account (Standard, Racer or Gold). Create a personal token at https://www.sailsync.io/integrations. Store it in your client's secret environment settings as `SAILSYNC_API_TOKEN`; do not paste it in chat, a URL or a shared configuration.
@@ -134,3 +153,44 @@ Use getSailSyncLineupStats with direction upwind/downwind/reach/mixed/unknown to
134
153
  ### Relative series (0.6.12)
135
154
 
136
155
  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.
156
+
157
+ ### 0.6.24 staging: lineup outcomes and explicit preparation
158
+
159
+ Version 0.6.24 targets the accepted staging lineup API and hosted MCP release.
160
+ Use `@sailsync/mcp@staging` with `SAILSYNC_API_URL=https://dev.sailsync.io` and
161
+ an independent staging token. Production npm `latest` remains 0.6.16 pending
162
+ production backend acceptance and promotion. A package does not select or deploy
163
+ a backend. Check `getSailSyncAccount.capabilities` and
164
+ `getSailSyncSessionData.lineup_analysis` on the target host. The bridge hides the
165
+ new preparation tools when the connected API does not declare their capability.
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.