entropic-engine 2.12.2__tar.gz → 2.13.0__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 (27) hide show
  1. {entropic_engine-2.12.2/python/src/entropic_engine.egg-info → entropic_engine-2.13.0}/PKG-INFO +1 -1
  2. entropic_engine-2.13.0/VERSION +1 -0
  3. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/_bindings.py +25 -0
  4. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/_bindings_manifest.py +9 -0
  5. {entropic_engine-2.12.2 → entropic_engine-2.13.0/python/src/entropic_engine.egg-info}/PKG-INFO +1 -1
  6. entropic_engine-2.12.2/VERSION +0 -1
  7. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/AUTHORS +0 -0
  8. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/LICENSE +0 -0
  9. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/NOTICE +0 -0
  10. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/README.md +0 -0
  11. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/pyproject.toml +0 -0
  12. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/__init__.py +0 -0
  13. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/__main__.py +0 -0
  14. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/_loader.py +0 -0
  15. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/cli.py +0 -0
  16. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/helpers.py +0 -0
  17. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/hooks.py +0 -0
  18. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/install_engine.py +0 -0
  19. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/mcp.py +0 -0
  20. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/py.typed +0 -0
  21. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic/streams.py +0 -0
  22. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic_engine.egg-info/SOURCES.txt +0 -0
  23. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic_engine.egg-info/dependency_links.txt +0 -0
  24. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic_engine.egg-info/entry_points.txt +0 -0
  25. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic_engine.egg-info/requires.txt +0 -0
  26. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/python/src/entropic_engine.egg-info/top_level.txt +0 -0
  27. {entropic_engine-2.12.2 → entropic_engine-2.13.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entropic-engine
3
- Version: 2.12.2
3
+ Version: 2.13.0
4
4
  Summary: Local-first agentic inference engine — Python wrapper over librentropic.so
5
5
  Author: Tristan VanFossen
6
6
  License-Expression: Apache-2.0
@@ -0,0 +1 @@
1
+ 2.13.0
@@ -103,6 +103,7 @@ class EntropicError(enum.IntEnum):
103
103
  SPECULATIVE_INCOMPATIBLE_ARCH = 52
104
104
  TIER_MODEL_TOO_LARGE = 53
105
105
  SPECULATIVE_INCOMPATIBLE_CONFIG = 54
106
+ MLOCK_LIMIT_EXCEEDED = 55
106
107
 
107
108
  class AgentState(enum.IntEnum):
108
109
  """Mirrors ``entropic_agent_state_t`` from the C header."""
@@ -187,6 +188,12 @@ class EntropicMcpAccessLevel(enum.IntEnum):
187
188
  READ = 1
188
189
  WRITE = 2
189
190
 
191
+ class EntPathAccess(enum.IntEnum):
192
+ """Mirrors ``ent_path_access_t`` from the C header."""
193
+
194
+ READ = 0
195
+ WRITE = 1
196
+
190
197
  # ── Structs ───────────────────────────────────
191
198
 
192
199
  class EntDelegationRequest(ctypes.Structure):
@@ -226,12 +233,24 @@ class EntropicLogprobResult(ctypes.Structure):
226
233
  ("n_logprobs", ctypes.c_int),
227
234
  ]
228
235
 
236
+ class EntPathApprovalRequest(ctypes.Structure):
237
+ """Mirrors ``ent_path_approval_request_t`` from the C header."""
238
+
239
+ _fields_ = [
240
+ ("path", ctypes.c_char_p),
241
+ ("root", ctypes.c_char_p),
242
+ ("tool", ctypes.c_char_p),
243
+ ("access", ctypes.c_int),
244
+ ("session_key", ctypes.c_char_p),
245
+ ]
246
+
229
247
  # ── Callback typedefs (named) ─────────────────
230
248
 
231
249
  HOOK_CB = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p), ctypes.c_void_p)
232
250
  RESIDENCY_OBSERVER_CB = ctypes.CFUNCTYPE(None, ctypes.c_int, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_size_t, ctypes.c_void_p)
233
251
  DELEGATION_START_CB = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.POINTER(EntDelegationRequest), ctypes.c_void_p)
234
252
  DELEGATION_COMPLETE_CB = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.POINTER(EntDelegationResult), ctypes.c_void_p)
253
+ PATH_APPROVAL_CB = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.POINTER(EntPathApprovalRequest), ctypes.c_void_p)
235
254
  ATTEMPT_BOUNDARY_CB = ctypes.CFUNCTYPE(None, ctypes.c_int, ctypes.c_void_p)
236
255
  COMPACTOR_CB = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p), ctypes.POINTER(ctypes.c_char_p), ctypes.c_void_p)
237
256
 
@@ -271,6 +290,7 @@ entropic_set_stream_observer = _bind("entropic_set_stream_observer", ctypes.c_in
271
290
  entropic_set_state_observer = _bind("entropic_set_state_observer", ctypes.c_int, entropic_handle_t, STATE_OBSERVER_CB, ctypes.c_void_p)
272
291
  entropic_set_critique_callbacks = _bind("entropic_set_critique_callbacks", ctypes.c_int, entropic_handle_t, CRITIQUE_START_CB, CRITIQUE_END_CB, ctypes.c_void_p)
273
292
  entropic_interrupt = _bind("entropic_interrupt", ctypes.c_int, entropic_handle_t)
293
+ entropic_interrupt_session = _bind("entropic_interrupt_session", ctypes.c_int, entropic_handle_t, ctypes.c_char_p)
274
294
  entropic_queue_user_message = _bind("entropic_queue_user_message", ctypes.c_int, entropic_handle_t, ctypes.c_char_p)
275
295
  entropic_user_message_queue_depth = _bind("entropic_user_message_queue_depth", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_size_t))
276
296
  entropic_clear_user_message_queue = _bind("entropic_clear_user_message_queue", ctypes.c_int, entropic_handle_t)
@@ -278,22 +298,27 @@ entropic_set_queue_observer = _bind("entropic_set_queue_observer", ctypes.c_int,
278
298
  entropic_speculative_compat = _bind("entropic_speculative_compat", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_char_p))
279
299
  entropic_set_residency_observer = _bind("entropic_set_residency_observer", ctypes.c_int, entropic_handle_t, RESIDENCY_OBSERVER_CB, ctypes.c_void_p)
280
300
  entropic_residency_snapshot = _bind("entropic_residency_snapshot", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_char_p))
301
+ entropic_release_model = _bind("entropic_release_model", ctypes.c_int, entropic_handle_t, ctypes.c_char_p)
281
302
  entropic_context_clear = _bind("entropic_context_clear", ctypes.c_int, entropic_handle_t)
282
303
  entropic_context_get = _bind("entropic_context_get", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_char_p))
283
304
  entropic_run_session = _bind("entropic_run_session", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p))
284
305
  entropic_run_session_as = _bind("entropic_run_session_as", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p))
285
306
  entropic_run_session_streaming = _bind("entropic_run_session_streaming", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p, ENTROPIC_RUN_SESSION_STREAMING_ARG3_CB, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int))
286
307
  entropic_session_context_get = _bind("entropic_session_context_get", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p))
308
+ entropic_session_context_set = _bind("entropic_session_context_set", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p)
287
309
  entropic_session_context_count = _bind("entropic_session_context_count", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.POINTER(ctypes.c_size_t))
288
310
  entropic_session_context_clear = _bind("entropic_session_context_clear", ctypes.c_int, entropic_handle_t, ctypes.c_char_p)
289
311
  entropic_session_drop = _bind("entropic_session_drop", ctypes.c_int, entropic_handle_t, ctypes.c_char_p)
290
312
  entropic_session_list = _bind("entropic_session_list", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_char_p))
313
+ entropic_workspace_create = _bind("entropic_workspace_create", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p)
314
+ entropic_session_bind_workspace = _bind("entropic_session_bind_workspace", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p)
291
315
  entropic_context_count = _bind("entropic_context_count", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_size_t))
292
316
  entropic_context_usage = _bind("entropic_context_usage", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(ctypes.c_size_t))
293
317
  entropic_state_save = _bind("entropic_state_save", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p)
294
318
  entropic_state_load = _bind("entropic_state_load", ctypes.c_int, entropic_handle_t, ctypes.c_char_p, ctypes.c_char_p)
295
319
  entropic_metrics_json = _bind("entropic_metrics_json", ctypes.c_int, entropic_handle_t, ctypes.POINTER(ctypes.c_char_p))
296
320
  entropic_set_delegation_callbacks = _bind("entropic_set_delegation_callbacks", ctypes.c_int, entropic_handle_t, DELEGATION_START_CB, DELEGATION_COMPLETE_CB, ctypes.c_void_p)
321
+ entropic_set_path_approval_callback = _bind("entropic_set_path_approval_callback", ctypes.c_int, entropic_handle_t, PATH_APPROVAL_CB, ctypes.c_void_p)
297
322
  entropic_validation_set_auto_retry = _bind("entropic_validation_set_auto_retry", ctypes.c_int, entropic_handle_t, ctypes.c_int)
298
323
  entropic_validation_resume_retry = _bind("entropic_validation_resume_retry", ctypes.c_int, entropic_handle_t)
299
324
  entropic_validation_accept_last = _bind("entropic_validation_accept_last", ctypes.c_int, entropic_handle_t)
@@ -21,6 +21,8 @@ EXPORTS = frozenset(
21
21
  "EntDecision",
22
22
  "EntDelegationRequest",
23
23
  "EntDelegationResult",
24
+ "EntPathAccess",
25
+ "EntPathApprovalRequest",
24
26
  "EntropicComputeBackend",
25
27
  "EntropicDirectiveType",
26
28
  "EntropicError",
@@ -30,6 +32,7 @@ EXPORTS = frozenset(
30
32
  "EntropicModelState",
31
33
  "HOOK_CALLBACK_CB",
32
34
  "HOOK_CB",
35
+ "PATH_APPROVAL_CB",
33
36
  "QUEUE_OBSERVER_CB",
34
37
  "RESIDENCY_OBSERVER_CB",
35
38
  "STATE_OBSERVER_CB",
@@ -84,6 +87,7 @@ EXPORTS = frozenset(
84
87
  "entropic_handle_t",
85
88
  "entropic_identity_count",
86
89
  "entropic_interrupt",
90
+ "entropic_interrupt_session",
87
91
  "entropic_list_identities",
88
92
  "entropic_list_mcp_keys",
89
93
  "entropic_list_mcp_servers",
@@ -98,6 +102,7 @@ EXPORTS = frozenset(
98
102
  "entropic_register_compactor",
99
103
  "entropic_register_hook",
100
104
  "entropic_register_mcp_server",
105
+ "entropic_release_model",
101
106
  "entropic_residency_snapshot",
102
107
  "entropic_revoke_mcp_key",
103
108
  "entropic_run",
@@ -111,14 +116,17 @@ EXPORTS = frozenset(
111
116
  "entropic_run_streaming",
112
117
  "entropic_seconds_since_last_activity",
113
118
  "entropic_serialize_mcp_keys",
119
+ "entropic_session_bind_workspace",
114
120
  "entropic_session_context_clear",
115
121
  "entropic_session_context_count",
116
122
  "entropic_session_context_get",
123
+ "entropic_session_context_set",
117
124
  "entropic_session_drop",
118
125
  "entropic_session_list",
119
126
  "entropic_set_attempt_boundary_cb",
120
127
  "entropic_set_critique_callbacks",
121
128
  "entropic_set_delegation_callbacks",
129
+ "entropic_set_path_approval_callback",
122
130
  "entropic_set_queue_observer",
123
131
  "entropic_set_residency_observer",
124
132
  "entropic_set_state_observer",
@@ -139,5 +147,6 @@ EXPORTS = frozenset(
139
147
  "entropic_validation_set_enabled",
140
148
  "entropic_validation_set_identity",
141
149
  "entropic_version",
150
+ "entropic_workspace_create",
142
151
  }
143
152
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entropic-engine
3
- Version: 2.12.2
3
+ Version: 2.13.0
4
4
  Summary: Local-first agentic inference engine — Python wrapper over librentropic.so
5
5
  Author: Tristan VanFossen
6
6
  License-Expression: Apache-2.0
@@ -1 +0,0 @@
1
- 2.12.2