@pellux/goodvibes-sdk 0.26.8 → 0.26.10

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 (37) hide show
  1. package/dist/_internal/contracts/artifacts/operator-contract.json +209 -4
  2. package/dist/_internal/contracts/generated/foundation-metadata.d.ts +2 -2
  3. package/dist/_internal/contracts/generated/foundation-metadata.js +2 -2
  4. package/dist/_internal/contracts/generated/operator-contract.d.ts.map +1 -1
  5. package/dist/_internal/contracts/generated/operator-contract.js +209 -4
  6. package/dist/_internal/contracts/generated/operator-method-ids.d.ts +1 -1
  7. package/dist/_internal/contracts/generated/operator-method-ids.d.ts.map +1 -1
  8. package/dist/_internal/contracts/generated/operator-method-ids.js +1 -0
  9. package/dist/_internal/platform/control-plane/method-catalog-homegraph.d.ts.map +1 -1
  10. package/dist/_internal/platform/control-plane/method-catalog-homegraph.js +11 -1
  11. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts +1 -0
  12. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts.map +1 -1
  13. package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.js +10 -0
  14. package/dist/_internal/platform/daemon/http/home-graph-routes.d.ts.map +1 -1
  15. package/dist/_internal/platform/daemon/http/home-graph-routes.js +3 -0
  16. package/dist/_internal/platform/knowledge/extractors.d.ts.map +1 -1
  17. package/dist/_internal/platform/knowledge/extractors.js +73 -1
  18. package/dist/_internal/platform/knowledge/home-graph/index.d.ts +1 -1
  19. package/dist/_internal/platform/knowledge/home-graph/index.d.ts.map +1 -1
  20. package/dist/_internal/platform/knowledge/home-graph/reindex.d.ts +12 -0
  21. package/dist/_internal/platform/knowledge/home-graph/reindex.d.ts.map +1 -0
  22. package/dist/_internal/platform/knowledge/home-graph/reindex.js +35 -0
  23. package/dist/_internal/platform/knowledge/home-graph/search.d.ts +3 -1
  24. package/dist/_internal/platform/knowledge/home-graph/search.d.ts.map +1 -1
  25. package/dist/_internal/platform/knowledge/home-graph/search.js +438 -25
  26. package/dist/_internal/platform/knowledge/home-graph/service.d.ts +3 -1
  27. package/dist/_internal/platform/knowledge/home-graph/service.d.ts.map +1 -1
  28. package/dist/_internal/platform/knowledge/home-graph/service.js +43 -6
  29. package/dist/_internal/platform/knowledge/home-graph/state.d.ts +2 -0
  30. package/dist/_internal/platform/knowledge/home-graph/state.d.ts.map +1 -1
  31. package/dist/_internal/platform/knowledge/home-graph/state.js +1 -1
  32. package/dist/_internal/platform/knowledge/home-graph/types.d.ts +14 -0
  33. package/dist/_internal/platform/knowledge/home-graph/types.d.ts.map +1 -1
  34. package/dist/_internal/platform/knowledge/ingest-compile.d.ts.map +1 -1
  35. package/dist/_internal/platform/knowledge/ingest-compile.js +26 -1
  36. package/dist/_internal/platform/version.js +1 -1
  37. package/package.json +2 -1
@@ -3,7 +3,7 @@
3
3
  "product": {
4
4
  "id": "goodvibes",
5
5
  "surface": "operator",
6
- "version": "0.26.8"
6
+ "version": "0.26.10"
7
7
  },
8
8
  "auth": {
9
9
  "modes": [
@@ -27641,6 +27641,211 @@
27641
27641
  },
27642
27642
  "invokable": true
27643
27643
  },
27644
+ {
27645
+ "id": "homeassistant.homeGraph.reindex",
27646
+ "title": "Reindex Home Graph Sources",
27647
+ "description": "Re-extract already-stored Home Graph artifacts with missing or weak extraction records.",
27648
+ "category": "knowledge",
27649
+ "source": "builtin",
27650
+ "access": "admin",
27651
+ "transport": [
27652
+ "http",
27653
+ "ws"
27654
+ ],
27655
+ "scopes": [
27656
+ "write:knowledge"
27657
+ ],
27658
+ "http": {
27659
+ "method": "POST",
27660
+ "path": "/api/homeassistant/home-graph/reindex"
27661
+ },
27662
+ "inputSchema": {
27663
+ "type": "object",
27664
+ "properties": {
27665
+ "installationId": {
27666
+ "type": "string"
27667
+ },
27668
+ "knowledgeSpaceId": {
27669
+ "type": "string"
27670
+ }
27671
+ },
27672
+ "additionalProperties": true
27673
+ },
27674
+ "outputSchema": {
27675
+ "type": "object",
27676
+ "properties": {
27677
+ "ok": {
27678
+ "type": "boolean"
27679
+ },
27680
+ "spaceId": {
27681
+ "type": "string"
27682
+ },
27683
+ "scanned": {
27684
+ "type": "number"
27685
+ },
27686
+ "reparsed": {
27687
+ "type": "number"
27688
+ },
27689
+ "skipped": {
27690
+ "type": "number"
27691
+ },
27692
+ "failed": {
27693
+ "type": "number"
27694
+ },
27695
+ "sources": {
27696
+ "type": "array",
27697
+ "items": {
27698
+ "type": "object",
27699
+ "properties": {
27700
+ "id": {
27701
+ "type": "string"
27702
+ },
27703
+ "connectorId": {
27704
+ "type": "string"
27705
+ },
27706
+ "sourceType": {
27707
+ "type": "string",
27708
+ "enum": [
27709
+ "url",
27710
+ "bookmark",
27711
+ "bookmark-list",
27712
+ "history",
27713
+ "document",
27714
+ "repo",
27715
+ "dataset",
27716
+ "image",
27717
+ "manual",
27718
+ "other"
27719
+ ]
27720
+ },
27721
+ "title": {
27722
+ "type": "string"
27723
+ },
27724
+ "sourceUri": {
27725
+ "type": "string"
27726
+ },
27727
+ "canonicalUri": {
27728
+ "type": "string"
27729
+ },
27730
+ "summary": {
27731
+ "type": "string"
27732
+ },
27733
+ "description": {
27734
+ "type": "string"
27735
+ },
27736
+ "tags": {
27737
+ "type": "array",
27738
+ "items": {
27739
+ "type": "string"
27740
+ }
27741
+ },
27742
+ "folderPath": {
27743
+ "type": "string"
27744
+ },
27745
+ "status": {
27746
+ "type": "string"
27747
+ },
27748
+ "artifactId": {
27749
+ "type": "string"
27750
+ },
27751
+ "contentHash": {
27752
+ "type": "string"
27753
+ },
27754
+ "lastCrawledAt": {
27755
+ "type": "number"
27756
+ },
27757
+ "crawlError": {
27758
+ "type": "string"
27759
+ },
27760
+ "sessionId": {
27761
+ "type": "string"
27762
+ },
27763
+ "metadata": {
27764
+ "type": "object",
27765
+ "additionalProperties": {
27766
+ "anyOf": [
27767
+ {
27768
+ "type": "string"
27769
+ },
27770
+ {
27771
+ "type": "number"
27772
+ },
27773
+ {
27774
+ "type": "boolean"
27775
+ },
27776
+ {
27777
+ "type": "null"
27778
+ },
27779
+ {
27780
+ "type": "object",
27781
+ "additionalProperties": {}
27782
+ },
27783
+ {
27784
+ "type": "array",
27785
+ "items": {}
27786
+ }
27787
+ ]
27788
+ }
27789
+ },
27790
+ "createdAt": {
27791
+ "type": "number"
27792
+ },
27793
+ "updatedAt": {
27794
+ "type": "number"
27795
+ }
27796
+ },
27797
+ "required": [
27798
+ "id",
27799
+ "connectorId",
27800
+ "sourceType",
27801
+ "tags",
27802
+ "status",
27803
+ "metadata",
27804
+ "createdAt",
27805
+ "updatedAt"
27806
+ ],
27807
+ "additionalProperties": true
27808
+ }
27809
+ },
27810
+ "failures": {
27811
+ "type": "array",
27812
+ "items": {
27813
+ "anyOf": [
27814
+ {
27815
+ "type": "string"
27816
+ },
27817
+ {
27818
+ "type": "number"
27819
+ },
27820
+ {
27821
+ "type": "boolean"
27822
+ },
27823
+ {
27824
+ "type": "null"
27825
+ },
27826
+ {
27827
+ "type": "object",
27828
+ "additionalProperties": {}
27829
+ },
27830
+ {}
27831
+ ]
27832
+ }
27833
+ }
27834
+ },
27835
+ "required": [
27836
+ "ok",
27837
+ "spaceId",
27838
+ "scanned",
27839
+ "reparsed",
27840
+ "skipped",
27841
+ "failed",
27842
+ "sources",
27843
+ "failures"
27844
+ ],
27845
+ "additionalProperties": true
27846
+ },
27847
+ "invokable": true
27848
+ },
27644
27849
  {
27645
27850
  "id": "homeassistant.homeGraph.reviewHomeGraphFact",
27646
27851
  "title": "Review Home Graph Fact",
@@ -60451,10 +60656,10 @@
60451
60656
  }
60452
60657
  ],
60453
60658
  "schemaCoverage": {
60454
- "methods": 243,
60455
- "typedInputs": 243,
60659
+ "methods": 244,
60660
+ "typedInputs": 244,
60456
60661
  "genericInputs": 0,
60457
- "typedOutputs": 243,
60662
+ "typedOutputs": 244,
60458
60663
  "genericOutputs": 0
60459
60664
  },
60460
60665
  "eventCoverage": {
@@ -1,7 +1,7 @@
1
1
  export declare const FOUNDATION_METADATA: {
2
2
  readonly productId: "goodvibes";
3
- readonly productVersion: "0.26.8";
4
- readonly operatorMethodCount: 243;
3
+ readonly productVersion: "0.26.10";
4
+ readonly operatorMethodCount: 244;
5
5
  readonly operatorEventCount: 30;
6
6
  readonly peerEndpointCount: 6;
7
7
  };
@@ -1,8 +1,8 @@
1
1
  // Synced from packages/contracts/src/generated/foundation-metadata.ts
2
2
  export const FOUNDATION_METADATA = {
3
3
  "productId": "goodvibes",
4
- "productVersion": "0.26.8",
5
- "operatorMethodCount": 243,
4
+ "productVersion": "0.26.10",
5
+ "operatorMethodCount": 244,
6
6
  "operatorEventCount": 30,
7
7
  "peerEndpointCount": 6
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"operator-contract.d.ts","sourceRoot":"","sources":["../../../../src/_internal/contracts/generated/operator-contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE5D,eAAO,MAAM,iBAAiB,EAAE,wBAwj2DtB,CAAC"}
1
+ {"version":3,"file":"operator-contract.d.ts","sourceRoot":"","sources":["../../../../src/_internal/contracts/generated/operator-contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE5D,eAAO,MAAM,iBAAiB,EAAE,wBAqw2DtB,CAAC"}
@@ -3,7 +3,7 @@ export const OPERATOR_CONTRACT = {
3
3
  "product": {
4
4
  "id": "goodvibes",
5
5
  "surface": "operator",
6
- "version": "0.26.8"
6
+ "version": "0.26.10"
7
7
  },
8
8
  "auth": {
9
9
  "modes": [
@@ -27641,6 +27641,211 @@ export const OPERATOR_CONTRACT = {
27641
27641
  },
27642
27642
  "invokable": true
27643
27643
  },
27644
+ {
27645
+ "id": "homeassistant.homeGraph.reindex",
27646
+ "title": "Reindex Home Graph Sources",
27647
+ "description": "Re-extract already-stored Home Graph artifacts with missing or weak extraction records.",
27648
+ "category": "knowledge",
27649
+ "source": "builtin",
27650
+ "access": "admin",
27651
+ "transport": [
27652
+ "http",
27653
+ "ws"
27654
+ ],
27655
+ "scopes": [
27656
+ "write:knowledge"
27657
+ ],
27658
+ "http": {
27659
+ "method": "POST",
27660
+ "path": "/api/homeassistant/home-graph/reindex"
27661
+ },
27662
+ "inputSchema": {
27663
+ "type": "object",
27664
+ "properties": {
27665
+ "installationId": {
27666
+ "type": "string"
27667
+ },
27668
+ "knowledgeSpaceId": {
27669
+ "type": "string"
27670
+ }
27671
+ },
27672
+ "additionalProperties": true
27673
+ },
27674
+ "outputSchema": {
27675
+ "type": "object",
27676
+ "properties": {
27677
+ "ok": {
27678
+ "type": "boolean"
27679
+ },
27680
+ "spaceId": {
27681
+ "type": "string"
27682
+ },
27683
+ "scanned": {
27684
+ "type": "number"
27685
+ },
27686
+ "reparsed": {
27687
+ "type": "number"
27688
+ },
27689
+ "skipped": {
27690
+ "type": "number"
27691
+ },
27692
+ "failed": {
27693
+ "type": "number"
27694
+ },
27695
+ "sources": {
27696
+ "type": "array",
27697
+ "items": {
27698
+ "type": "object",
27699
+ "properties": {
27700
+ "id": {
27701
+ "type": "string"
27702
+ },
27703
+ "connectorId": {
27704
+ "type": "string"
27705
+ },
27706
+ "sourceType": {
27707
+ "type": "string",
27708
+ "enum": [
27709
+ "url",
27710
+ "bookmark",
27711
+ "bookmark-list",
27712
+ "history",
27713
+ "document",
27714
+ "repo",
27715
+ "dataset",
27716
+ "image",
27717
+ "manual",
27718
+ "other"
27719
+ ]
27720
+ },
27721
+ "title": {
27722
+ "type": "string"
27723
+ },
27724
+ "sourceUri": {
27725
+ "type": "string"
27726
+ },
27727
+ "canonicalUri": {
27728
+ "type": "string"
27729
+ },
27730
+ "summary": {
27731
+ "type": "string"
27732
+ },
27733
+ "description": {
27734
+ "type": "string"
27735
+ },
27736
+ "tags": {
27737
+ "type": "array",
27738
+ "items": {
27739
+ "type": "string"
27740
+ }
27741
+ },
27742
+ "folderPath": {
27743
+ "type": "string"
27744
+ },
27745
+ "status": {
27746
+ "type": "string"
27747
+ },
27748
+ "artifactId": {
27749
+ "type": "string"
27750
+ },
27751
+ "contentHash": {
27752
+ "type": "string"
27753
+ },
27754
+ "lastCrawledAt": {
27755
+ "type": "number"
27756
+ },
27757
+ "crawlError": {
27758
+ "type": "string"
27759
+ },
27760
+ "sessionId": {
27761
+ "type": "string"
27762
+ },
27763
+ "metadata": {
27764
+ "type": "object",
27765
+ "additionalProperties": {
27766
+ "anyOf": [
27767
+ {
27768
+ "type": "string"
27769
+ },
27770
+ {
27771
+ "type": "number"
27772
+ },
27773
+ {
27774
+ "type": "boolean"
27775
+ },
27776
+ {
27777
+ "type": "null"
27778
+ },
27779
+ {
27780
+ "type": "object",
27781
+ "additionalProperties": {}
27782
+ },
27783
+ {
27784
+ "type": "array",
27785
+ "items": {}
27786
+ }
27787
+ ]
27788
+ }
27789
+ },
27790
+ "createdAt": {
27791
+ "type": "number"
27792
+ },
27793
+ "updatedAt": {
27794
+ "type": "number"
27795
+ }
27796
+ },
27797
+ "required": [
27798
+ "id",
27799
+ "connectorId",
27800
+ "sourceType",
27801
+ "tags",
27802
+ "status",
27803
+ "metadata",
27804
+ "createdAt",
27805
+ "updatedAt"
27806
+ ],
27807
+ "additionalProperties": true
27808
+ }
27809
+ },
27810
+ "failures": {
27811
+ "type": "array",
27812
+ "items": {
27813
+ "anyOf": [
27814
+ {
27815
+ "type": "string"
27816
+ },
27817
+ {
27818
+ "type": "number"
27819
+ },
27820
+ {
27821
+ "type": "boolean"
27822
+ },
27823
+ {
27824
+ "type": "null"
27825
+ },
27826
+ {
27827
+ "type": "object",
27828
+ "additionalProperties": {}
27829
+ },
27830
+ {}
27831
+ ]
27832
+ }
27833
+ }
27834
+ },
27835
+ "required": [
27836
+ "ok",
27837
+ "spaceId",
27838
+ "scanned",
27839
+ "reparsed",
27840
+ "skipped",
27841
+ "failed",
27842
+ "sources",
27843
+ "failures"
27844
+ ],
27845
+ "additionalProperties": true
27846
+ },
27847
+ "invokable": true
27848
+ },
27644
27849
  {
27645
27850
  "id": "homeassistant.homeGraph.reviewHomeGraphFact",
27646
27851
  "title": "Review Home Graph Fact",
@@ -60451,10 +60656,10 @@ export const OPERATOR_CONTRACT = {
60451
60656
  }
60452
60657
  ],
60453
60658
  "schemaCoverage": {
60454
- "methods": 243,
60455
- "typedInputs": 243,
60659
+ "methods": 244,
60660
+ "typedInputs": 244,
60456
60661
  "genericInputs": 0,
60457
- "typedOutputs": 243,
60662
+ "typedOutputs": 244,
60458
60663
  "genericOutputs": 0
60459
60664
  },
60460
60665
  "eventCoverage": {
@@ -1,3 +1,3 @@
1
- export declare const OPERATOR_METHOD_IDS: readonly ["accounts.snapshot", "approvals.approve", "approvals.cancel", "approvals.claim", "approvals.deny", "approvals.list", "artifacts.content.get", "artifacts.create", "artifacts.get", "artifacts.list", "automation.heartbeat.list", "automation.heartbeat.run", "automation.integration.snapshot", "automation.jobs.create", "automation.jobs.delete", "automation.jobs.disable", "automation.jobs.enable", "automation.jobs.list", "automation.jobs.patch", "automation.jobs.pause", "automation.jobs.resume", "automation.jobs.run", "automation.runs.cancel", "automation.runs.get", "automation.runs.list", "automation.runs.retry", "channels.accounts.action.default", "channels.accounts.action.named", "channels.accounts.get", "channels.accounts.list", "channels.accounts.surface.list", "channels.actions.invoke", "channels.actions.list", "channels.actions.surface.list", "channels.agent_tools.list", "channels.agent_tools.surface.list", "channels.allowlist.edit", "channels.allowlist.resolve", "channels.authorize", "channels.capabilities.list", "channels.capabilities.surface.list", "channels.directory.query", "channels.doctor.get", "channels.lifecycle.get", "channels.lifecycle.migrate", "channels.policies.audit", "channels.policies.list", "channels.policies.update", "channels.repairs.list", "channels.setup.get", "channels.status", "channels.targets.resolve", "channels.tools.invoke", "channels.tools.list", "channels.tools.surface.list", "companion.chat.events.stream", "companion.chat.messages.create", "companion.chat.messages.list", "companion.chat.sessions.create", "companion.chat.sessions.delete", "companion.chat.sessions.get", "companion.chat.sessions.update", "config.get", "config.set", "continuity.snapshot", "control.auth.current", "control.auth.login", "control.clients.list", "control.contract", "control.events.catalog", "control.events.stream", "control.messages.list", "control.methods.get", "control.methods.list", "control.snapshot", "control.status", "control.web", "deliveries.get", "deliveries.list", "health.snapshot", "homeassistant.homeGraph.askHomeGraph", "homeassistant.homeGraph.browse", "homeassistant.homeGraph.export", "homeassistant.homeGraph.generateHomeGraphPacket", "homeassistant.homeGraph.generateRoomPage", "homeassistant.homeGraph.import", "homeassistant.homeGraph.ingestHomeGraphArtifact", "homeassistant.homeGraph.ingestHomeGraphNote", "homeassistant.homeGraph.ingestHomeGraphUrl", "homeassistant.homeGraph.linkHomeGraphKnowledge", "homeassistant.homeGraph.listHomeGraphIssues", "homeassistant.homeGraph.refreshDevicePassport", "homeassistant.homeGraph.reviewHomeGraphFact", "homeassistant.homeGraph.sources.list", "homeassistant.homeGraph.status", "homeassistant.homeGraph.syncHomeGraph", "homeassistant.homeGraph.unlinkHomeGraphKnowledge", "intelligence.snapshot", "knowledge.candidate.decide", "knowledge.candidate.get", "knowledge.candidates.list", "knowledge.connector.doctor", "knowledge.connector.get", "knowledge.connectors.list", "knowledge.extraction.get", "knowledge.extractions.list", "knowledge.graphql.execute", "knowledge.graphql.schema", "knowledge.ingest.artifact", "knowledge.ingest.bookmarks", "knowledge.ingest.browserHistory", "knowledge.ingest.connector", "knowledge.ingest.url", "knowledge.ingest.urls", "knowledge.issue.review", "knowledge.issues.list", "knowledge.item.get", "knowledge.job-runs.list", "knowledge.job.get", "knowledge.job.run", "knowledge.jobs.list", "knowledge.lint", "knowledge.nodes.list", "knowledge.packet", "knowledge.projection.materialize", "knowledge.projection.render", "knowledge.projections.list", "knowledge.reindex", "knowledge.report.get", "knowledge.reports.list", "knowledge.schedule.delete", "knowledge.schedule.enable", "knowledge.schedule.get", "knowledge.schedule.save", "knowledge.schedules.list", "knowledge.search", "knowledge.source.extraction.get", "knowledge.sources.list", "knowledge.status", "knowledge.usage.list", "local_auth.bootstrap.delete", "local_auth.sessions.delete", "local_auth.status", "local_auth.users.create", "local_auth.users.delete", "local_auth.users.password.rotate", "media.analyze", "media.generate", "media.providers.list", "media.transform", "memory.doctor", "memory.embeddings.default.set", "memory.vector.rebuild", "memory.vector.stats", "multimodal.analyze", "multimodal.packet", "multimodal.providers.list", "multimodal.status", "multimodal.writeback", "panels.list", "panels.open", "providers.get", "providers.list", "providers.usage.get", "remote.node_host.contract", "remote.pair.requests.approve", "remote.pair.requests.list", "remote.pair.requests.reject", "remote.peers.disconnect", "remote.peers.invoke", "remote.peers.list", "remote.peers.token.revoke", "remote.peers.token.rotate", "remote.snapshot", "remote.work.cancel", "remote.work.list", "review.snapshot", "routes.bindings.create", "routes.bindings.delete", "routes.bindings.list", "routes.bindings.patch", "routes.snapshot", "scheduler.capacity", "schedules.create", "schedules.delete", "schedules.disable", "schedules.enable", "schedules.list", "schedules.run", "security.settings", "services.install", "services.restart", "services.start", "services.status", "services.stop", "services.uninstall", "sessions.close", "sessions.create", "sessions.followUp", "sessions.get", "sessions.inputs.cancel", "sessions.inputs.create", "sessions.inputs.list", "sessions.integration.snapshot", "sessions.list", "sessions.messages.create", "sessions.messages.list", "sessions.reopen", "sessions.steer", "settings.snapshot", "surfaces.list", "tasks.cancel", "tasks.create", "tasks.get", "tasks.list", "tasks.retry", "tasks.status", "telemetry.errors.list", "telemetry.events.list", "telemetry.metrics.get", "telemetry.otlp.logs", "telemetry.otlp.metrics", "telemetry.otlp.traces", "telemetry.snapshot", "telemetry.stream", "telemetry.traces.list", "voice.providers.list", "voice.realtime.session", "voice.status", "voice.stt", "voice.tts", "voice.tts.stream", "voice.voices.list", "watchers.create", "watchers.delete", "watchers.list", "watchers.patch", "watchers.run", "watchers.start", "watchers.stop", "web_search.providers.list", "web_search.query", "worktrees.snapshot"];
1
+ export declare const OPERATOR_METHOD_IDS: readonly ["accounts.snapshot", "approvals.approve", "approvals.cancel", "approvals.claim", "approvals.deny", "approvals.list", "artifacts.content.get", "artifacts.create", "artifacts.get", "artifacts.list", "automation.heartbeat.list", "automation.heartbeat.run", "automation.integration.snapshot", "automation.jobs.create", "automation.jobs.delete", "automation.jobs.disable", "automation.jobs.enable", "automation.jobs.list", "automation.jobs.patch", "automation.jobs.pause", "automation.jobs.resume", "automation.jobs.run", "automation.runs.cancel", "automation.runs.get", "automation.runs.list", "automation.runs.retry", "channels.accounts.action.default", "channels.accounts.action.named", "channels.accounts.get", "channels.accounts.list", "channels.accounts.surface.list", "channels.actions.invoke", "channels.actions.list", "channels.actions.surface.list", "channels.agent_tools.list", "channels.agent_tools.surface.list", "channels.allowlist.edit", "channels.allowlist.resolve", "channels.authorize", "channels.capabilities.list", "channels.capabilities.surface.list", "channels.directory.query", "channels.doctor.get", "channels.lifecycle.get", "channels.lifecycle.migrate", "channels.policies.audit", "channels.policies.list", "channels.policies.update", "channels.repairs.list", "channels.setup.get", "channels.status", "channels.targets.resolve", "channels.tools.invoke", "channels.tools.list", "channels.tools.surface.list", "companion.chat.events.stream", "companion.chat.messages.create", "companion.chat.messages.list", "companion.chat.sessions.create", "companion.chat.sessions.delete", "companion.chat.sessions.get", "companion.chat.sessions.update", "config.get", "config.set", "continuity.snapshot", "control.auth.current", "control.auth.login", "control.clients.list", "control.contract", "control.events.catalog", "control.events.stream", "control.messages.list", "control.methods.get", "control.methods.list", "control.snapshot", "control.status", "control.web", "deliveries.get", "deliveries.list", "health.snapshot", "homeassistant.homeGraph.askHomeGraph", "homeassistant.homeGraph.browse", "homeassistant.homeGraph.export", "homeassistant.homeGraph.generateHomeGraphPacket", "homeassistant.homeGraph.generateRoomPage", "homeassistant.homeGraph.import", "homeassistant.homeGraph.ingestHomeGraphArtifact", "homeassistant.homeGraph.ingestHomeGraphNote", "homeassistant.homeGraph.ingestHomeGraphUrl", "homeassistant.homeGraph.linkHomeGraphKnowledge", "homeassistant.homeGraph.listHomeGraphIssues", "homeassistant.homeGraph.refreshDevicePassport", "homeassistant.homeGraph.reindex", "homeassistant.homeGraph.reviewHomeGraphFact", "homeassistant.homeGraph.sources.list", "homeassistant.homeGraph.status", "homeassistant.homeGraph.syncHomeGraph", "homeassistant.homeGraph.unlinkHomeGraphKnowledge", "intelligence.snapshot", "knowledge.candidate.decide", "knowledge.candidate.get", "knowledge.candidates.list", "knowledge.connector.doctor", "knowledge.connector.get", "knowledge.connectors.list", "knowledge.extraction.get", "knowledge.extractions.list", "knowledge.graphql.execute", "knowledge.graphql.schema", "knowledge.ingest.artifact", "knowledge.ingest.bookmarks", "knowledge.ingest.browserHistory", "knowledge.ingest.connector", "knowledge.ingest.url", "knowledge.ingest.urls", "knowledge.issue.review", "knowledge.issues.list", "knowledge.item.get", "knowledge.job-runs.list", "knowledge.job.get", "knowledge.job.run", "knowledge.jobs.list", "knowledge.lint", "knowledge.nodes.list", "knowledge.packet", "knowledge.projection.materialize", "knowledge.projection.render", "knowledge.projections.list", "knowledge.reindex", "knowledge.report.get", "knowledge.reports.list", "knowledge.schedule.delete", "knowledge.schedule.enable", "knowledge.schedule.get", "knowledge.schedule.save", "knowledge.schedules.list", "knowledge.search", "knowledge.source.extraction.get", "knowledge.sources.list", "knowledge.status", "knowledge.usage.list", "local_auth.bootstrap.delete", "local_auth.sessions.delete", "local_auth.status", "local_auth.users.create", "local_auth.users.delete", "local_auth.users.password.rotate", "media.analyze", "media.generate", "media.providers.list", "media.transform", "memory.doctor", "memory.embeddings.default.set", "memory.vector.rebuild", "memory.vector.stats", "multimodal.analyze", "multimodal.packet", "multimodal.providers.list", "multimodal.status", "multimodal.writeback", "panels.list", "panels.open", "providers.get", "providers.list", "providers.usage.get", "remote.node_host.contract", "remote.pair.requests.approve", "remote.pair.requests.list", "remote.pair.requests.reject", "remote.peers.disconnect", "remote.peers.invoke", "remote.peers.list", "remote.peers.token.revoke", "remote.peers.token.rotate", "remote.snapshot", "remote.work.cancel", "remote.work.list", "review.snapshot", "routes.bindings.create", "routes.bindings.delete", "routes.bindings.list", "routes.bindings.patch", "routes.snapshot", "scheduler.capacity", "schedules.create", "schedules.delete", "schedules.disable", "schedules.enable", "schedules.list", "schedules.run", "security.settings", "services.install", "services.restart", "services.start", "services.status", "services.stop", "services.uninstall", "sessions.close", "sessions.create", "sessions.followUp", "sessions.get", "sessions.inputs.cancel", "sessions.inputs.create", "sessions.inputs.list", "sessions.integration.snapshot", "sessions.list", "sessions.messages.create", "sessions.messages.list", "sessions.reopen", "sessions.steer", "settings.snapshot", "surfaces.list", "tasks.cancel", "tasks.create", "tasks.get", "tasks.list", "tasks.retry", "tasks.status", "telemetry.errors.list", "telemetry.events.list", "telemetry.metrics.get", "telemetry.otlp.logs", "telemetry.otlp.metrics", "telemetry.otlp.traces", "telemetry.snapshot", "telemetry.stream", "telemetry.traces.list", "voice.providers.list", "voice.realtime.session", "voice.status", "voice.stt", "voice.tts", "voice.tts.stream", "voice.voices.list", "watchers.create", "watchers.delete", "watchers.list", "watchers.patch", "watchers.run", "watchers.start", "watchers.stop", "web_search.providers.list", "web_search.query", "worktrees.snapshot"];
2
2
  export type OperatorMethodId = typeof OPERATOR_METHOD_IDS[number];
3
3
  //# sourceMappingURL=operator-method-ids.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"operator-method-ids.d.ts","sourceRoot":"","sources":["../../../../src/_internal/contracts/generated/operator-method-ids.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,0hMAoPtB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"operator-method-ids.d.ts","sourceRoot":"","sources":["../../../../src/_internal/contracts/generated/operator-method-ids.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,6jMAqPtB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC"}
@@ -92,6 +92,7 @@ export const OPERATOR_METHOD_IDS = [
92
92
  "homeassistant.homeGraph.linkHomeGraphKnowledge",
93
93
  "homeassistant.homeGraph.listHomeGraphIssues",
94
94
  "homeassistant.homeGraph.refreshDevicePassport",
95
+ "homeassistant.homeGraph.reindex",
95
96
  "homeassistant.homeGraph.reviewHomeGraphFact",
96
97
  "homeassistant.homeGraph.sources.list",
97
98
  "homeassistant.homeGraph.status",
@@ -1 +1 @@
1
- {"version":3,"file":"method-catalog-homegraph.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/control-plane/method-catalog-homegraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AA+D1E,eAAO,MAAM,wCAAwC,EAAE,SAAS,uBAAuB,EAiMtF,CAAC"}
1
+ {"version":3,"file":"method-catalog-homegraph.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/control-plane/method-catalog-homegraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAgE1E,eAAO,MAAM,wCAAwC,EAAE,SAAS,uBAAuB,EA2MtF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { BOOLEAN_SCHEMA, NUMBER_SCHEMA, STRING_SCHEMA, bodyEnvelopeSchema, methodDescriptor, objectSchema, } from './method-catalog-shared.js';
2
2
  import { GENERIC_LIST_SCHEMA, JSON_RECORD_SCHEMA, METADATA_SCHEMA, STRING_LIST_SCHEMA, } from './operator-contract-schemas-shared.js';
3
- import { HOME_GRAPH_ASK_OUTPUT_SCHEMA, HOME_GRAPH_BROWSE_OUTPUT_SCHEMA, HOME_GRAPH_EXPORT_OUTPUT_SCHEMA, HOME_GRAPH_IMPORT_OUTPUT_SCHEMA, HOME_GRAPH_INGEST_OUTPUT_SCHEMA, HOME_GRAPH_ISSUES_OUTPUT_SCHEMA, HOME_GRAPH_LINK_OUTPUT_SCHEMA, HOME_GRAPH_PROJECTION_OUTPUT_SCHEMA, HOME_GRAPH_REVIEW_OUTPUT_SCHEMA, HOME_GRAPH_SOURCES_OUTPUT_SCHEMA, HOME_GRAPH_SPACE_INPUT_SCHEMA, HOME_GRAPH_STATUS_SCHEMA, HOME_GRAPH_SYNC_OUTPUT_SCHEMA, } from './operator-contract-schemas-knowledge.js';
3
+ import { HOME_GRAPH_ASK_OUTPUT_SCHEMA, HOME_GRAPH_BROWSE_OUTPUT_SCHEMA, HOME_GRAPH_EXPORT_OUTPUT_SCHEMA, HOME_GRAPH_IMPORT_OUTPUT_SCHEMA, HOME_GRAPH_INGEST_OUTPUT_SCHEMA, HOME_GRAPH_ISSUES_OUTPUT_SCHEMA, HOME_GRAPH_LINK_OUTPUT_SCHEMA, HOME_GRAPH_PROJECTION_OUTPUT_SCHEMA, HOME_GRAPH_REINDEX_OUTPUT_SCHEMA, HOME_GRAPH_REVIEW_OUTPUT_SCHEMA, HOME_GRAPH_SOURCES_OUTPUT_SCHEMA, HOME_GRAPH_SPACE_INPUT_SCHEMA, HOME_GRAPH_STATUS_SCHEMA, HOME_GRAPH_SYNC_OUTPUT_SCHEMA, } from './operator-contract-schemas-knowledge.js';
4
4
  function homeGraphDescriptor(input) {
5
5
  return methodDescriptor({
6
6
  id: input.id,
@@ -122,6 +122,16 @@ export const builtinGatewayHomeGraphMethodDescriptors = [
122
122
  }, ['query']),
123
123
  outputSchema: HOME_GRAPH_ASK_OUTPUT_SCHEMA,
124
124
  }),
125
+ homeGraphDescriptor({
126
+ id: 'homeassistant.homeGraph.reindex',
127
+ title: 'Reindex Home Graph Sources',
128
+ description: 'Re-extract already-stored Home Graph artifacts with missing or weak extraction records.',
129
+ method: 'POST',
130
+ path: '/api/homeassistant/home-graph/reindex',
131
+ write: true,
132
+ inputSchema: HOME_GRAPH_SPACE_INPUT_SCHEMA,
133
+ outputSchema: HOME_GRAPH_REINDEX_OUTPUT_SCHEMA,
134
+ }),
125
135
  homeGraphDescriptor({
126
136
  id: 'homeassistant.homeGraph.refreshDevicePassport',
127
137
  title: 'Refresh Device Passport',
@@ -97,6 +97,7 @@ export declare const HOME_GRAPH_SYNC_OUTPUT_SCHEMA: Record<string, unknown>;
97
97
  export declare const HOME_GRAPH_INGEST_OUTPUT_SCHEMA: Record<string, unknown>;
98
98
  export declare const HOME_GRAPH_LINK_OUTPUT_SCHEMA: Record<string, unknown>;
99
99
  export declare const HOME_GRAPH_ASK_OUTPUT_SCHEMA: Record<string, unknown>;
100
+ export declare const HOME_GRAPH_REINDEX_OUTPUT_SCHEMA: Record<string, unknown>;
100
101
  export declare const HOME_GRAPH_PROJECTION_OUTPUT_SCHEMA: Record<string, unknown>;
101
102
  export declare const HOME_GRAPH_ISSUES_OUTPUT_SCHEMA: Record<string, unknown>;
102
103
  export declare const HOME_GRAPH_SOURCES_OUTPUT_SCHEMA: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"operator-contract-schemas-knowledge.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/control-plane/operator-contract-schemas-knowledge.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qCAAqC,yBAA6C,CAAC;AAChG,eAAO,MAAM,iCAAiC,yBAAqC,CAAC;AACpF,eAAO,MAAM,oCAAoC,yBAA4B,CAAC;AAC9E,eAAO,MAAM,sCAAsC,yBAAqE,CAAC;AACzH,eAAO,MAAM,4BAA4B,yBAWvC,CAAC;AACH,eAAO,MAAM,8BAA8B,yBAAkD,CAAC;AAC9F,eAAO,MAAM,yBAAyB,yBAAuC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,yBAA2D,CAAC;AACpG,eAAO,MAAM,yBAAyB,yBASpC,CAAC;AACH,eAAO,MAAM,uCAAuC,yBAAgD,CAAC;AACrG,eAAO,MAAM,2CAA2C,yBAAmE,CAAC;AAC5H,eAAO,MAAM,6CAA6C,yBAQxD,CAAC;AACH,eAAO,MAAM,wCAAwC,yBAAuC,CAAC;AAwB7F,eAAO,MAAM,oCAAoC;;CAMvC,CAAC;AACX,eAAO,MAAM,+BAA+B;;CAOlC,CAAC;AA6BX,eAAO,MAAM,+BAA+B;;CAUlC,CAAC;AACX,eAAO,MAAM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,kCAAkC,yBAE7B,CAAC;AAEnB,eAAO,MAAM,4BAA4B,yBAE7B,CAAC;AAEb,eAAO,MAAM,2BAA2B,yBAE7B,CAAC;AAEZ,eAAO,MAAM,gCAAgC,yBAEjC,CAAC;AACb,eAAO,MAAM,+BAA+B,yBAEjC,CAAC;AAEZ,eAAO,MAAM,iCAAiC,yBAE7B,CAAC;AAElB,eAAO,MAAM,gCAAgC,yBAE7B,CAAC;AAEjB,eAAO,MAAM,0CAA0C,yBAExC,CAAC;AAEhB,eAAO,MAAM,mCAAmC,yBAA6B,CAAC;AAC9E,eAAO,MAAM,wCAAwC,yBAA8D,CAAC;AACpH,eAAO,MAAM,wCAAwC,yBAAyE,CAAC;AAC/H,eAAO,MAAM,mCAAmC,yBAA+D,CAAC;AAChH,eAAO,MAAM,kCAAkC,yBAAgC,CAAC;AAEhF,eAAO,MAAM,6BAA6B,yBAGJ,CAAC;AAEvC,eAAO,MAAM,wBAAwB,yBAW4H,CAAC;AAElK,eAAO,MAAM,6BAA6B,yBAQoE,CAAC;AAE/G,eAAO,MAAM,+BAA+B,yBAOmB,CAAC;AAEhE,eAAO,MAAM,6BAA6B,yBAKmB,CAAC;AAE9D,eAAO,MAAM,4BAA4B,yBAM0C,CAAC;AAEpF,eAAO,MAAM,mCAAmC,yBAMsC,CAAC;AAEvF,eAAO,MAAM,+BAA+B,yBAImB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,yBAImB,CAAC;AAEjE,eAAO,MAAM,+BAA+B,yBAOgD,CAAC;AAE7F,eAAO,MAAM,+BAA+B,yBAMS,CAAC;AAEtD,eAAO,MAAM,+BAA+B,yBAUoG,CAAC;AAEjJ,eAAO,MAAM,+BAA+B,yBAIqB,CAAC"}
1
+ {"version":3,"file":"operator-contract-schemas-knowledge.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/control-plane/operator-contract-schemas-knowledge.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qCAAqC,yBAA6C,CAAC;AAChG,eA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K,eAAO,MAAM,6BAA6B,yBAQoE,CAAC;AAE/G,eAAO,MAAM,+BAA+B,yBAOmB,CAAC;AAEhE,eAAO,MAAM,6BAA6B,yBAKmB,CAAC;AAE9D,eAAO,MAAM,4BAA4B,yBAM0C,CAAC;AAEpF,eAAO,MAAM,gCAAgC,yBAS2E,CAAC;AAEzH,eAAO,MAAM,mCAAmC,yBAMsC,CAAC;AAEvF,eAAO,MAAM,+BAA+B,yBAImB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,yBAImB,CAAC;AAEjE,eAAO,MAAM,+BAA+B,yBAOgD,CAAC;AAE7F,eAAO,MAAM,+BAA+B,yBAMS,CAAC;AAEtD,eAAO,MAAM,+BAA+B,yBAUoG,CAAC;AAEjJ,eAAO,MAAM,+BAA+B,yBAIqB,CAAC"}
@@ -588,6 +588,16 @@ export const HOME_GRAPH_ASK_OUTPUT_SCHEMA = objectSchema({
588
588
  answer: JSON_RECORD_SCHEMA,
589
589
  results: GENERIC_LIST_SCHEMA,
590
590
  }, ['ok', 'spaceId', 'query', 'answer', 'results'], { additionalProperties: true });
591
+ export const HOME_GRAPH_REINDEX_OUTPUT_SCHEMA = objectSchema({
592
+ ok: BOOLEAN_SCHEMA,
593
+ spaceId: STRING_SCHEMA,
594
+ scanned: NUMBER_SCHEMA,
595
+ reparsed: NUMBER_SCHEMA,
596
+ skipped: NUMBER_SCHEMA,
597
+ failed: NUMBER_SCHEMA,
598
+ sources: arraySchema(KNOWLEDGE_SOURCE_SCHEMA),
599
+ failures: GENERIC_LIST_SCHEMA,
600
+ }, ['ok', 'spaceId', 'scanned', 'reparsed', 'skipped', 'failed', 'sources', 'failures'], { additionalProperties: true });
591
601
  export const HOME_GRAPH_PROJECTION_OUTPUT_SCHEMA = objectSchema({
592
602
  ok: BOOLEAN_SCHEMA,
593
603
  spaceId: STRING_SCHEMA,
@@ -1 +1 @@
1
- {"version":3,"file":"home-graph-routes.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/daemon/http/home-graph-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAa5C,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,aAAa,EAAE,uBAAuB,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,UAAU,GAAG,QAAQ,CAAC,CAAC;IACzE,QAAQ,CAAC,qBAAqB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,GAAG,QAAQ,CAAC,CAAC;IACxF,QAAQ,CAAC,YAAY,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,QAAQ,GAAG,IAAI,CAAC;CAC1D;AAED,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,qBAAqB;IAErD,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;YAmFtC,KAAK;YAML,QAAQ;YAMR,gBAAgB;CAK/B"}
1
+ {"version":3,"file":"home-graph-routes.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/daemon/http/home-graph-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAa5C,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,aAAa,EAAE,uBAAuB,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,UAAU,GAAG,QAAQ,CAAC,CAAC;IACzE,QAAQ,CAAC,qBAAqB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,GAAG,QAAQ,CAAC,CAAC;IACxF,QAAQ,CAAC,YAAY,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,QAAQ,GAAG,IAAI,CAAC;CAC1D;AAED,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,qBAAqB;IAErD,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;YAsFtC,KAAK;YAML,QAAQ;YAMR,gBAAgB;CAK/B"}
@@ -39,6 +39,9 @@ export class HomeGraphRoutes {
39
39
  if (url.pathname === '/api/homeassistant/home-graph/ask' && req.method === 'POST') {
40
40
  return Response.json(await this.context.homeGraphService.ask(await this.readBody(req)));
41
41
  }
42
+ if (url.pathname === '/api/homeassistant/home-graph/reindex' && req.method === 'POST') {
43
+ return await this.admin(req, async () => Response.json(await this.context.homeGraphService.reindex(await this.readOptionalBody(req))));
44
+ }
42
45
  if (url.pathname === '/api/homeassistant/home-graph/sync' && req.method === 'POST') {
43
46
  return await this.admin(req, async () => Response.json(await this.context.homeGraphService.syncSnapshot(await this.readBody(req))));
44
47
  }