Commit 9ddd561
feat(latchshot): expose paid-plan continuation links (oomol-lab#155)
## Summary
- pass through the three stable paid-plan continuation URLs returned by
Latchshot's `GET /v1/usage`
- publish those URLs in the `get_usage` output schema
- state explicitly that `get_usage` never initiates payment or an
upgrade
- reject missing or malformed continuation fields instead of returning
an output that violates the action schema
## Why
I maintain Latchshot. Its authenticated usage response now includes
links to the public plan comparison, the human paid-plan request form,
and the authenticated request API documentation. The accepted Open
Connector provider currently drops those fields.
This keeps commercial continuation discoverable to an Open Connector
user while preserving the existing boundary: `get_usage` is read-only,
and the provider still has no payment or plan-changing action.
## Scope and security
- no new action, endpoint, redirect, credential behavior, or egress
destination
- the provider still calls only the fixed `https://latchshot.fly.dev`
origin
- no payment information is read or stored
- output remains bounded JSON from the existing usage request
## Validation
- `npm run fix-check`
- `npm run generate:catalog` — 1,093 apps / 11,177 actions
- focused Latchshot tests: 10/10 passed
- full suite: 700/700 passed across 76 files
- `git diff --check`
Co-authored-by: Andy Lyu <andy@example.com>1 parent f975e21 commit 9ddd561
3 files changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| 165 | + | |
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
| |||
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
171 | | - | |
| 178 | + | |
| 179 | + | |
172 | 180 | | |
173 | 181 | | |
174 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
205 | 217 | | |
206 | 218 | | |
207 | 219 | | |
| |||
278 | 290 | | |
279 | 291 | | |
280 | 292 | | |
| 293 | + | |
281 | 294 | | |
282 | 295 | | |
283 | 296 | | |
| |||
307 | 320 | | |
308 | 321 | | |
309 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
310 | 332 | | |
311 | 333 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
264 | 275 | | |
265 | 276 | | |
266 | 277 | | |
| |||
0 commit comments