@pellux/goodvibes-contracts 1.6.1 → 1.7.1

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.
Files changed (33) hide show
  1. package/artifacts/operator-contract.json +7590 -1633
  2. package/artifacts/operator-openapi.json +92169 -0
  3. package/artifacts/python/homeassistant_operator_client.py +630 -0
  4. package/dist/core-verbs.d.ts.map +1 -1
  5. package/dist/core-verbs.js +51 -2
  6. package/dist/generated/foundation-client-types.d.ts +943 -2
  7. package/dist/generated/foundation-client-types.d.ts.map +1 -1
  8. package/dist/generated/foundation-metadata.d.ts +3 -3
  9. package/dist/generated/foundation-metadata.js +3 -3
  10. package/dist/generated/mock-daemon-fixtures.d.ts +11 -0
  11. package/dist/generated/mock-daemon-fixtures.d.ts.map +1 -0
  12. package/dist/generated/mock-daemon-fixtures.js +16279 -0
  13. package/dist/generated/operator-contract.d.ts.map +1 -1
  14. package/dist/generated/operator-contract.js +7590 -1633
  15. package/dist/generated/operator-method-ids.d.ts +1 -1
  16. package/dist/generated/operator-method-ids.d.ts.map +1 -1
  17. package/dist/generated/operator-method-ids.js +51 -0
  18. package/dist/generated/runtime-event-domains.d.ts +1 -1
  19. package/dist/generated/runtime-event-domains.d.ts.map +1 -1
  20. package/dist/generated/runtime-event-domains.js +1 -0
  21. package/dist/generated/webui-facade.d.ts +51 -0
  22. package/dist/generated/webui-facade.d.ts.map +1 -0
  23. package/dist/generated/webui-facade.js +18609 -0
  24. package/dist/testing/conformance.d.ts +56 -0
  25. package/dist/testing/conformance.d.ts.map +1 -0
  26. package/dist/testing/conformance.js +50 -0
  27. package/dist/testing/index.d.ts +16 -0
  28. package/dist/testing/index.d.ts.map +1 -0
  29. package/dist/testing/index.js +15 -0
  30. package/dist/testing/mock-daemon.d.ts +58 -0
  31. package/dist/testing/mock-daemon.d.ts.map +1 -0
  32. package/dist/testing/mock-daemon.js +96 -0
  33. package/package.json +14 -1
@@ -127,6 +127,13 @@ export const EXEMPT_VERB_CATEGORIES = {
127
127
  // verb (auth, OTLP ingestion, contract introspection, GraphQL execution).
128
128
  'login', 'current', 'contract', 'schema', 'execute', 'logs', 'metrics', 'traces', 'web',
129
129
  ],
130
+ 'relay-step-up-ceremony': [
131
+ // The relay WebAuthn step-up ceremony: `mint` issues a single-use challenge a
132
+ // surface signs with a passkey before a mutating relay call — named for the
133
+ // cryptographic act, not a generic CRUD lifecycle. (Credential `register` is
134
+ // already a CORE_VERB.)
135
+ 'mint',
136
+ ],
130
137
  'ingest-and-content': [
131
138
  // Content-shaped verbs describing what is being brought in or produced,
132
139
  // not a generic lifecycle action.
@@ -147,8 +154,11 @@ export const EXEMPT_VERB_CATEGORIES = {
147
154
  ],
148
155
  'reporting-and-diagnostics': [
149
156
  // Read-shaped diagnostic/reporting endpoints named for their specific
150
- // report, not a generic "get"/"list".
151
- 'doctor', 'stats', 'capacity', 'settings', 'catalog', 'reject', 'review-queue',
157
+ // report, not a generic "get"/"list". `report` is the feature-flag
158
+ // graduation report (flags.graduation.report) a whole-report read whose
159
+ // shape (per-flag state + evidence + release-blocker list) is a named
160
+ // report, not a generic get of one record.
161
+ 'doctor', 'stats', 'capacity', 'settings', 'catalog', 'reject', 'review-queue', 'report',
152
162
  ],
153
163
  'memory-record-store': [
154
164
  // The daemon-owned canonical memory store mirrors the MemoryStore engine's
@@ -173,6 +183,45 @@ export const EXEMPT_VERB_CATEGORIES = {
173
183
  // core verbs (push.subscriptions.create/list/delete, push.vapid.get).
174
184
  'verify',
175
185
  ],
186
+ 'rewind-safety': [
187
+ // The unified message-anchored rewind (rewind.plan / rewind.apply): a
188
+ // terraform-style dry-run/apply pair over the platform's existing history
189
+ // stores. `plan` computes exactly what a rewind to a turn anchor would
190
+ // change and mints a single-use confirm token (read-only); `apply` consumes
191
+ // it to restore files and/or conversation, recording an undo point so the
192
+ // rewind is reversible. Not generic CRUD/lifecycle words — a safety-gated
193
+ // whole-session rewind surface, sibling to checkpoint-restore-safety.
194
+ 'plan', 'apply',
195
+ ],
196
+ 'hunk-revert-safety': [
197
+ // Per-hunk reverse-apply on the live working tree (checkpoints.revertHunkPreview /
198
+ // checkpoints.revertHunk): the comment-on-hunk review surfaces hand back ONE
199
+ // unified-diff hunk and ask for exactly it to be undone. `revertHunkPreview`
200
+ // validates the hunk still reverse-applies cleanly and mints a single-use
201
+ // confirm token (read-only); `revertHunk` consumes it to snapshot-then-reverse-
202
+ // apply that one hunk, emitting a receipt. Not generic CRUD/lifecycle words —
203
+ // a safety-gated per-hunk workspace mutation, sibling to checkpoint-restore-safety.
204
+ 'revertHunk', 'revertHunkPreview',
205
+ ],
206
+ 'checkpoint-restore-safety': [
207
+ // Server-side confirmation preview for the destructive checkpoints.restore:
208
+ // checkpoints.restorePreview computes what a restore would change and mints
209
+ // a short-lived, single-use confirmToken authorizing the matching restore.
210
+ // Read-only (no workspace rewrite) — a distinct verb from `restore` so the
211
+ // preview can hold read scope while restore keeps write scope. Not a generic
212
+ // CRUD/lifecycle word: it is a safety-gate operation specific to the
213
+ // whole-workspace rewind surface.
214
+ 'restorePreview',
215
+ ],
216
+ 'best-of-n-attempts': [
217
+ // Best-of-N sibling attempts on the fleet surface (fleet.attempts.pick /
218
+ // fleet.attempts.judge; fleet.attempts.list uses the core `list`). `pick`
219
+ // accepts one attempt as the winner (merging it, cleaning the losers);
220
+ // `judge` runs a model to PROPOSE a winner with reasons (clearly model
221
+ // judgment, never an auto-pick unless opted in). Not generic CRUD/lifecycle
222
+ // words — a best-of-N resolution surface over held-merge candidate groups.
223
+ 'pick', 'judge',
224
+ ],
176
225
  'fleet-archive': [
177
226
  // Session-scoped fleet archive transitions (runtime/fleet/archive.ts):
178
227
  // moving a FINISHED process subtree out of the live fleet view and back.