context-compiler-example-integrations 0.1.0__tar.gz → 0.1.2__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 (65) hide show
  1. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/PKG-INFO +11 -11
  2. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/pyproject.toml +1 -1
  3. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/README.md +10 -10
  4. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/.gitignore +0 -0
  5. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/LICENSE +0 -0
  6. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/context_compiler_example_integrations/__init__.py +0 -0
  7. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/context_compiler_example_integrations/examples/__init__.py +0 -0
  8. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/context_compiler_example_integrations/reference_integrations/__init__.py +0 -0
  9. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/_shared/__init__.py +0 -0
  10. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/_shared/litellm_request.py +0 -0
  11. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/_shared/provider_mode.py +0 -0
  12. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/checkpoint_continuation/README.md +0 -0
  13. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/checkpoint_continuation/example.py +0 -0
  14. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/checkpoint_continuation/fastapi/README.md +0 -0
  15. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/checkpoint_continuation/fastapi/app.py +0 -0
  16. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/README.md +0 -0
  17. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/README.md +0 -0
  18. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/__init__.py +0 -0
  19. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/example.py +0 -0
  20. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/fastapi/README.md +0 -0
  21. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/fastapi/__init__.py +0 -0
  22. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/fastapi/app.py +0 -0
  23. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/execution_authorization/expense_approval/fastapi/model_approval.py +0 -0
  24. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/gateway_middleware/README.md +0 -0
  25. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/gateway_middleware/customer_support_routing/README.md +0 -0
  26. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/gateway_middleware/customer_support_routing/__init__.py +0 -0
  27. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/gateway_middleware/customer_support_routing/example.py +0 -0
  28. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/README.md +0 -0
  29. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/litellm/README.md +0 -0
  30. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/litellm/basic.py +0 -0
  31. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/litellm/confirmation_helper.py +0 -0
  32. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/litellm/with_directive_drafter.py +0 -0
  33. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/writing_assistant/README.md +0 -0
  34. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/writing_assistant/__init__.py +0 -0
  35. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/prompt_construction/writing_assistant/example.py +0 -0
  36. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/README.md +0 -0
  37. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/chromadb_hr_policy_lookup/README.md +0 -0
  38. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/chromadb_hr_policy_lookup/__init__.py +0 -0
  39. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/chromadb_hr_policy_lookup/example.py +0 -0
  40. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/hr_policy_lookup/README.md +0 -0
  41. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/hr_policy_lookup/__init__.py +0 -0
  42. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/retrieval_filtering/hr_policy_lookup/example.py +0 -0
  43. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/README.md +0 -0
  44. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/litellm_response_format/response_format.py +0 -0
  45. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/ollama_structured_output/README.md +0 -0
  46. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/ollama_structured_output/example.py +0 -0
  47. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/refund_intake/README.md +0 -0
  48. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/refund_intake/__init__.py +0 -0
  49. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/schema_selection/refund_intake/example.py +0 -0
  50. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/README.md +0 -0
  51. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/calendar_admin/README.md +0 -0
  52. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/calendar_admin/__init__.py +0 -0
  53. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/calendar_admin/example.py +0 -0
  54. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/mcp_calendar_admin/README.md +0 -0
  55. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/mcp_calendar_admin/__init__.py +0 -0
  56. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/mcp_calendar_admin/example.py +0 -0
  57. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/examples/tool_gating/mcp_calendar_admin/live_model.py +0 -0
  58. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/litellm_proxy/README.md +0 -0
  59. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/litellm_proxy/_checkpoint_support.py +0 -0
  60. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/litellm_proxy/config.example.yaml +0 -0
  61. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/litellm_proxy/context_compiler_precall_hook.py +0 -0
  62. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/litellm_proxy/context_compiler_precall_hook_with_directive_drafter.py +0 -0
  63. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/openwebui_pipe/README.md +0 -0
  64. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/openwebui_pipe/open_webui_pipe.py +0 -0
  65. {context_compiler_example_integrations-0.1.0 → context_compiler_example_integrations-0.1.2}/python/reference_integrations/openwebui_pipe/open_webui_pipe_with_directive_drafter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: context-compiler-example-integrations
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Example integrations and enforcement-point demonstrations for Context Compiler.
5
5
  Project-URL: Homepage, https://github.com/rlippmann/context-compiler-example-integrations
6
6
  Project-URL: Repository, https://github.com/rlippmann/context-compiler-example-integrations
@@ -61,7 +61,7 @@ pip install "context-compiler-example-integrations"
61
61
 
62
62
  That installs the shared core dependency only:
63
63
 
64
- - `context-compiler>=0.8.0`
64
+ - `context-compiler>=0.8.3`
65
65
 
66
66
  Add extras only for the examples you want to inspect locally:
67
67
 
@@ -77,13 +77,13 @@ runtime.
77
77
 
78
78
  ## Generic examples
79
79
 
80
- - [Checkpoint continuation](examples/checkpoint_continuation/README.md): persisted confirmation and resume flows change host behavior across turns or requests
81
- - [Execution authorization](examples/execution_authorization/README.md): protected host actions execute only when authoritative state allows them
82
- - [Gateway middleware](examples/gateway_middleware/README.md): the host allows, blocks, or routes requests before downstream work runs
83
- - [Prompt construction](examples/prompt_construction/README.md): the host builds different request or prompt payloads from authoritative state
84
- - [Retrieval filtering](examples/retrieval_filtering/README.md): the host changes which documents are eligible or relevant before returning results
85
- - [Schema selection](examples/schema_selection/README.md): the host picks different workflow or response schemas from authoritative state
86
- - [Tool gating](examples/tool_gating/README.md): the host changes which tools are visible or executable at runtime
80
+ - [Checkpoint continuation](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/checkpoint_continuation/README.md): persisted confirmation and resume flows change host behavior across turns or requests
81
+ - [Execution authorization](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/execution_authorization/README.md): protected host actions execute only when authoritative state allows them
82
+ - [Gateway middleware](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/gateway_middleware/README.md): the host allows, blocks, or routes requests before downstream work runs
83
+ - [Prompt construction](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/prompt_construction/README.md): the host builds different request or prompt payloads from authoritative state
84
+ - [Retrieval filtering](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/retrieval_filtering/README.md): the host changes which documents are eligible or relevant before returning results
85
+ - [Schema selection](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/schema_selection/README.md): the host picks different workflow or response schemas from authoritative state
86
+ - [Tool gating](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/tool_gating/README.md): the host changes which tools are visible or executable at runtime
87
87
 
88
88
  ## Reference integrations
89
89
 
@@ -96,8 +96,8 @@ behavior on a specific host or framework surface.
96
96
  Start with the generic example first, then use the Python reference
97
97
  integrations to inspect a runtime-specific path:
98
98
 
99
- - [python/reference_integrations/litellm_proxy/README.md](reference_integrations/litellm_proxy/README.md)
100
- - [python/reference_integrations/openwebui_pipe/README.md](reference_integrations/openwebui_pipe/README.md)
99
+ - [LiteLLM Proxy reference integration](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/reference_integrations/litellm_proxy/README.md)
100
+ - [Open WebUI pipe reference integration](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/reference_integrations/openwebui_pipe/README.md)
101
101
 
102
102
  ## Run an example
103
103
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "context-compiler-example-integrations"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Example integrations and enforcement-point demonstrations for Context Compiler."
9
9
  readme = "python/README.md"
10
10
  requires-python = ">=3.11"
@@ -22,7 +22,7 @@ pip install "context-compiler-example-integrations"
22
22
 
23
23
  That installs the shared core dependency only:
24
24
 
25
- - `context-compiler>=0.8.0`
25
+ - `context-compiler>=0.8.3`
26
26
 
27
27
  Add extras only for the examples you want to inspect locally:
28
28
 
@@ -38,13 +38,13 @@ runtime.
38
38
 
39
39
  ## Generic examples
40
40
 
41
- - [Checkpoint continuation](examples/checkpoint_continuation/README.md): persisted confirmation and resume flows change host behavior across turns or requests
42
- - [Execution authorization](examples/execution_authorization/README.md): protected host actions execute only when authoritative state allows them
43
- - [Gateway middleware](examples/gateway_middleware/README.md): the host allows, blocks, or routes requests before downstream work runs
44
- - [Prompt construction](examples/prompt_construction/README.md): the host builds different request or prompt payloads from authoritative state
45
- - [Retrieval filtering](examples/retrieval_filtering/README.md): the host changes which documents are eligible or relevant before returning results
46
- - [Schema selection](examples/schema_selection/README.md): the host picks different workflow or response schemas from authoritative state
47
- - [Tool gating](examples/tool_gating/README.md): the host changes which tools are visible or executable at runtime
41
+ - [Checkpoint continuation](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/checkpoint_continuation/README.md): persisted confirmation and resume flows change host behavior across turns or requests
42
+ - [Execution authorization](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/execution_authorization/README.md): protected host actions execute only when authoritative state allows them
43
+ - [Gateway middleware](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/gateway_middleware/README.md): the host allows, blocks, or routes requests before downstream work runs
44
+ - [Prompt construction](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/prompt_construction/README.md): the host builds different request or prompt payloads from authoritative state
45
+ - [Retrieval filtering](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/retrieval_filtering/README.md): the host changes which documents are eligible or relevant before returning results
46
+ - [Schema selection](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/schema_selection/README.md): the host picks different workflow or response schemas from authoritative state
47
+ - [Tool gating](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/examples/tool_gating/README.md): the host changes which tools are visible or executable at runtime
48
48
 
49
49
  ## Reference integrations
50
50
 
@@ -57,8 +57,8 @@ behavior on a specific host or framework surface.
57
57
  Start with the generic example first, then use the Python reference
58
58
  integrations to inspect a runtime-specific path:
59
59
 
60
- - [python/reference_integrations/litellm_proxy/README.md](reference_integrations/litellm_proxy/README.md)
61
- - [python/reference_integrations/openwebui_pipe/README.md](reference_integrations/openwebui_pipe/README.md)
60
+ - [LiteLLM Proxy reference integration](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/reference_integrations/litellm_proxy/README.md)
61
+ - [Open WebUI pipe reference integration](https://github.com/rlippmann/context-compiler-example-integrations/blob/main/python/reference_integrations/openwebui_pipe/README.md)
62
62
 
63
63
  ## Run an example
64
64