hindsight-client 0.1.10__tar.gz → 0.1.12__tar.gz

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 (138) hide show
  1. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/PKG-INFO +1 -1
  2. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client/hindsight_client.py +7 -2
  3. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/pyproject.toml +1 -1
  4. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/.gitignore +0 -0
  5. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/.openapi-generator/FILES +0 -0
  6. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/.openapi-generator/VERSION +0 -0
  7. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/.openapi-generator-ignore +0 -0
  8. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/README.md +0 -0
  9. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client/__init__.py +0 -0
  10. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/__init__.py +0 -0
  11. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/api/__init__.py +0 -0
  12. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/api/default_api.py +0 -0
  13. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/api/monitoring_api.py +0 -0
  14. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/api_client.py +0 -0
  15. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/api_response.py +0 -0
  16. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/configuration.py +0 -0
  17. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/AddBackgroundRequest.md +0 -0
  18. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/BackgroundResponse.md +0 -0
  19. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/BankListItem.md +0 -0
  20. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/BankListResponse.md +0 -0
  21. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/BankProfileResponse.md +0 -0
  22. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/Budget.md +0 -0
  23. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ChunkData.md +0 -0
  24. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ChunkIncludeOptions.md +0 -0
  25. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ChunkResponse.md +0 -0
  26. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/CreateBankRequest.md +0 -0
  27. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/DefaultApi.md +0 -0
  28. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/DeleteResponse.md +0 -0
  29. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/DispositionTraits.md +0 -0
  30. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/DocumentResponse.md +0 -0
  31. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityDetailResponse.md +0 -0
  32. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityIncludeOptions.md +0 -0
  33. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityListItem.md +0 -0
  34. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityListResponse.md +0 -0
  35. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityObservationResponse.md +0 -0
  36. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/EntityStateResponse.md +0 -0
  37. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/GraphDataResponse.md +0 -0
  38. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/HTTPValidationError.md +0 -0
  39. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/IncludeOptions.md +0 -0
  40. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ListDocumentsResponse.md +0 -0
  41. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -0
  42. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/MemoryItem.md +0 -0
  43. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/MonitoringApi.md +0 -0
  44. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/RecallRequest.md +0 -0
  45. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/RecallResponse.md +0 -0
  46. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/RecallResult.md +0 -0
  47. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ReflectFact.md +0 -0
  48. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ReflectIncludeOptions.md +0 -0
  49. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ReflectRequest.md +0 -0
  50. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ReflectResponse.md +0 -0
  51. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/RetainRequest.md +0 -0
  52. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/RetainResponse.md +0 -0
  53. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/UpdateDispositionRequest.md +0 -0
  54. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ValidationError.md +0 -0
  55. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/docs/ValidationErrorLocInner.md +0 -0
  56. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/exceptions.py +0 -0
  57. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/__init__.py +0 -0
  58. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/add_background_request.py +0 -0
  59. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/background_response.py +0 -0
  60. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/bank_list_item.py +0 -0
  61. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/bank_list_response.py +0 -0
  62. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/bank_profile_response.py +0 -0
  63. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/budget.py +0 -0
  64. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/chunk_data.py +0 -0
  65. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/chunk_include_options.py +0 -0
  66. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/chunk_response.py +0 -0
  67. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/create_bank_request.py +0 -0
  68. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/delete_response.py +0 -0
  69. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/disposition_traits.py +0 -0
  70. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/document_response.py +0 -0
  71. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_detail_response.py +0 -0
  72. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_include_options.py +0 -0
  73. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_list_item.py +0 -0
  74. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_list_response.py +0 -0
  75. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_observation_response.py +0 -0
  76. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/entity_state_response.py +0 -0
  77. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/graph_data_response.py +0 -0
  78. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/http_validation_error.py +0 -0
  79. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/include_options.py +0 -0
  80. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/list_documents_response.py +0 -0
  81. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/list_memory_units_response.py +0 -0
  82. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/memory_item.py +0 -0
  83. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/recall_request.py +0 -0
  84. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/recall_response.py +0 -0
  85. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/recall_result.py +0 -0
  86. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/reflect_fact.py +0 -0
  87. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/reflect_include_options.py +0 -0
  88. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/reflect_request.py +0 -0
  89. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/reflect_response.py +0 -0
  90. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/retain_request.py +0 -0
  91. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/retain_response.py +0 -0
  92. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/update_disposition_request.py +0 -0
  93. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/validation_error.py +0 -0
  94. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/models/validation_error_loc_inner.py +0 -0
  95. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/rest.py +0 -0
  96. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/__init__.py +0 -0
  97. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_add_background_request.py +0 -0
  98. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_background_response.py +0 -0
  99. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_bank_list_item.py +0 -0
  100. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_bank_list_response.py +0 -0
  101. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_bank_profile_response.py +0 -0
  102. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_budget.py +0 -0
  103. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_chunk_data.py +0 -0
  104. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_chunk_include_options.py +0 -0
  105. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_chunk_response.py +0 -0
  106. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_create_bank_request.py +0 -0
  107. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_default_api.py +0 -0
  108. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_delete_response.py +0 -0
  109. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_disposition_traits.py +0 -0
  110. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_document_response.py +0 -0
  111. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_detail_response.py +0 -0
  112. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_include_options.py +0 -0
  113. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_list_item.py +0 -0
  114. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_list_response.py +0 -0
  115. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_observation_response.py +0 -0
  116. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_entity_state_response.py +0 -0
  117. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_graph_data_response.py +0 -0
  118. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_http_validation_error.py +0 -0
  119. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_include_options.py +0 -0
  120. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_list_documents_response.py +0 -0
  121. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_list_memory_units_response.py +0 -0
  122. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_memory_item.py +0 -0
  123. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_monitoring_api.py +0 -0
  124. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_recall_request.py +0 -0
  125. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_recall_response.py +0 -0
  126. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_recall_result.py +0 -0
  127. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_reflect_fact.py +0 -0
  128. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_reflect_include_options.py +0 -0
  129. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_reflect_request.py +0 -0
  130. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_reflect_response.py +0 -0
  131. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_retain_request.py +0 -0
  132. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_retain_response.py +0 -0
  133. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_update_disposition_request.py +0 -0
  134. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_validation_error.py +0 -0
  135. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/hindsight_client_api/test/test_validation_error_loc_inner.py +0 -0
  136. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/openapi-generator-config.yaml +0 -0
  137. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/tests/__init__.py +0 -0
  138. {hindsight_client-0.1.10 → hindsight_client-0.1.12}/tests/test_main_operations.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hindsight-client
3
- Version: 0.1.10
3
+ Version: 0.1.12
4
4
  Summary: Python client for Hindsight - Semantic memory system with personality-driven thinking
5
5
  Author: Hindsight Team
6
6
  Requires-Python: >=3.10
@@ -44,8 +44,12 @@ class Hindsight:
44
44
  ```python
45
45
  from hindsight_client import Hindsight
46
46
 
47
+ # Without authentication
47
48
  client = Hindsight(base_url="http://localhost:8888")
48
49
 
50
+ # With API key authentication
51
+ client = Hindsight(base_url="http://localhost:8888", api_key="your-api-key")
52
+
49
53
  # Store a memory
50
54
  client.retain(bank_id="alice", content="Alice loves AI")
51
55
 
@@ -59,15 +63,16 @@ class Hindsight:
59
63
  ```
60
64
  """
61
65
 
62
- def __init__(self, base_url: str, timeout: float = 30.0):
66
+ def __init__(self, base_url: str, api_key: Optional[str] = None, timeout: float = 30.0):
63
67
  """
64
68
  Initialize the Hindsight client.
65
69
 
66
70
  Args:
67
71
  base_url: The base URL of the Hindsight API server
72
+ api_key: Optional API key for authentication (sent as Bearer token)
68
73
  timeout: Request timeout in seconds (default: 30.0)
69
74
  """
70
- config = hindsight_client_api.Configuration(host=base_url)
75
+ config = hindsight_client_api.Configuration(host=base_url, access_token=api_key)
71
76
  self._api_client = hindsight_client_api.ApiClient(config)
72
77
  self._api = default_api.DefaultApi(self._api_client)
73
78
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hindsight-client"
3
- version = "0.1.10"
3
+ version = "0.1.12"
4
4
  description = "Python client for Hindsight - Semantic memory system with personality-driven thinking"
5
5
  authors = [
6
6
  {name = "Hindsight Team"}