@pellux/goodvibes-contracts 1.9.0 → 1.10.0
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/artifacts/operator-contract.json +531 -6
- package/artifacts/operator-openapi.json +584 -2
- package/artifacts/python/homeassistant_operator_client.py +2 -2
- package/dist/generated/foundation-client-types.d.ts +95 -0
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +2 -2
- package/dist/generated/foundation-metadata.js +2 -2
- package/dist/generated/mock-daemon-fixtures.d.ts.map +1 -1
- package/dist/generated/mock-daemon-fixtures.js +128 -0
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +531 -6
- package/dist/generated/operator-method-ids.d.ts +1 -1
- package/dist/generated/operator-method-ids.d.ts.map +1 -1
- package/dist/generated/operator-method-ids.js +3 -0
- package/dist/generated/webui-facade.d.ts +2 -2
- package/dist/generated/webui-facade.d.ts.map +1 -1
- package/dist/generated/webui-facade.js +128 -0
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "GoodVibes Operator API",
|
|
5
|
-
"version": "1.
|
|
6
|
-
"description": "Generated from the operator contract (packages/contracts/artifacts/operator-contract.json).
|
|
5
|
+
"version": "1.10.0",
|
|
6
|
+
"description": "Generated from the operator contract (packages/contracts/artifacts/operator-contract.json). 415 cataloged methods: 364 with dedicated REST bindings, 51 reachable only through the generic invoke endpoint. 97 methods lack typed SDK client IO and are marked with `x-typed-client-io: false` — they are represented honestly, never omitted. Regenerate with `bun run openapi:generate`; drift fails `contracts:check`."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -30433,6 +30433,154 @@
|
|
|
30433
30433
|
]
|
|
30434
30434
|
}
|
|
30435
30435
|
},
|
|
30436
|
+
"/api/ops/memory": {
|
|
30437
|
+
"get": {
|
|
30438
|
+
"operationId": "ops.memory.get",
|
|
30439
|
+
"summary": "Get Memory Governance State",
|
|
30440
|
+
"description": "The MemoryGovernor snapshot: the current memory-pressure tier and budget, resident set size and heap, per-cache footprints the governor can shrink, which deferrable background jobs are paused, and the leak-tripwire state. Read-only observability so operators can see the daemon shedding memory before it approaches OOM.",
|
|
30441
|
+
"tags": [
|
|
30442
|
+
"health"
|
|
30443
|
+
],
|
|
30444
|
+
"responses": {
|
|
30445
|
+
"200": {
|
|
30446
|
+
"description": "Success",
|
|
30447
|
+
"content": {
|
|
30448
|
+
"application/json": {
|
|
30449
|
+
"schema": {
|
|
30450
|
+
"type": "object",
|
|
30451
|
+
"properties": {
|
|
30452
|
+
"tier": {
|
|
30453
|
+
"type": "string",
|
|
30454
|
+
"enum": [
|
|
30455
|
+
"normal",
|
|
30456
|
+
"elevated",
|
|
30457
|
+
"high",
|
|
30458
|
+
"critical"
|
|
30459
|
+
]
|
|
30460
|
+
},
|
|
30461
|
+
"budgetMb": {
|
|
30462
|
+
"type": "number"
|
|
30463
|
+
},
|
|
30464
|
+
"rssMb": {
|
|
30465
|
+
"type": "number"
|
|
30466
|
+
},
|
|
30467
|
+
"heapUsedMb": {
|
|
30468
|
+
"type": "number"
|
|
30469
|
+
},
|
|
30470
|
+
"heapTotalMb": {
|
|
30471
|
+
"type": "number"
|
|
30472
|
+
},
|
|
30473
|
+
"usedPct": {
|
|
30474
|
+
"type": "number"
|
|
30475
|
+
},
|
|
30476
|
+
"refusingExpensiveWork": {
|
|
30477
|
+
"type": "boolean"
|
|
30478
|
+
},
|
|
30479
|
+
"caches": {
|
|
30480
|
+
"type": "array",
|
|
30481
|
+
"items": {
|
|
30482
|
+
"type": "object",
|
|
30483
|
+
"properties": {
|
|
30484
|
+
"id": {
|
|
30485
|
+
"type": "string"
|
|
30486
|
+
},
|
|
30487
|
+
"name": {
|
|
30488
|
+
"type": "string"
|
|
30489
|
+
},
|
|
30490
|
+
"entries": {
|
|
30491
|
+
"type": "number"
|
|
30492
|
+
},
|
|
30493
|
+
"estimatedBytes": {
|
|
30494
|
+
"type": "number"
|
|
30495
|
+
}
|
|
30496
|
+
},
|
|
30497
|
+
"required": [
|
|
30498
|
+
"id",
|
|
30499
|
+
"name",
|
|
30500
|
+
"entries"
|
|
30501
|
+
],
|
|
30502
|
+
"additionalProperties": false
|
|
30503
|
+
}
|
|
30504
|
+
},
|
|
30505
|
+
"pausedJobs": {
|
|
30506
|
+
"type": "array",
|
|
30507
|
+
"items": {
|
|
30508
|
+
"type": "string"
|
|
30509
|
+
}
|
|
30510
|
+
},
|
|
30511
|
+
"tripwire": {
|
|
30512
|
+
"type": "object",
|
|
30513
|
+
"properties": {
|
|
30514
|
+
"armed": {
|
|
30515
|
+
"type": "boolean"
|
|
30516
|
+
},
|
|
30517
|
+
"sustainedSec": {
|
|
30518
|
+
"type": "number"
|
|
30519
|
+
},
|
|
30520
|
+
"rateMbPerSec": {
|
|
30521
|
+
"type": "number"
|
|
30522
|
+
}
|
|
30523
|
+
},
|
|
30524
|
+
"required": [
|
|
30525
|
+
"armed",
|
|
30526
|
+
"sustainedSec",
|
|
30527
|
+
"rateMbPerSec"
|
|
30528
|
+
],
|
|
30529
|
+
"additionalProperties": false
|
|
30530
|
+
},
|
|
30531
|
+
"thresholds": {
|
|
30532
|
+
"type": "object",
|
|
30533
|
+
"properties": {
|
|
30534
|
+
"elevatedPct": {
|
|
30535
|
+
"type": "number"
|
|
30536
|
+
},
|
|
30537
|
+
"highPct": {
|
|
30538
|
+
"type": "number"
|
|
30539
|
+
},
|
|
30540
|
+
"criticalPct": {
|
|
30541
|
+
"type": "number"
|
|
30542
|
+
}
|
|
30543
|
+
},
|
|
30544
|
+
"required": [
|
|
30545
|
+
"elevatedPct",
|
|
30546
|
+
"highPct",
|
|
30547
|
+
"criticalPct"
|
|
30548
|
+
],
|
|
30549
|
+
"additionalProperties": false
|
|
30550
|
+
}
|
|
30551
|
+
},
|
|
30552
|
+
"required": [
|
|
30553
|
+
"tier",
|
|
30554
|
+
"budgetMb",
|
|
30555
|
+
"rssMb",
|
|
30556
|
+
"heapUsedMb",
|
|
30557
|
+
"usedPct",
|
|
30558
|
+
"refusingExpensiveWork",
|
|
30559
|
+
"caches",
|
|
30560
|
+
"pausedJobs",
|
|
30561
|
+
"tripwire",
|
|
30562
|
+
"thresholds"
|
|
30563
|
+
],
|
|
30564
|
+
"additionalProperties": false
|
|
30565
|
+
}
|
|
30566
|
+
}
|
|
30567
|
+
}
|
|
30568
|
+
},
|
|
30569
|
+
"default": {
|
|
30570
|
+
"$ref": "#/components/responses/Error"
|
|
30571
|
+
}
|
|
30572
|
+
},
|
|
30573
|
+
"x-typed-client-io": true,
|
|
30574
|
+
"x-access": "authenticated",
|
|
30575
|
+
"x-transport": [
|
|
30576
|
+
"http",
|
|
30577
|
+
"ws"
|
|
30578
|
+
],
|
|
30579
|
+
"x-scopes": [
|
|
30580
|
+
"read:health"
|
|
30581
|
+
]
|
|
30582
|
+
}
|
|
30583
|
+
},
|
|
30436
30584
|
"/api/power/keep-awake": {
|
|
30437
30585
|
"post": {
|
|
30438
30586
|
"operationId": "power.keepAwake.set",
|
|
@@ -30790,6 +30938,413 @@
|
|
|
30790
30938
|
]
|
|
30791
30939
|
}
|
|
30792
30940
|
},
|
|
30941
|
+
"/api/voice/local/install": {
|
|
30942
|
+
"post": {
|
|
30943
|
+
"operationId": "voice.local.install",
|
|
30944
|
+
"summary": "Install the Managed Local-Voice Runtime",
|
|
30945
|
+
"description": "One-act setup: download + checksum-verify the piper TTS engine, a default voice, and (where a pinned goodvibes-built bundle exists) the whisper.cpp STT engine with its default model into the goodvibes-managed directory, then point the voice.local.* config keys at the managed install — never overwriting a key you already set to a custom value (skipped keys are reported). After this, local TTS works with zero further configuration. Downloads only when you ask; a failed or checksum-mismatched download keeps nothing.",
|
|
30946
|
+
"tags": [
|
|
30947
|
+
"health"
|
|
30948
|
+
],
|
|
30949
|
+
"responses": {
|
|
30950
|
+
"200": {
|
|
30951
|
+
"description": "Success",
|
|
30952
|
+
"content": {
|
|
30953
|
+
"application/json": {
|
|
30954
|
+
"schema": {
|
|
30955
|
+
"type": "object",
|
|
30956
|
+
"properties": {
|
|
30957
|
+
"provisioned": {
|
|
30958
|
+
"type": "boolean"
|
|
30959
|
+
},
|
|
30960
|
+
"platform": {
|
|
30961
|
+
"anyOf": [
|
|
30962
|
+
{
|
|
30963
|
+
"type": "string"
|
|
30964
|
+
},
|
|
30965
|
+
{
|
|
30966
|
+
"type": "null"
|
|
30967
|
+
}
|
|
30968
|
+
]
|
|
30969
|
+
},
|
|
30970
|
+
"tts": {
|
|
30971
|
+
"type": "object",
|
|
30972
|
+
"properties": {
|
|
30973
|
+
"engine": {
|
|
30974
|
+
"type": "string"
|
|
30975
|
+
},
|
|
30976
|
+
"state": {
|
|
30977
|
+
"type": "string",
|
|
30978
|
+
"enum": [
|
|
30979
|
+
"provisioned",
|
|
30980
|
+
"unsupported-platform",
|
|
30981
|
+
"download-failed",
|
|
30982
|
+
"checksum-mismatch"
|
|
30983
|
+
]
|
|
30984
|
+
},
|
|
30985
|
+
"binaryPath": {
|
|
30986
|
+
"type": "string"
|
|
30987
|
+
},
|
|
30988
|
+
"modelPath": {
|
|
30989
|
+
"type": "string"
|
|
30990
|
+
},
|
|
30991
|
+
"reason": {
|
|
30992
|
+
"type": "string"
|
|
30993
|
+
}
|
|
30994
|
+
},
|
|
30995
|
+
"required": [
|
|
30996
|
+
"engine",
|
|
30997
|
+
"state"
|
|
30998
|
+
],
|
|
30999
|
+
"additionalProperties": false
|
|
31000
|
+
},
|
|
31001
|
+
"stt": {
|
|
31002
|
+
"type": "object",
|
|
31003
|
+
"properties": {
|
|
31004
|
+
"engine": {
|
|
31005
|
+
"type": "string"
|
|
31006
|
+
},
|
|
31007
|
+
"state": {
|
|
31008
|
+
"type": "string",
|
|
31009
|
+
"enum": [
|
|
31010
|
+
"provisioned",
|
|
31011
|
+
"unsupported-platform",
|
|
31012
|
+
"download-failed",
|
|
31013
|
+
"checksum-mismatch",
|
|
31014
|
+
"bundle-unavailable",
|
|
31015
|
+
"sideload-mismatch"
|
|
31016
|
+
]
|
|
31017
|
+
},
|
|
31018
|
+
"binaryPath": {
|
|
31019
|
+
"type": "string"
|
|
31020
|
+
},
|
|
31021
|
+
"modelPath": {
|
|
31022
|
+
"type": "string"
|
|
31023
|
+
},
|
|
31024
|
+
"reason": {
|
|
31025
|
+
"type": "string"
|
|
31026
|
+
}
|
|
31027
|
+
},
|
|
31028
|
+
"required": [
|
|
31029
|
+
"engine",
|
|
31030
|
+
"state"
|
|
31031
|
+
],
|
|
31032
|
+
"additionalProperties": false
|
|
31033
|
+
},
|
|
31034
|
+
"components": {
|
|
31035
|
+
"type": "array",
|
|
31036
|
+
"items": {
|
|
31037
|
+
"type": "object",
|
|
31038
|
+
"properties": {
|
|
31039
|
+
"id": {
|
|
31040
|
+
"type": "string"
|
|
31041
|
+
},
|
|
31042
|
+
"state": {
|
|
31043
|
+
"type": "string",
|
|
31044
|
+
"enum": [
|
|
31045
|
+
"installed",
|
|
31046
|
+
"skipped",
|
|
31047
|
+
"failed"
|
|
31048
|
+
]
|
|
31049
|
+
},
|
|
31050
|
+
"bytes": {
|
|
31051
|
+
"type": "number"
|
|
31052
|
+
},
|
|
31053
|
+
"error": {
|
|
31054
|
+
"type": "string"
|
|
31055
|
+
}
|
|
31056
|
+
},
|
|
31057
|
+
"required": [
|
|
31058
|
+
"id",
|
|
31059
|
+
"state"
|
|
31060
|
+
],
|
|
31061
|
+
"additionalProperties": false
|
|
31062
|
+
}
|
|
31063
|
+
},
|
|
31064
|
+
"configured": {
|
|
31065
|
+
"type": "object",
|
|
31066
|
+
"properties": {
|
|
31067
|
+
"set": {
|
|
31068
|
+
"type": "array",
|
|
31069
|
+
"items": {
|
|
31070
|
+
"type": "object",
|
|
31071
|
+
"properties": {
|
|
31072
|
+
"key": {
|
|
31073
|
+
"type": "string"
|
|
31074
|
+
},
|
|
31075
|
+
"value": {
|
|
31076
|
+
"type": "string"
|
|
31077
|
+
}
|
|
31078
|
+
},
|
|
31079
|
+
"required": [
|
|
31080
|
+
"key",
|
|
31081
|
+
"value"
|
|
31082
|
+
],
|
|
31083
|
+
"additionalProperties": false
|
|
31084
|
+
}
|
|
31085
|
+
},
|
|
31086
|
+
"skipped": {
|
|
31087
|
+
"type": "array",
|
|
31088
|
+
"items": {
|
|
31089
|
+
"type": "object",
|
|
31090
|
+
"properties": {
|
|
31091
|
+
"key": {
|
|
31092
|
+
"type": "string"
|
|
31093
|
+
},
|
|
31094
|
+
"reason": {
|
|
31095
|
+
"type": "string"
|
|
31096
|
+
}
|
|
31097
|
+
},
|
|
31098
|
+
"required": [
|
|
31099
|
+
"key",
|
|
31100
|
+
"reason"
|
|
31101
|
+
],
|
|
31102
|
+
"additionalProperties": false
|
|
31103
|
+
}
|
|
31104
|
+
}
|
|
31105
|
+
},
|
|
31106
|
+
"required": [
|
|
31107
|
+
"set",
|
|
31108
|
+
"skipped"
|
|
31109
|
+
],
|
|
31110
|
+
"additionalProperties": false
|
|
31111
|
+
}
|
|
31112
|
+
},
|
|
31113
|
+
"required": [
|
|
31114
|
+
"provisioned",
|
|
31115
|
+
"platform",
|
|
31116
|
+
"tts",
|
|
31117
|
+
"stt",
|
|
31118
|
+
"components",
|
|
31119
|
+
"configured"
|
|
31120
|
+
],
|
|
31121
|
+
"additionalProperties": false
|
|
31122
|
+
}
|
|
31123
|
+
}
|
|
31124
|
+
}
|
|
31125
|
+
},
|
|
31126
|
+
"default": {
|
|
31127
|
+
"$ref": "#/components/responses/Error"
|
|
31128
|
+
}
|
|
31129
|
+
},
|
|
31130
|
+
"x-typed-client-io": true,
|
|
31131
|
+
"x-access": "authenticated",
|
|
31132
|
+
"x-transport": [
|
|
31133
|
+
"http",
|
|
31134
|
+
"ws"
|
|
31135
|
+
],
|
|
31136
|
+
"x-scopes": [
|
|
31137
|
+
"write:config"
|
|
31138
|
+
],
|
|
31139
|
+
"requestBody": {
|
|
31140
|
+
"required": true,
|
|
31141
|
+
"content": {
|
|
31142
|
+
"application/json": {
|
|
31143
|
+
"schema": {
|
|
31144
|
+
"type": "object",
|
|
31145
|
+
"properties": {},
|
|
31146
|
+
"additionalProperties": false
|
|
31147
|
+
}
|
|
31148
|
+
}
|
|
31149
|
+
}
|
|
31150
|
+
}
|
|
31151
|
+
}
|
|
31152
|
+
},
|
|
31153
|
+
"/api/voice/local/status": {
|
|
31154
|
+
"get": {
|
|
31155
|
+
"operationId": "voice.local.status",
|
|
31156
|
+
"summary": "Get Managed Local-Voice Runtime State",
|
|
31157
|
+
"description": "Whether the managed local voice runtime (piper TTS + a default voice) is installed: not-provisioned (with a size-labeled offer), partial, provisioned, or unsupported-platform. STT (whisper.cpp) reports its own managed state: goodvibes builds and pins the whisper.cpp bundle per platform (no official prebuilt exists; provisioning never compiles on your machine), so where a pinned bundle exists STT provisions like TTS, and elsewhere it reports unsupported honestly. While a voice.local.install run is active, the response also carries installInProgress — the live per-component progress (phase, byte sizes where known) of that run — so surfaces poll this read during the install to render real progress; the section is absent when no install is running. Read-only.",
|
|
31158
|
+
"tags": [
|
|
31159
|
+
"health"
|
|
31160
|
+
],
|
|
31161
|
+
"responses": {
|
|
31162
|
+
"200": {
|
|
31163
|
+
"description": "Success",
|
|
31164
|
+
"content": {
|
|
31165
|
+
"application/json": {
|
|
31166
|
+
"schema": {
|
|
31167
|
+
"type": "object",
|
|
31168
|
+
"properties": {
|
|
31169
|
+
"platform": {
|
|
31170
|
+
"anyOf": [
|
|
31171
|
+
{
|
|
31172
|
+
"type": "string"
|
|
31173
|
+
},
|
|
31174
|
+
{
|
|
31175
|
+
"type": "null"
|
|
31176
|
+
}
|
|
31177
|
+
]
|
|
31178
|
+
},
|
|
31179
|
+
"state": {
|
|
31180
|
+
"type": "string",
|
|
31181
|
+
"enum": [
|
|
31182
|
+
"not-provisioned",
|
|
31183
|
+
"partial",
|
|
31184
|
+
"provisioned",
|
|
31185
|
+
"unsupported-platform"
|
|
31186
|
+
]
|
|
31187
|
+
},
|
|
31188
|
+
"tts": {
|
|
31189
|
+
"type": "object",
|
|
31190
|
+
"properties": {
|
|
31191
|
+
"engine": {
|
|
31192
|
+
"type": "string"
|
|
31193
|
+
},
|
|
31194
|
+
"binaryPresent": {
|
|
31195
|
+
"type": "boolean"
|
|
31196
|
+
},
|
|
31197
|
+
"voicePresent": {
|
|
31198
|
+
"type": "boolean"
|
|
31199
|
+
},
|
|
31200
|
+
"binaryPath": {
|
|
31201
|
+
"type": "string"
|
|
31202
|
+
},
|
|
31203
|
+
"modelPath": {
|
|
31204
|
+
"type": "string"
|
|
31205
|
+
}
|
|
31206
|
+
},
|
|
31207
|
+
"required": [
|
|
31208
|
+
"engine",
|
|
31209
|
+
"binaryPresent",
|
|
31210
|
+
"voicePresent",
|
|
31211
|
+
"binaryPath",
|
|
31212
|
+
"modelPath"
|
|
31213
|
+
],
|
|
31214
|
+
"additionalProperties": false
|
|
31215
|
+
},
|
|
31216
|
+
"stt": {
|
|
31217
|
+
"type": "object",
|
|
31218
|
+
"properties": {
|
|
31219
|
+
"engine": {
|
|
31220
|
+
"type": "string"
|
|
31221
|
+
},
|
|
31222
|
+
"supported": {
|
|
31223
|
+
"type": "boolean"
|
|
31224
|
+
},
|
|
31225
|
+
"state": {
|
|
31226
|
+
"type": "string",
|
|
31227
|
+
"enum": [
|
|
31228
|
+
"not-provisioned",
|
|
31229
|
+
"partial",
|
|
31230
|
+
"provisioned",
|
|
31231
|
+
"unsupported-platform"
|
|
31232
|
+
]
|
|
31233
|
+
},
|
|
31234
|
+
"binaryPresent": {
|
|
31235
|
+
"type": "boolean"
|
|
31236
|
+
},
|
|
31237
|
+
"modelPresent": {
|
|
31238
|
+
"type": "boolean"
|
|
31239
|
+
},
|
|
31240
|
+
"binaryPath": {
|
|
31241
|
+
"type": "string"
|
|
31242
|
+
},
|
|
31243
|
+
"modelPath": {
|
|
31244
|
+
"type": "string"
|
|
31245
|
+
},
|
|
31246
|
+
"reason": {
|
|
31247
|
+
"type": "string"
|
|
31248
|
+
}
|
|
31249
|
+
},
|
|
31250
|
+
"required": [
|
|
31251
|
+
"engine",
|
|
31252
|
+
"supported",
|
|
31253
|
+
"state",
|
|
31254
|
+
"binaryPresent",
|
|
31255
|
+
"modelPresent",
|
|
31256
|
+
"binaryPath",
|
|
31257
|
+
"modelPath"
|
|
31258
|
+
],
|
|
31259
|
+
"additionalProperties": false
|
|
31260
|
+
},
|
|
31261
|
+
"offerBytes": {
|
|
31262
|
+
"anyOf": [
|
|
31263
|
+
{
|
|
31264
|
+
"type": "number"
|
|
31265
|
+
},
|
|
31266
|
+
{
|
|
31267
|
+
"type": "null"
|
|
31268
|
+
}
|
|
31269
|
+
]
|
|
31270
|
+
},
|
|
31271
|
+
"installInProgress": {
|
|
31272
|
+
"type": "object",
|
|
31273
|
+
"properties": {
|
|
31274
|
+
"startedAt": {
|
|
31275
|
+
"type": "number"
|
|
31276
|
+
},
|
|
31277
|
+
"components": {
|
|
31278
|
+
"type": "array",
|
|
31279
|
+
"items": {
|
|
31280
|
+
"type": "object",
|
|
31281
|
+
"properties": {
|
|
31282
|
+
"component": {
|
|
31283
|
+
"type": "string"
|
|
31284
|
+
},
|
|
31285
|
+
"phase": {
|
|
31286
|
+
"type": "string",
|
|
31287
|
+
"enum": [
|
|
31288
|
+
"skip",
|
|
31289
|
+
"download",
|
|
31290
|
+
"verify",
|
|
31291
|
+
"extract",
|
|
31292
|
+
"done",
|
|
31293
|
+
"error"
|
|
31294
|
+
]
|
|
31295
|
+
},
|
|
31296
|
+
"message": {
|
|
31297
|
+
"type": "string"
|
|
31298
|
+
},
|
|
31299
|
+
"bytesTotal": {
|
|
31300
|
+
"type": "number"
|
|
31301
|
+
},
|
|
31302
|
+
"bytesDone": {
|
|
31303
|
+
"type": "number"
|
|
31304
|
+
}
|
|
31305
|
+
},
|
|
31306
|
+
"required": [
|
|
31307
|
+
"component",
|
|
31308
|
+
"phase"
|
|
31309
|
+
],
|
|
31310
|
+
"additionalProperties": false
|
|
31311
|
+
}
|
|
31312
|
+
}
|
|
31313
|
+
},
|
|
31314
|
+
"required": [
|
|
31315
|
+
"startedAt",
|
|
31316
|
+
"components"
|
|
31317
|
+
],
|
|
31318
|
+
"additionalProperties": false
|
|
31319
|
+
}
|
|
31320
|
+
},
|
|
31321
|
+
"required": [
|
|
31322
|
+
"platform",
|
|
31323
|
+
"state",
|
|
31324
|
+
"tts",
|
|
31325
|
+
"stt",
|
|
31326
|
+
"offerBytes"
|
|
31327
|
+
],
|
|
31328
|
+
"additionalProperties": false
|
|
31329
|
+
}
|
|
31330
|
+
}
|
|
31331
|
+
}
|
|
31332
|
+
},
|
|
31333
|
+
"default": {
|
|
31334
|
+
"$ref": "#/components/responses/Error"
|
|
31335
|
+
}
|
|
31336
|
+
},
|
|
31337
|
+
"x-typed-client-io": true,
|
|
31338
|
+
"x-access": "authenticated",
|
|
31339
|
+
"x-transport": [
|
|
31340
|
+
"http",
|
|
31341
|
+
"ws"
|
|
31342
|
+
],
|
|
31343
|
+
"x-scopes": [
|
|
31344
|
+
"read:health"
|
|
31345
|
+
]
|
|
31346
|
+
}
|
|
31347
|
+
},
|
|
30793
31348
|
"/api/intelligence": {
|
|
30794
31349
|
"get": {
|
|
30795
31350
|
"operationId": "intelligence.snapshot",
|
|
@@ -91747,6 +92302,15 @@
|
|
|
91747
92302
|
"inputSchemaCoverage": "typed",
|
|
91748
92303
|
"outputSchemaCoverage": "typed"
|
|
91749
92304
|
},
|
|
92305
|
+
{
|
|
92306
|
+
"id": "ops.memory.get",
|
|
92307
|
+
"category": "health",
|
|
92308
|
+
"access": "authenticated",
|
|
92309
|
+
"rest": "GET /api/ops/memory",
|
|
92310
|
+
"typedClientIo": true,
|
|
92311
|
+
"inputSchemaCoverage": "typed",
|
|
92312
|
+
"outputSchemaCoverage": "typed"
|
|
92313
|
+
},
|
|
91750
92314
|
{
|
|
91751
92315
|
"id": "power.keepAwake.set",
|
|
91752
92316
|
"category": "health",
|
|
@@ -91765,6 +92329,24 @@
|
|
|
91765
92329
|
"inputSchemaCoverage": "typed",
|
|
91766
92330
|
"outputSchemaCoverage": "typed"
|
|
91767
92331
|
},
|
|
92332
|
+
{
|
|
92333
|
+
"id": "voice.local.install",
|
|
92334
|
+
"category": "health",
|
|
92335
|
+
"access": "authenticated",
|
|
92336
|
+
"rest": "POST /api/voice/local/install",
|
|
92337
|
+
"typedClientIo": true,
|
|
92338
|
+
"inputSchemaCoverage": "typed",
|
|
92339
|
+
"outputSchemaCoverage": "typed"
|
|
92340
|
+
},
|
|
92341
|
+
{
|
|
92342
|
+
"id": "voice.local.status",
|
|
92343
|
+
"category": "health",
|
|
92344
|
+
"access": "authenticated",
|
|
92345
|
+
"rest": "GET /api/voice/local/status",
|
|
92346
|
+
"typedClientIo": true,
|
|
92347
|
+
"inputSchemaCoverage": "typed",
|
|
92348
|
+
"outputSchemaCoverage": "typed"
|
|
92349
|
+
},
|
|
91768
92350
|
{
|
|
91769
92351
|
"id": "intelligence.snapshot",
|
|
91770
92352
|
"category": "intelligence",
|
|
@@ -5,7 +5,7 @@ emitted from the operator contract by scripts/generate-homeassistant-client.ts.
|
|
|
5
5
|
Covers only the REST subset HA consumes; the webhook, conversation stream,
|
|
6
6
|
and surface health probe are not operator methods and stay hand-written.
|
|
7
7
|
|
|
8
|
-
Contract product version: 1.
|
|
8
|
+
Contract product version: 1.10.0
|
|
9
9
|
Consumed operator methods: 33
|
|
10
10
|
"""
|
|
11
11
|
from __future__ import annotations
|
|
@@ -13,7 +13,7 @@ from __future__ import annotations
|
|
|
13
13
|
from typing import Any, Literal, Mapping, NamedTuple, NotRequired, TypedDict
|
|
14
14
|
|
|
15
15
|
#: Daemon contract version these types were generated against (the version pin).
|
|
16
|
-
CONTRACT_VERSION: str = "1.
|
|
16
|
+
CONTRACT_VERSION: str = "1.10.0"
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OperatorRoute(NamedTuple):
|