tulip-agents 1.0.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 (463) hide show
  1. tulip_agents-1.0.0/.gitignore +282 -0
  2. tulip_agents-1.0.0/LICENSE +201 -0
  3. tulip_agents-1.0.0/LICENSE.txt +201 -0
  4. tulip_agents-1.0.0/NOTICE +16 -0
  5. tulip_agents-1.0.0/PKG-INFO +764 -0
  6. tulip_agents-1.0.0/README.md +637 -0
  7. tulip_agents-1.0.0/THIRD_PARTY_LICENSES.txt +308 -0
  8. tulip_agents-1.0.0/pyproject.toml +686 -0
  9. tulip_agents-1.0.0/src/tulip/__init__.py +272 -0
  10. tulip_agents-1.0.0/src/tulip/_sync.py +73 -0
  11. tulip_agents-1.0.0/src/tulip/a2a/__init__.py +142 -0
  12. tulip_agents-1.0.0/src/tulip/a2a/protocol.py +1309 -0
  13. tulip_agents-1.0.0/src/tulip/a2a/protocol_v1.py +555 -0
  14. tulip_agents-1.0.0/src/tulip/a2a/spec.py +419 -0
  15. tulip_agents-1.0.0/src/tulip/a2a/spec_v1.py +278 -0
  16. tulip_agents-1.0.0/src/tulip/agent/__init__.py +36 -0
  17. tulip_agents-1.0.0/src/tulip/agent/agent.py +603 -0
  18. tulip_agents-1.0.0/src/tulip/agent/composition.py +351 -0
  19. tulip_agents-1.0.0/src/tulip/agent/config.py +606 -0
  20. tulip_agents-1.0.0/src/tulip/agent/hook_orchestrator.py +166 -0
  21. tulip_agents-1.0.0/src/tulip/agent/initializer.py +249 -0
  22. tulip_agents-1.0.0/src/tulip/agent/result.py +338 -0
  23. tulip_agents-1.0.0/src/tulip/agent/runtime_loop.py +2036 -0
  24. tulip_agents-1.0.0/src/tulip/core/__init__.py +177 -0
  25. tulip_agents-1.0.0/src/tulip/core/command.py +259 -0
  26. tulip_agents-1.0.0/src/tulip/core/config.py +170 -0
  27. tulip_agents-1.0.0/src/tulip/core/errors.py +206 -0
  28. tulip_agents-1.0.0/src/tulip/core/events.py +260 -0
  29. tulip_agents-1.0.0/src/tulip/core/interrupt.py +403 -0
  30. tulip_agents-1.0.0/src/tulip/core/messages.py +150 -0
  31. tulip_agents-1.0.0/src/tulip/core/protocols.py +347 -0
  32. tulip_agents-1.0.0/src/tulip/core/reducers.py +465 -0
  33. tulip_agents-1.0.0/src/tulip/core/send.py +324 -0
  34. tulip_agents-1.0.0/src/tulip/core/state.py +402 -0
  35. tulip_agents-1.0.0/src/tulip/core/structured.py +431 -0
  36. tulip_agents-1.0.0/src/tulip/core/termination.py +236 -0
  37. tulip_agents-1.0.0/src/tulip/core/warnings.py +40 -0
  38. tulip_agents-1.0.0/src/tulip/deepagent/__init__.py +136 -0
  39. tulip_agents-1.0.0/src/tulip/deepagent/backends/__init__.py +36 -0
  40. tulip_agents-1.0.0/src/tulip/deepagent/backends/filesystem.py +242 -0
  41. tulip_agents-1.0.0/src/tulip/deepagent/backends/protocol.py +122 -0
  42. tulip_agents-1.0.0/src/tulip/deepagent/backends/state.py +224 -0
  43. tulip_agents-1.0.0/src/tulip/deepagent/factory.py +399 -0
  44. tulip_agents-1.0.0/src/tulip/deepagent/memory.py +47 -0
  45. tulip_agents-1.0.0/src/tulip/deepagent/protocol.py +126 -0
  46. tulip_agents-1.0.0/src/tulip/deepagent/subagent.py +152 -0
  47. tulip_agents-1.0.0/src/tulip/deepagent/todos.py +121 -0
  48. tulip_agents-1.0.0/src/tulip/deepagent/tools/__init__.py +15 -0
  49. tulip_agents-1.0.0/src/tulip/deepagent/tools/filesystem.py +159 -0
  50. tulip_agents-1.0.0/src/tulip/deepagent/workflow.py +664 -0
  51. tulip_agents-1.0.0/src/tulip/evaluation/__init__.py +25 -0
  52. tulip_agents-1.0.0/src/tulip/evaluation/framework.py +225 -0
  53. tulip_agents-1.0.0/src/tulip/hooks/__init__.py +64 -0
  54. tulip_agents-1.0.0/src/tulip/hooks/builtin/__init__.py +63 -0
  55. tulip_agents-1.0.0/src/tulip/hooks/builtin/guardrails.py +764 -0
  56. tulip_agents-1.0.0/src/tulip/hooks/builtin/logging.py +278 -0
  57. tulip_agents-1.0.0/src/tulip/hooks/builtin/retry.py +129 -0
  58. tulip_agents-1.0.0/src/tulip/hooks/builtin/steering.py +247 -0
  59. tulip_agents-1.0.0/src/tulip/hooks/builtin/telemetry.py +428 -0
  60. tulip_agents-1.0.0/src/tulip/hooks/events.py +85 -0
  61. tulip_agents-1.0.0/src/tulip/hooks/plugin.py +136 -0
  62. tulip_agents-1.0.0/src/tulip/hooks/provider.py +404 -0
  63. tulip_agents-1.0.0/src/tulip/hooks/registry.py +397 -0
  64. tulip_agents-1.0.0/src/tulip/integrations/__init__.py +17 -0
  65. tulip_agents-1.0.0/src/tulip/integrations/fastmcp.py +722 -0
  66. tulip_agents-1.0.0/src/tulip/integrations/osv.py +193 -0
  67. tulip_agents-1.0.0/src/tulip/loop/__init__.py +53 -0
  68. tulip_agents-1.0.0/src/tulip/loop/nodes.py +362 -0
  69. tulip_agents-1.0.0/src/tulip/loop/react.py +278 -0
  70. tulip_agents-1.0.0/src/tulip/loop/router.py +240 -0
  71. tulip_agents-1.0.0/src/tulip/loop/runner.py +306 -0
  72. tulip_agents-1.0.0/src/tulip/memory/__init__.py +114 -0
  73. tulip_agents-1.0.0/src/tulip/memory/backends/__init__.py +84 -0
  74. tulip_agents-1.0.0/src/tulip/memory/backends/adapters.py +654 -0
  75. tulip_agents-1.0.0/src/tulip/memory/backends/file.py +287 -0
  76. tulip_agents-1.0.0/src/tulip/memory/backends/http.py +300 -0
  77. tulip_agents-1.0.0/src/tulip/memory/backends/memory.py +246 -0
  78. tulip_agents-1.0.0/src/tulip/memory/backends/mysql.py +645 -0
  79. tulip_agents-1.0.0/src/tulip/memory/backends/opensearch.py +300 -0
  80. tulip_agents-1.0.0/src/tulip/memory/backends/postgresql.py +453 -0
  81. tulip_agents-1.0.0/src/tulip/memory/backends/redis.py +128 -0
  82. tulip_agents-1.0.0/src/tulip/memory/backends/s3.py +421 -0
  83. tulip_agents-1.0.0/src/tulip/memory/checkpointer.py +334 -0
  84. tulip_agents-1.0.0/src/tulip/memory/compactor.py +328 -0
  85. tulip_agents-1.0.0/src/tulip/memory/conversation.py +324 -0
  86. tulip_agents-1.0.0/src/tulip/memory/delta.py +545 -0
  87. tulip_agents-1.0.0/src/tulip/memory/manager.py +583 -0
  88. tulip_agents-1.0.0/src/tulip/memory/managers/__init__.py +38 -0
  89. tulip_agents-1.0.0/src/tulip/memory/managers/mem0.py +179 -0
  90. tulip_agents-1.0.0/src/tulip/memory/registry.py +203 -0
  91. tulip_agents-1.0.0/src/tulip/memory/store.py +934 -0
  92. tulip_agents-1.0.0/src/tulip/memory/store_backends/__init__.py +14 -0
  93. tulip_agents-1.0.0/src/tulip/models/__init__.py +66 -0
  94. tulip_agents-1.0.0/src/tulip/models/auxiliary.py +55 -0
  95. tulip_agents-1.0.0/src/tulip/models/base.py +120 -0
  96. tulip_agents-1.0.0/src/tulip/models/caching.py +84 -0
  97. tulip_agents-1.0.0/src/tulip/models/credentials.py +211 -0
  98. tulip_agents-1.0.0/src/tulip/models/failover.py +786 -0
  99. tulip_agents-1.0.0/src/tulip/models/metadata.py +272 -0
  100. tulip_agents-1.0.0/src/tulip/models/native/__init__.py +19 -0
  101. tulip_agents-1.0.0/src/tulip/models/native/anthropic.py +417 -0
  102. tulip_agents-1.0.0/src/tulip/models/native/openai.py +486 -0
  103. tulip_agents-1.0.0/src/tulip/models/pooled.py +211 -0
  104. tulip_agents-1.0.0/src/tulip/models/providers/__init__.py +8 -0
  105. tulip_agents-1.0.0/src/tulip/models/rate_limits.py +236 -0
  106. tulip_agents-1.0.0/src/tulip/models/registry.py +99 -0
  107. tulip_agents-1.0.0/src/tulip/multiagent/__init__.py +133 -0
  108. tulip_agents-1.0.0/src/tulip/multiagent/functional.py +233 -0
  109. tulip_agents-1.0.0/src/tulip/multiagent/graph.py +1670 -0
  110. tulip_agents-1.0.0/src/tulip/multiagent/handoff.py +636 -0
  111. tulip_agents-1.0.0/src/tulip/multiagent/orchestrator.py +466 -0
  112. tulip_agents-1.0.0/src/tulip/multiagent/specialist.py +494 -0
  113. tulip_agents-1.0.0/src/tulip/multiagent/swarm.py +700 -0
  114. tulip_agents-1.0.0/src/tulip/multiagent/visualize.py +138 -0
  115. tulip_agents-1.0.0/src/tulip/observability/__init__.py +66 -0
  116. tulip_agents-1.0.0/src/tulip/observability/agent_bridge.py +170 -0
  117. tulip_agents-1.0.0/src/tulip/observability/bus_hook.py +174 -0
  118. tulip_agents-1.0.0/src/tulip/observability/context.py +136 -0
  119. tulip_agents-1.0.0/src/tulip/observability/emit.py +215 -0
  120. tulip_agents-1.0.0/src/tulip/observability/event_bus.py +368 -0
  121. tulip_agents-1.0.0/src/tulip/observability/router_events.py +230 -0
  122. tulip_agents-1.0.0/src/tulip/playbooks/__init__.py +44 -0
  123. tulip_agents-1.0.0/src/tulip/playbooks/enforcer.py +402 -0
  124. tulip_agents-1.0.0/src/tulip/playbooks/hook.py +160 -0
  125. tulip_agents-1.0.0/src/tulip/playbooks/loader.py +270 -0
  126. tulip_agents-1.0.0/src/tulip/playbooks/models.py +201 -0
  127. tulip_agents-1.0.0/src/tulip/providers/__init__.py +62 -0
  128. tulip_agents-1.0.0/src/tulip/providers/image.py +114 -0
  129. tulip_agents-1.0.0/src/tulip/providers/speech.py +170 -0
  130. tulip_agents-1.0.0/src/tulip/providers/tools.py +216 -0
  131. tulip_agents-1.0.0/src/tulip/providers/types.py +41 -0
  132. tulip_agents-1.0.0/src/tulip/providers/web_fetch.py +193 -0
  133. tulip_agents-1.0.0/src/tulip/providers/web_search.py +128 -0
  134. tulip_agents-1.0.0/src/tulip/py.typed +0 -0
  135. tulip_agents-1.0.0/src/tulip/rag/__init__.py +186 -0
  136. tulip_agents-1.0.0/src/tulip/rag/chunkers/__init__.py +9 -0
  137. tulip_agents-1.0.0/src/tulip/rag/embeddings/__init__.py +43 -0
  138. tulip_agents-1.0.0/src/tulip/rag/embeddings/base.py +218 -0
  139. tulip_agents-1.0.0/src/tulip/rag/embeddings/cohere.py +139 -0
  140. tulip_agents-1.0.0/src/tulip/rag/embeddings/openai.py +206 -0
  141. tulip_agents-1.0.0/src/tulip/rag/loaders/__init__.py +12 -0
  142. tulip_agents-1.0.0/src/tulip/rag/multimodal.py +605 -0
  143. tulip_agents-1.0.0/src/tulip/rag/reranker/__init__.py +42 -0
  144. tulip_agents-1.0.0/src/tulip/rag/reranker/base.py +56 -0
  145. tulip_agents-1.0.0/src/tulip/rag/reranker/cohere.py +111 -0
  146. tulip_agents-1.0.0/src/tulip/rag/reranker/cross_encoder.py +124 -0
  147. tulip_agents-1.0.0/src/tulip/rag/retriever.py +602 -0
  148. tulip_agents-1.0.0/src/tulip/rag/stores/__init__.py +66 -0
  149. tulip_agents-1.0.0/src/tulip/rag/stores/_mmr.py +121 -0
  150. tulip_agents-1.0.0/src/tulip/rag/stores/base.py +265 -0
  151. tulip_agents-1.0.0/src/tulip/rag/stores/chroma.py +252 -0
  152. tulip_agents-1.0.0/src/tulip/rag/stores/memory.py +154 -0
  153. tulip_agents-1.0.0/src/tulip/rag/stores/opensearch.py +395 -0
  154. tulip_agents-1.0.0/src/tulip/rag/stores/pgvector.py +607 -0
  155. tulip_agents-1.0.0/src/tulip/rag/stores/qdrant.py +265 -0
  156. tulip_agents-1.0.0/src/tulip/rag/tools.py +264 -0
  157. tulip_agents-1.0.0/src/tulip/reasoning/__init__.py +78 -0
  158. tulip_agents-1.0.0/src/tulip/reasoning/causal.py +726 -0
  159. tulip_agents-1.0.0/src/tulip/reasoning/grounding.py +676 -0
  160. tulip_agents-1.0.0/src/tulip/reasoning/gsar.py +391 -0
  161. tulip_agents-1.0.0/src/tulip/reasoning/gsar_evaluator.py +261 -0
  162. tulip_agents-1.0.0/src/tulip/reasoning/gsar_judge.py +335 -0
  163. tulip_agents-1.0.0/src/tulip/reasoning/reflexion.py +514 -0
  164. tulip_agents-1.0.0/src/tulip/router/__init__.py +114 -0
  165. tulip_agents-1.0.0/src/tulip/router/capability.py +132 -0
  166. tulip_agents-1.0.0/src/tulip/router/compiler.py +245 -0
  167. tulip_agents-1.0.0/src/tulip/router/goal_frame.py +144 -0
  168. tulip_agents-1.0.0/src/tulip/router/picker.py +200 -0
  169. tulip_agents-1.0.0/src/tulip/router/policy.py +102 -0
  170. tulip_agents-1.0.0/src/tulip/router/protocol.py +668 -0
  171. tulip_agents-1.0.0/src/tulip/router/runnable.py +266 -0
  172. tulip_agents-1.0.0/src/tulip/router/runtime.py +128 -0
  173. tulip_agents-1.0.0/src/tulip/router/skill_index.py +79 -0
  174. tulip_agents-1.0.0/src/tulip/security/__init__.py +362 -0
  175. tulip_agents-1.0.0/src/tulip/security/_adapters.py +30 -0
  176. tulip_agents-1.0.0/src/tulip/security/adapter.py +143 -0
  177. tulip_agents-1.0.0/src/tulip/security/admit.py +109 -0
  178. tulip_agents-1.0.0/src/tulip/security/assess.py +111 -0
  179. tulip_agents-1.0.0/src/tulip/security/audit.py +143 -0
  180. tulip_agents-1.0.0/src/tulip/security/aws.py +183 -0
  181. tulip_agents-1.0.0/src/tulip/security/context.py +278 -0
  182. tulip_agents-1.0.0/src/tulip/security/edr.py +177 -0
  183. tulip_agents-1.0.0/src/tulip/security/findings.py +139 -0
  184. tulip_agents-1.0.0/src/tulip/security/fingerprint.py +264 -0
  185. tulip_agents-1.0.0/src/tulip/security/grounded.py +234 -0
  186. tulip_agents-1.0.0/src/tulip/security/grounding_eval.py +216 -0
  187. tulip_agents-1.0.0/src/tulip/security/intel.py +170 -0
  188. tulip_agents-1.0.0/src/tulip/security/jobs.py +101 -0
  189. tulip_agents-1.0.0/src/tulip/security/playbooks.py +188 -0
  190. tulip_agents-1.0.0/src/tulip/security/policy.py +179 -0
  191. tulip_agents-1.0.0/src/tulip/security/redteam/__init__.py +72 -0
  192. tulip_agents-1.0.0/src/tulip/security/redteam/base.py +66 -0
  193. tulip_agents-1.0.0/src/tulip/security/redteam/probes.py +306 -0
  194. tulip_agents-1.0.0/src/tulip/security/scanner.py +163 -0
  195. tulip_agents-1.0.0/src/tulip/security/secure.py +156 -0
  196. tulip_agents-1.0.0/src/tulip/security/siem.py +115 -0
  197. tulip_agents-1.0.0/src/tulip/security/soc.py +381 -0
  198. tulip_agents-1.0.0/src/tulip/security/target.py +207 -0
  199. tulip_agents-1.0.0/src/tulip/security/taxonomy.py +203 -0
  200. tulip_agents-1.0.0/src/tulip/security/testing.py +91 -0
  201. tulip_agents-1.0.0/src/tulip/security/verify.py +400 -0
  202. tulip_agents-1.0.0/src/tulip/server/__init__.py +43 -0
  203. tulip_agents-1.0.0/src/tulip/server/adapters.py +177 -0
  204. tulip_agents-1.0.0/src/tulip/server/app.py +455 -0
  205. tulip_agents-1.0.0/src/tulip/skills/__init__.py +36 -0
  206. tulip_agents-1.0.0/src/tulip/skills/models.py +254 -0
  207. tulip_agents-1.0.0/src/tulip/skills/plugin.py +206 -0
  208. tulip_agents-1.0.0/src/tulip/streaming/__init__.py +48 -0
  209. tulip_agents-1.0.0/src/tulip/streaming/console.py +372 -0
  210. tulip_agents-1.0.0/src/tulip/streaming/handler.py +283 -0
  211. tulip_agents-1.0.0/src/tulip/streaming/sse.py +442 -0
  212. tulip_agents-1.0.0/src/tulip/streaming/structured.py +143 -0
  213. tulip_agents-1.0.0/src/tulip/tools/__init__.py +24 -0
  214. tulip_agents-1.0.0/src/tulip/tools/builtins.py +56 -0
  215. tulip_agents-1.0.0/src/tulip/tools/context.py +68 -0
  216. tulip_agents-1.0.0/src/tulip/tools/decorator.py +196 -0
  217. tulip_agents-1.0.0/src/tulip/tools/executor.py +540 -0
  218. tulip_agents-1.0.0/src/tulip/tools/path_safety.py +98 -0
  219. tulip_agents-1.0.0/src/tulip/tools/registry.py +86 -0
  220. tulip_agents-1.0.0/src/tulip/tools/result_storage.py +182 -0
  221. tulip_agents-1.0.0/src/tulip/tools/schema.py +205 -0
  222. tulip_agents-1.0.0/src/tulip/tools/url_safety.py +192 -0
  223. tulip_agents-1.0.0/src/tulip/tools/watcher.py +303 -0
  224. tulip_agents-1.0.0/tests/__init__.py +4 -0
  225. tulip_agents-1.0.0/tests/_safe_math.py +55 -0
  226. tulip_agents-1.0.0/tests/integration/README.md +64 -0
  227. tulip_agents-1.0.0/tests/integration/__init__.py +4 -0
  228. tulip_agents-1.0.0/tests/integration/conftest.py +271 -0
  229. tulip_agents-1.0.0/tests/integration/docker-compose.mysql.yml +18 -0
  230. tulip_agents-1.0.0/tests/integration/rag/__init__.py +4 -0
  231. tulip_agents-1.0.0/tests/integration/rag/conftest.py +63 -0
  232. tulip_agents-1.0.0/tests/integration/rag/test_opensearch_store.py +226 -0
  233. tulip_agents-1.0.0/tests/integration/test_a2a_live.py +259 -0
  234. tulip_agents-1.0.0/tests/integration/test_agent_gsar_live.py +116 -0
  235. tulip_agents-1.0.0/tests/integration/test_agent_integration.py +2107 -0
  236. tulip_agents-1.0.0/tests/integration/test_aws_posture_live.py +68 -0
  237. tulip_agents-1.0.0/tests/integration/test_checkpoint_backends.py +507 -0
  238. tulip_agents-1.0.0/tests/integration/test_checkpointer_adapters.py +502 -0
  239. tulip_agents-1.0.0/tests/integration/test_complex_agent.py +102 -0
  240. tulip_agents-1.0.0/tests/integration/test_comprehensive_agent.py +623 -0
  241. tulip_agents-1.0.0/tests/integration/test_deepagent_token_budget.py +220 -0
  242. tulip_agents-1.0.0/tests/integration/test_fastmcp_integration.py +143 -0
  243. tulip_agents-1.0.0/tests/integration/test_fingerprint_probe_live.py +134 -0
  244. tulip_agents-1.0.0/tests/integration/test_gsar_live.py +569 -0
  245. tulip_agents-1.0.0/tests/integration/test_hermes_compactor_e2e.py +175 -0
  246. tulip_agents-1.0.0/tests/integration/test_litellm_gateway_cost.py +348 -0
  247. tulip_agents-1.0.0/tests/integration/test_litellm_gateway_live.py +229 -0
  248. tulip_agents-1.0.0/tests/integration/test_memory_manager_live.py +263 -0
  249. tulip_agents-1.0.0/tests/integration/test_models_integration.py +166 -0
  250. tulip_agents-1.0.0/tests/integration/test_new_vector_stores.py +74 -0
  251. tulip_agents-1.0.0/tests/integration/test_notebooks_22_24.py +464 -0
  252. tulip_agents-1.0.0/tests/integration/test_notebooks_subset.py +857 -0
  253. tulip_agents-1.0.0/tests/integration/test_observability_emission_points.py +278 -0
  254. tulip_agents-1.0.0/tests/integration/test_observability_full_coverage.py +381 -0
  255. tulip_agents-1.0.0/tests/integration/test_observability_router_events.py +233 -0
  256. tulip_agents-1.0.0/tests/integration/test_openai_anthropic_native.py +308 -0
  257. tulip_agents-1.0.0/tests/integration/test_playbook_enforcer_live.py +151 -0
  258. tulip_agents-1.0.0/tests/integration/test_providers_live.py +188 -0
  259. tulip_agents-1.0.0/tests/integration/test_router_benchmark.py +942 -0
  260. tulip_agents-1.0.0/tests/integration/test_router_e2e.py +592 -0
  261. tulip_agents-1.0.0/tests/integration/test_security_pipeline.py +84 -0
  262. tulip_agents-1.0.0/tests/integration/test_server_threads_live.py +118 -0
  263. tulip_agents-1.0.0/tests/integration/test_soc_analyst_live.py +89 -0
  264. tulip_agents-1.0.0/tests/integration/test_structured_stream_live.py +119 -0
  265. tulip_agents-1.0.0/tests/unit/__init__.py +4 -0
  266. tulip_agents-1.0.0/tests/unit/memory/__init__.py +0 -0
  267. tulip_agents-1.0.0/tests/unit/memory/test_memory_manager.py +467 -0
  268. tulip_agents-1.0.0/tests/unit/rag/__init__.py +4 -0
  269. tulip_agents-1.0.0/tests/unit/rag/test_embeddings.py +135 -0
  270. tulip_agents-1.0.0/tests/unit/rag/test_multimodal.py +253 -0
  271. tulip_agents-1.0.0/tests/unit/rag/test_retriever.py +253 -0
  272. tulip_agents-1.0.0/tests/unit/rag/test_stores.py +320 -0
  273. tulip_agents-1.0.0/tests/unit/test_a2a_protocol.py +1437 -0
  274. tulip_agents-1.0.0/tests/unit/test_agent.py +4899 -0
  275. tulip_agents-1.0.0/tests/unit/test_agent_auxiliary_model.py +180 -0
  276. tulip_agents-1.0.0/tests/unit/test_agent_concurrent_tools.py +531 -0
  277. tulip_agents-1.0.0/tests/unit/test_agent_config.py +307 -0
  278. tulip_agents-1.0.0/tests/unit/test_agent_empty_content_safety_net.py +359 -0
  279. tulip_agents-1.0.0/tests/unit/test_agent_facade_extended.py +114 -0
  280. tulip_agents-1.0.0/tests/unit/test_agent_gsar.py +379 -0
  281. tulip_agents-1.0.0/tests/unit/test_agent_idempotent.py +159 -0
  282. tulip_agents-1.0.0/tests/unit/test_agent_result.py +275 -0
  283. tulip_agents-1.0.0/tests/unit/test_agent_structured_output.py +240 -0
  284. tulip_agents-1.0.0/tests/unit/test_agent_termination.py +267 -0
  285. tulip_agents-1.0.0/tests/unit/test_agent_tool_result_store.py +175 -0
  286. tulip_agents-1.0.0/tests/unit/test_anthropic_full.py +438 -0
  287. tulip_agents-1.0.0/tests/unit/test_anthropic_prompt_caching.py +200 -0
  288. tulip_agents-1.0.0/tests/unit/test_auxiliary_model.py +65 -0
  289. tulip_agents-1.0.0/tests/unit/test_base_checkpointer.py +223 -0
  290. tulip_agents-1.0.0/tests/unit/test_checkpointer_registry.py +331 -0
  291. tulip_agents-1.0.0/tests/unit/test_command.py +217 -0
  292. tulip_agents-1.0.0/tests/unit/test_compactor.py +206 -0
  293. tulip_agents-1.0.0/tests/unit/test_console_handler.py +339 -0
  294. tulip_agents-1.0.0/tests/unit/test_conversation.py +127 -0
  295. tulip_agents-1.0.0/tests/unit/test_core_config.py +225 -0
  296. tulip_agents-1.0.0/tests/unit/test_core_warnings.py +59 -0
  297. tulip_agents-1.0.0/tests/unit/test_credential_pool.py +225 -0
  298. tulip_agents-1.0.0/tests/unit/test_deepagent.py +270 -0
  299. tulip_agents-1.0.0/tests/unit/test_deepagent_datastores.py +159 -0
  300. tulip_agents-1.0.0/tests/unit/test_deepagent_filesystem.py +387 -0
  301. tulip_agents-1.0.0/tests/unit/test_deepagent_filesystem_backend.py +233 -0
  302. tulip_agents-1.0.0/tests/unit/test_deepagent_slice2.py +218 -0
  303. tulip_agents-1.0.0/tests/unit/test_deepagent_slice3.py +197 -0
  304. tulip_agents-1.0.0/tests/unit/test_delta_checkpointer.py +393 -0
  305. tulip_agents-1.0.0/tests/unit/test_embedding_capabilities.py +64 -0
  306. tulip_agents-1.0.0/tests/unit/test_enforcer.py +369 -0
  307. tulip_agents-1.0.0/tests/unit/test_errors.py +90 -0
  308. tulip_agents-1.0.0/tests/unit/test_failover.py +359 -0
  309. tulip_agents-1.0.0/tests/unit/test_failover_extended.py +410 -0
  310. tulip_agents-1.0.0/tests/unit/test_fastmcp.py +935 -0
  311. tulip_agents-1.0.0/tests/unit/test_fastmcp_extended.py +301 -0
  312. tulip_agents-1.0.0/tests/unit/test_file_checkpointer.py +379 -0
  313. tulip_agents-1.0.0/tests/unit/test_graph.py +1608 -0
  314. tulip_agents-1.0.0/tests/unit/test_graph_extended.py +449 -0
  315. tulip_agents-1.0.0/tests/unit/test_grounding.py +500 -0
  316. tulip_agents-1.0.0/tests/unit/test_grounding_benchmark.py +50 -0
  317. tulip_agents-1.0.0/tests/unit/test_gsar.py +497 -0
  318. tulip_agents-1.0.0/tests/unit/test_gsar_evaluator.py +329 -0
  319. tulip_agents-1.0.0/tests/unit/test_gsar_judge.py +234 -0
  320. tulip_agents-1.0.0/tests/unit/test_guardrails.py +645 -0
  321. tulip_agents-1.0.0/tests/unit/test_guardrails_output_filter.py +102 -0
  322. tulip_agents-1.0.0/tests/unit/test_handoff.py +503 -0
  323. tulip_agents-1.0.0/tests/unit/test_hermes_caching_e2e.py +73 -0
  324. tulip_agents-1.0.0/tests/unit/test_hermes_failover_pool.py +215 -0
  325. tulip_agents-1.0.0/tests/unit/test_hermes_full_e2e.py +575 -0
  326. tulip_agents-1.0.0/tests/unit/test_hermes_osv_e2e.py +69 -0
  327. tulip_agents-1.0.0/tests/unit/test_hermes_path_safety_e2e.py +113 -0
  328. tulip_agents-1.0.0/tests/unit/test_hermes_redaction_e2e.py +142 -0
  329. tulip_agents-1.0.0/tests/unit/test_hermes_result_storage.py +117 -0
  330. tulip_agents-1.0.0/tests/unit/test_hermes_url_safety_e2e.py +132 -0
  331. tulip_agents-1.0.0/tests/unit/test_hook_after_tool_args.py +174 -0
  332. tulip_agents-1.0.0/tests/unit/test_hook_orchestrator.py +215 -0
  333. tulip_agents-1.0.0/tests/unit/test_hooks.py +521 -0
  334. tulip_agents-1.0.0/tests/unit/test_hooks_builtin.py +193 -0
  335. tulip_agents-1.0.0/tests/unit/test_hooks_builtin_retry.py +151 -0
  336. tulip_agents-1.0.0/tests/unit/test_hooks_builtin_steering.py +284 -0
  337. tulip_agents-1.0.0/tests/unit/test_hooks_logging.py +203 -0
  338. tulip_agents-1.0.0/tests/unit/test_hooks_plugin.py +144 -0
  339. tulip_agents-1.0.0/tests/unit/test_hooks_registry.py +260 -0
  340. tulip_agents-1.0.0/tests/unit/test_http_checkpointer.py +728 -0
  341. tulip_agents-1.0.0/tests/unit/test_idempotent_tools.py +209 -0
  342. tulip_agents-1.0.0/tests/unit/test_integrations_fastmcp.py +316 -0
  343. tulip_agents-1.0.0/tests/unit/test_integrations_fastmcp_full.py +378 -0
  344. tulip_agents-1.0.0/tests/unit/test_interrupt.py +215 -0
  345. tulip_agents-1.0.0/tests/unit/test_loop.py +1117 -0
  346. tulip_agents-1.0.0/tests/unit/test_loop_runner.py +254 -0
  347. tulip_agents-1.0.0/tests/unit/test_loop_runner_extended.py +293 -0
  348. tulip_agents-1.0.0/tests/unit/test_memory.py +892 -0
  349. tulip_agents-1.0.0/tests/unit/test_memory_backends.py +206 -0
  350. tulip_agents-1.0.0/tests/unit/test_memory_backends_adapters.py +580 -0
  351. tulip_agents-1.0.0/tests/unit/test_memory_backends_mysql.py +596 -0
  352. tulip_agents-1.0.0/tests/unit/test_memory_backends_postgresql.py +462 -0
  353. tulip_agents-1.0.0/tests/unit/test_memory_backends_s3.py +84 -0
  354. tulip_agents-1.0.0/tests/unit/test_memory_checkpointer.py +357 -0
  355. tulip_agents-1.0.0/tests/unit/test_memory_managers_mem0.py +100 -0
  356. tulip_agents-1.0.0/tests/unit/test_memory_registry.py +522 -0
  357. tulip_agents-1.0.0/tests/unit/test_memory_registry_factories.py +107 -0
  358. tulip_agents-1.0.0/tests/unit/test_memory_store.py +779 -0
  359. tulip_agents-1.0.0/tests/unit/test_memory_store_namespaced_and_context.py +233 -0
  360. tulip_agents-1.0.0/tests/unit/test_memory_vector_store.py +362 -0
  361. tulip_agents-1.0.0/tests/unit/test_messages.py +161 -0
  362. tulip_agents-1.0.0/tests/unit/test_mmr.py +144 -0
  363. tulip_agents-1.0.0/tests/unit/test_model_metadata.py +167 -0
  364. tulip_agents-1.0.0/tests/unit/test_models.py +380 -0
  365. tulip_agents-1.0.0/tests/unit/test_models_init.py +180 -0
  366. tulip_agents-1.0.0/tests/unit/test_models_native_openai.py +637 -0
  367. tulip_agents-1.0.0/tests/unit/test_multiagent.py +1219 -0
  368. tulip_agents-1.0.0/tests/unit/test_multiagent_functional.py +264 -0
  369. tulip_agents-1.0.0/tests/unit/test_multiagent_visualize.py +258 -0
  370. tulip_agents-1.0.0/tests/unit/test_multimodal.py +607 -0
  371. tulip_agents-1.0.0/tests/unit/test_multiturn_checkpointer.py +136 -0
  372. tulip_agents-1.0.0/tests/unit/test_native_structured_output.py +143 -0
  373. tulip_agents-1.0.0/tests/unit/test_observability_bus_hook.py +289 -0
  374. tulip_agents-1.0.0/tests/unit/test_observability_context_and_emit.py +306 -0
  375. tulip_agents-1.0.0/tests/unit/test_observability_event_bus.py +280 -0
  376. tulip_agents-1.0.0/tests/unit/test_openai_model.py +474 -0
  377. tulip_agents-1.0.0/tests/unit/test_orchestrator_parallel.py +176 -0
  378. tulip_agents-1.0.0/tests/unit/test_osv_check.py +225 -0
  379. tulip_agents-1.0.0/tests/unit/test_path_safety.py +122 -0
  380. tulip_agents-1.0.0/tests/unit/test_playbook_enforcer_hook.py +228 -0
  381. tulip_agents-1.0.0/tests/unit/test_playbook_loader.py +357 -0
  382. tulip_agents-1.0.0/tests/unit/test_playbook_models.py +314 -0
  383. tulip_agents-1.0.0/tests/unit/test_playbooks.py +205 -0
  384. tulip_agents-1.0.0/tests/unit/test_pooled_model.py +280 -0
  385. tulip_agents-1.0.0/tests/unit/test_prompt_caching.py +58 -0
  386. tulip_agents-1.0.0/tests/unit/test_providers.py +458 -0
  387. tulip_agents-1.0.0/tests/unit/test_providers_image_and_speech.py +177 -0
  388. tulip_agents-1.0.0/tests/unit/test_providers_tools.py +288 -0
  389. tulip_agents-1.0.0/tests/unit/test_providers_web.py +284 -0
  390. tulip_agents-1.0.0/tests/unit/test_public_imports.py +109 -0
  391. tulip_agents-1.0.0/tests/unit/test_rag_embeddings_cohere.py +75 -0
  392. tulip_agents-1.0.0/tests/unit/test_rag_embeddings_init.py +44 -0
  393. tulip_agents-1.0.0/tests/unit/test_rag_init.py +112 -0
  394. tulip_agents-1.0.0/tests/unit/test_rag_multimodal.py +832 -0
  395. tulip_agents-1.0.0/tests/unit/test_rag_multimodal_full.py +533 -0
  396. tulip_agents-1.0.0/tests/unit/test_rag_reranker.py +146 -0
  397. tulip_agents-1.0.0/tests/unit/test_rag_reranker_cohere.py +73 -0
  398. tulip_agents-1.0.0/tests/unit/test_rag_reranker_cross_encoder.py +74 -0
  399. tulip_agents-1.0.0/tests/unit/test_rag_retriever.py +904 -0
  400. tulip_agents-1.0.0/tests/unit/test_rag_retriever_coercion.py +143 -0
  401. tulip_agents-1.0.0/tests/unit/test_rag_stores_base.py +332 -0
  402. tulip_agents-1.0.0/tests/unit/test_rag_stores_chroma.py +74 -0
  403. tulip_agents-1.0.0/tests/unit/test_rag_stores_init.py +100 -0
  404. tulip_agents-1.0.0/tests/unit/test_rag_stores_qdrant.py +75 -0
  405. tulip_agents-1.0.0/tests/unit/test_rag_tools.py +253 -0
  406. tulip_agents-1.0.0/tests/unit/test_rate_limits.py +274 -0
  407. tulip_agents-1.0.0/tests/unit/test_reasoning.py +1146 -0
  408. tulip_agents-1.0.0/tests/unit/test_reasoning_extended.py +415 -0
  409. tulip_agents-1.0.0/tests/unit/test_redaction.py +203 -0
  410. tulip_agents-1.0.0/tests/unit/test_reducers.py +565 -0
  411. tulip_agents-1.0.0/tests/unit/test_research_workflow.py +651 -0
  412. tulip_agents-1.0.0/tests/unit/test_research_workflow_datastores.py +178 -0
  413. tulip_agents-1.0.0/tests/unit/test_result_storage.py +171 -0
  414. tulip_agents-1.0.0/tests/unit/test_router.py +1033 -0
  415. tulip_agents-1.0.0/tests/unit/test_router_compiled_shape.py +678 -0
  416. tulip_agents-1.0.0/tests/unit/test_runtime_loop_helpers.py +61 -0
  417. tulip_agents-1.0.0/tests/unit/test_security.py +272 -0
  418. tulip_agents-1.0.0/tests/unit/test_security_adapters.py +214 -0
  419. tulip_agents-1.0.0/tests/unit/test_security_admit.py +125 -0
  420. tulip_agents-1.0.0/tests/unit/test_security_assess.py +72 -0
  421. tulip_agents-1.0.0/tests/unit/test_security_audit.py +89 -0
  422. tulip_agents-1.0.0/tests/unit/test_security_aws.py +140 -0
  423. tulip_agents-1.0.0/tests/unit/test_security_context.py +87 -0
  424. tulip_agents-1.0.0/tests/unit/test_security_contract.py +88 -0
  425. tulip_agents-1.0.0/tests/unit/test_security_examples.py +59 -0
  426. tulip_agents-1.0.0/tests/unit/test_security_hardening.py +347 -0
  427. tulip_agents-1.0.0/tests/unit/test_security_policy.py +123 -0
  428. tulip_agents-1.0.0/tests/unit/test_security_redteam.py +130 -0
  429. tulip_agents-1.0.0/tests/unit/test_security_secure.py +84 -0
  430. tulip_agents-1.0.0/tests/unit/test_security_soc.py +176 -0
  431. tulip_agents-1.0.0/tests/unit/test_security_target.py +93 -0
  432. tulip_agents-1.0.0/tests/unit/test_security_verify.py +179 -0
  433. tulip_agents-1.0.0/tests/unit/test_send.py +258 -0
  434. tulip_agents-1.0.0/tests/unit/test_server_adapters.py +174 -0
  435. tulip_agents-1.0.0/tests/unit/test_server_app_full.py +443 -0
  436. tulip_agents-1.0.0/tests/unit/test_server_stateful_plumbing.py +151 -0
  437. tulip_agents-1.0.0/tests/unit/test_server_threads.py +246 -0
  438. tulip_agents-1.0.0/tests/unit/test_skills_models.py +266 -0
  439. tulip_agents-1.0.0/tests/unit/test_skills_plugin.py +272 -0
  440. tulip_agents-1.0.0/tests/unit/test_specialist.py +701 -0
  441. tulip_agents-1.0.0/tests/unit/test_state.py +480 -0
  442. tulip_agents-1.0.0/tests/unit/test_stategraph_streaming.py +221 -0
  443. tulip_agents-1.0.0/tests/unit/test_storage_adapters.py +423 -0
  444. tulip_agents-1.0.0/tests/unit/test_storage_backend_adapter.py +626 -0
  445. tulip_agents-1.0.0/tests/unit/test_store.py +322 -0
  446. tulip_agents-1.0.0/tests/unit/test_streaming.py +911 -0
  447. tulip_agents-1.0.0/tests/unit/test_streaming_console.py +524 -0
  448. tulip_agents-1.0.0/tests/unit/test_streaming_extended.py +179 -0
  449. tulip_agents-1.0.0/tests/unit/test_structured.py +279 -0
  450. tulip_agents-1.0.0/tests/unit/test_structured_partial.py +229 -0
  451. tulip_agents-1.0.0/tests/unit/test_swarm.py +675 -0
  452. tulip_agents-1.0.0/tests/unit/test_swarm_capabilities.py +110 -0
  453. tulip_agents-1.0.0/tests/unit/test_telemetry_hook.py +474 -0
  454. tulip_agents-1.0.0/tests/unit/test_termination_extended.py +161 -0
  455. tulip_agents-1.0.0/tests/unit/test_tools.py +372 -0
  456. tulip_agents-1.0.0/tests/unit/test_tools_context.py +134 -0
  457. tulip_agents-1.0.0/tests/unit/test_tools_executor.py +592 -0
  458. tulip_agents-1.0.0/tests/unit/test_tools_schema.py +303 -0
  459. tulip_agents-1.0.0/tests/unit/test_tools_watcher.py +294 -0
  460. tulip_agents-1.0.0/tests/unit/test_transports_parallel_tool_calls.py +87 -0
  461. tulip_agents-1.0.0/tests/unit/test_tulip_init.py +173 -0
  462. tulip_agents-1.0.0/tests/unit/test_url_safety.py +228 -0
  463. tulip_agents-1.0.0/tests/unit/test_vector_stores.py +65 -0
@@ -0,0 +1,282 @@
1
+ # =============================================================================
2
+ # Local Testing (contains credentials - never commit)
3
+ # =============================================================================
4
+ TESTING_LOCAL.md
5
+ DEPENDENCY_VERSIONS.md
6
+ AGENTS.md
7
+ luigi_test/
8
+ luigi_tests/
9
+
10
+ # =============================================================================
11
+ # Python
12
+ # =============================================================================
13
+
14
+ # Byte-compiled / optimized / DLL files
15
+ __pycache__/
16
+ *.py[cod]
17
+ *$py.class
18
+
19
+ # C extensions
20
+ *.so
21
+
22
+ # Distribution / packaging
23
+ .Python
24
+ build/
25
+ develop-eggs/
26
+ dist/
27
+ downloads/
28
+ eggs/
29
+ .eggs/
30
+ lib/
31
+ lib64/
32
+ parts/
33
+ sdist/
34
+ var/
35
+ wheels/
36
+ share/python-wheels/
37
+ *.egg-info/
38
+ .installed.cfg
39
+ *.egg
40
+ MANIFEST
41
+
42
+ # PyInstaller
43
+ *.manifest
44
+ *.spec
45
+
46
+ # Installer logs
47
+ pip-log.txt
48
+ pip-delete-this-directory.txt
49
+
50
+ # Unit test / coverage reports
51
+ htmlcov/
52
+ .tox/
53
+ .nox/
54
+ .coverage
55
+ .coverage.*
56
+ .cache
57
+ nosetests.xml
58
+ coverage.xml
59
+ coverage.json
60
+ *.cover
61
+ *.py,cover
62
+ .hypothesis/
63
+ .pytest_cache/
64
+ cover/
65
+
66
+ # Translations
67
+ *.mo
68
+ *.pot
69
+
70
+ # Environments
71
+ .env
72
+ .env.*
73
+ !.env.example
74
+ .venv*
75
+ env/
76
+ venv/
77
+ ENV/
78
+ env.bak/
79
+ venv.bak/
80
+
81
+ # Spyder project settings
82
+ .spyderproject
83
+ .spyproject
84
+
85
+ # Rope project settings
86
+ .ropeproject
87
+
88
+ # mkdocs documentation
89
+ /site
90
+
91
+ # mypy
92
+ .mypy_cache/
93
+ .dmypy.json
94
+ dmypy.json
95
+
96
+ # Pyre type checker
97
+ .pyre/
98
+
99
+ # pytype static type analyzer
100
+ .pytype/
101
+
102
+ # Cython debug symbols
103
+ cython_debug/
104
+
105
+ # =============================================================================
106
+ # Hatch
107
+ # =============================================================================
108
+ .hatch/
109
+
110
+ # =============================================================================
111
+ # IDE / Editors
112
+ # =============================================================================
113
+
114
+ # VS Code
115
+ .vscode/
116
+ *.code-workspace
117
+
118
+ # PyCharm / IntelliJ
119
+ .idea/
120
+ *.iml
121
+ *.ipr
122
+ *.iws
123
+ out/
124
+
125
+ # Sublime Text
126
+ *.sublime-project
127
+ *.sublime-workspace
128
+
129
+ # Vim
130
+ *.swp
131
+ *.swo
132
+ *~
133
+ .vim/
134
+
135
+ # Emacs
136
+ *~
137
+ \#*\#
138
+ /.emacs.desktop
139
+ /.emacs.desktop.lock
140
+ *.elc
141
+ auto-save-list
142
+ tramp
143
+ .\#*
144
+
145
+ # =============================================================================
146
+ # OS Generated
147
+ # =============================================================================
148
+
149
+ # macOS
150
+ .DS_Store
151
+ .AppleDouble
152
+ .LSOverride
153
+ Icon
154
+ ._*
155
+ .DocumentRevisions-V100
156
+ .fseventsd
157
+ .Spotlight-V100
158
+ .TemporaryItems
159
+ .Trashes
160
+ .VolumeIcon.icns
161
+ .com.apple.timemachine.donotpresent
162
+ .AppleDB
163
+ .AppleDesktop
164
+ Network Trash Folder
165
+ Temporary Items
166
+ .apdisk
167
+
168
+ # Windows
169
+ Thumbs.db
170
+ Thumbs.db:encryptable
171
+ ehthumbs.db
172
+ ehthumbs_vista.db
173
+ *.stackdump
174
+ [Dd]esktop.ini
175
+ $RECYCLE.BIN/
176
+ *.cab
177
+ *.msi
178
+ *.msix
179
+ *.msm
180
+ *.msp
181
+ *.lnk
182
+
183
+ # Linux
184
+ *~
185
+ .fuse_hidden*
186
+ .directory
187
+ .Trash-*
188
+ .nfs*
189
+
190
+ # =============================================================================
191
+ # Project Specific
192
+ # =============================================================================
193
+
194
+ # Local configuration
195
+ *.local.yaml
196
+ *.local.json
197
+ config.local.*
198
+ .secrets/
199
+ secrets/
200
+
201
+ # Logs
202
+ logs/
203
+ *.log
204
+
205
+ # Temporary files
206
+ tmp/
207
+ temp/
208
+ *.tmp
209
+ *.temp
210
+
211
+ # Data files (potentially large)
212
+ data/
213
+ *.db
214
+ *.sqlite
215
+ *.sqlite3
216
+
217
+ # Notebooks checkpoints
218
+ .ipynb_checkpoints/
219
+
220
+ # Documentation build
221
+ docs/_build/
222
+
223
+ # Benchmarks
224
+ .benchmarks/
225
+
226
+ # Profiling
227
+ *.prof
228
+ *.lprof
229
+
230
+ # Debug
231
+ .debug/
232
+
233
+ # Local config
234
+ .env
235
+ .env.local
236
+ config.local.yaml
237
+ config.local.yml
238
+
239
+ # DB wallet / credential files
240
+ **/db_wallet/
241
+ *.wallet
242
+ cwallet.sso
243
+ ewallet.p12
244
+ ewallet.pem
245
+ tnsnames.ora
246
+ sqlnet.ora
247
+ ojdbc.properties
248
+ *.jks
249
+
250
+ # Local development scripts (not tracked)
251
+ scripts/local/
252
+ scripts/test_*.sh
253
+
254
+ # Development test files (not user-facing examples)
255
+ examples/test_*.py
256
+ examples/mcp_test_*.py
257
+ examples/start_and_test.sh
258
+
259
+ # Old notebooks directory (superseded by examples/notebook_*.py)
260
+ /notebooks/
261
+ site/
262
+ .claude/
263
+
264
+ # Notebook 49 audio output (regenerated each run).
265
+ examples/notebook_49_response.mp3
266
+ examples/notebook_50_question.wav
267
+ examples/notebook_50_answer.wav
268
+ examples/notebook_50_answer.mp3
269
+ examples/notebook_67_answer.wav
270
+
271
+ # Generated audio demo artifacts (notebooks 66/67 recreate them on live runs)
272
+ examples/*.mp3
273
+ examples/*.wav
274
+
275
+ # Internal-only notes (mythos, roadmaps, competitive comparison, and the
276
+ # side-channel method shape). MUST NOT ship in the public repo — kept on
277
+ # disk for local use only. NOTE: these remain in git HISTORY; a filter-repo
278
+ # scrub of docs/internal/** is REQUIRED before this repo goes public.
279
+ docs/internal/
280
+
281
+ # Local credentials — never commit (home: ~/Projects/tuliplabs/secrets.env)
282
+ secrets.env
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Tulip Labs
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Tulip Labs
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.