coding-client 1.21.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.
- coding_client-1.21.2/LICENSE +201 -0
- coding_client-1.21.2/PKG-INFO +234 -0
- coding_client-1.21.2/README.md +195 -0
- coding_client-1.21.2/coding_client.egg-info/PKG-INFO +234 -0
- coding_client-1.21.2/coding_client.egg-info/SOURCES.txt +112 -0
- coding_client-1.21.2/coding_client.egg-info/dependency_links.txt +1 -0
- coding_client-1.21.2/coding_client.egg-info/requires.txt +27 -0
- coding_client-1.21.2/coding_client.egg-info/top_level.txt +1 -0
- coding_client-1.21.2/pyproject.toml +133 -0
- coding_client-1.21.2/setup.cfg +4 -0
- coding_client-1.21.2/src/__init__.py +1 -0
- coding_client-1.21.2/src/api/__init__.py +19 -0
- coding_client-1.21.2/src/api/exception_handlers.py +158 -0
- coding_client-1.21.2/src/api/logging_setup.py +44 -0
- coding_client-1.21.2/src/api/metrics.py +40 -0
- coding_client-1.21.2/src/api/openapi_config.py +124 -0
- coding_client-1.21.2/src/api/request_logging.py +60 -0
- coding_client-1.21.2/src/api/validation.py +150 -0
- coding_client-1.21.2/src/auth/__init__.py +78 -0
- coding_client-1.21.2/src/auth/_default_tenant.py +132 -0
- coding_client-1.21.2/src/auth/_header_trust.py +98 -0
- coding_client-1.21.2/src/auth/_onbehalf.py +315 -0
- coding_client-1.21.2/src/auth/_trusted_networks.py +94 -0
- coding_client-1.21.2/src/auth/dependencies.py +61 -0
- coding_client-1.21.2/src/auth/middleware.py +445 -0
- coding_client-1.21.2/src/auth/models.py +83 -0
- coding_client-1.21.2/src/auth/outbound.py +137 -0
- coding_client-1.21.2/src/auth/rbac.py +21 -0
- coding_client-1.21.2/src/auth/rbac_coding.py +5 -0
- coding_client-1.21.2/src/auth/tenant.py +650 -0
- coding_client-1.21.2/src/auth/websocket.py +148 -0
- coding_client-1.21.2/src/clients/__init__.py +24 -0
- coding_client-1.21.2/src/clients/base.py +131 -0
- coding_client-1.21.2/src/clients/coding_ai.py +33 -0
- coding_client-1.21.2/src/clients/coding_analysis.py +36 -0
- coding_client-1.21.2/src/clients/coding_containers.py +45 -0
- coding_client-1.21.2/src/clients/coding_github.py +127 -0
- coding_client-1.21.2/src/clients/coding_realtime.py +127 -0
- coding_client-1.21.2/src/clients/coding_security.py +51 -0
- coding_client-1.21.2/src/clients/coding_testing.py +31 -0
- coding_client-1.21.2/src/clients/coding_workspaces.py +265 -0
- coding_client-1.21.2/src/config/__init__.py +12 -0
- coding_client-1.21.2/src/config/base_settings.py +61 -0
- coding_client-1.21.2/src/config/yaml_config_loader.py +172 -0
- coding_client-1.21.2/src/db/__init__.py +42 -0
- coding_client-1.21.2/src/db/db_types.py +122 -0
- coding_client-1.21.2/src/db/exceptions.py +59 -0
- coding_client-1.21.2/src/db/postgres_connection.py +572 -0
- coding_client-1.21.2/src/db/tenant_query_helper.py +417 -0
- coding_client-1.21.2/src/db_init.py +49 -0
- coding_client-1.21.2/src/exceptions/__init__.py +67 -0
- coding_client-1.21.2/src/exceptions/api_exceptions.py +395 -0
- coding_client-1.21.2/src/exceptions/pydantic_ai_exceptions.py +533 -0
- coding_client-1.21.2/src/interfaces/__init__.py +22 -0
- coding_client-1.21.2/src/interfaces/cache_interface.py +179 -0
- coding_client-1.21.2/src/interfaces/container_interface.py +49 -0
- coding_client-1.21.2/src/interfaces/docker_interface.py +283 -0
- coding_client-1.21.2/src/interfaces/graph_interface.py +28 -0
- coding_client-1.21.2/src/interfaces/security_interface.py +72 -0
- coding_client-1.21.2/src/interfaces/webhook_interface.py +67 -0
- coding_client-1.21.2/src/llm/__init__.py +54 -0
- coding_client-1.21.2/src/llm/base_agent.py +195 -0
- coding_client-1.21.2/src/llm/context.py +121 -0
- coding_client-1.21.2/src/llm/responses.py +102 -0
- coding_client-1.21.2/src/llm/routing.py +82 -0
- coding_client-1.21.2/src/llm/settings.py +102 -0
- coding_client-1.21.2/src/models/__init__.py +62 -0
- coding_client-1.21.2/src/models/agent.py +38 -0
- coding_client-1.21.2/src/models/ai_test_failure.py +745 -0
- coding_client-1.21.2/src/models/analysis.py +330 -0
- coding_client-1.21.2/src/models/architecture.py +685 -0
- coding_client-1.21.2/src/models/bug.py +128 -0
- coding_client-1.21.2/src/models/code_graph.py +317 -0
- coding_client-1.21.2/src/models/container.py +241 -0
- coding_client-1.21.2/src/models/core.py +878 -0
- coding_client-1.21.2/src/models/docker_container.py +104 -0
- coding_client-1.21.2/src/models/github.py +293 -0
- coding_client-1.21.2/src/models/logging.py +29 -0
- coding_client-1.21.2/src/models/package_manager.py +257 -0
- coding_client-1.21.2/src/models/pr_validation.py +440 -0
- coding_client-1.21.2/src/models/pydantic_ai.py +395 -0
- coding_client-1.21.2/src/models/repo_scanner.py +249 -0
- coding_client-1.21.2/src/models/responses.py +431 -0
- coding_client-1.21.2/src/models/security.py +185 -0
- coding_client-1.21.2/src/models/static_analysis.py +508 -0
- coding_client-1.21.2/src/models/system.py +48 -0
- coding_client-1.21.2/src/models/test_executor.py +204 -0
- coding_client-1.21.2/src/models/testing.py +673 -0
- coding_client-1.21.2/src/models/testing_config.py +200 -0
- coding_client-1.21.2/src/models/validation.py +127 -0
- coding_client-1.21.2/src/models_init.py +272 -0
- coding_client-1.21.2/src/telemetry.py +195 -0
- coding_client-1.21.2/src/testing.py +180 -0
- coding_client-1.21.2/src/types/__init__.py +130 -0
- coding_client-1.21.2/src/types/constraint_types.py +276 -0
- coding_client-1.21.2/src/types/core_types.py +112 -0
- coding_client-1.21.2/src/types/state_machine.py +443 -0
- coding_client-1.21.2/src/utils/__init__.py +86 -0
- coding_client-1.21.2/src/utils/archive_utils.py +387 -0
- coding_client-1.21.2/src/utils/ast_debug.py +45 -0
- coding_client-1.21.2/src/utils/async_timeout.py +364 -0
- coding_client-1.21.2/src/utils/constants.py +518 -0
- coding_client-1.21.2/src/utils/content_processing.py +326 -0
- coding_client-1.21.2/src/utils/database.py +916 -0
- coding_client-1.21.2/src/utils/encoding_helper.py +222 -0
- coding_client-1.21.2/src/utils/enum_helpers.py +166 -0
- coding_client-1.21.2/src/utils/file_operations.py +177 -0
- coding_client-1.21.2/src/utils/filesystem_ops.py +528 -0
- coding_client-1.21.2/src/utils/http_client.py +562 -0
- coding_client-1.21.2/src/utils/path_utils.py +471 -0
- coding_client-1.21.2/src/utils/profiling.py +421 -0
- coding_client-1.21.2/src/utils/response_builder.py +240 -0
- coding_client-1.21.2/src/utils/retry_helper.py +712 -0
- coding_client-1.21.2/src/utils/security_validation.py +423 -0
|
@@ -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 [yyyy] [name of copyright owner]
|
|
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,234 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: coding-client
|
|
3
|
+
Version: 1.21.2
|
|
4
|
+
Summary: Shared library for coding-* microservices: models, auth, DB helpers, HTTP client
|
|
5
|
+
Author-email: Nonagentic <dev@nonagentic.ai>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://nonagentic.ai
|
|
8
|
+
Project-URL: Source, https://github.com/nonagenticai/coding-client
|
|
9
|
+
Requires-Python: >=3.14
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Dist: fastapi>=0.115.0
|
|
13
|
+
Requires-Dist: starlette>=1.0.1
|
|
14
|
+
Requires-Dist: pydantic>=2.12.5
|
|
15
|
+
Requires-Dist: pydantic-settings>=2.12.0
|
|
16
|
+
Requires-Dist: sqlalchemy[asyncio]>=2.0
|
|
17
|
+
Requires-Dist: psycopg[binary,pool]>=3.2.0
|
|
18
|
+
Requires-Dist: httpx>=0.28.0
|
|
19
|
+
Requires-Dist: redis>=7.1.0
|
|
20
|
+
Requires-Dist: structlog>=24.4.0
|
|
21
|
+
Requires-Dist: PyJWT[crypto]>=2.15.1
|
|
22
|
+
Requires-Dist: cryptography>=46.0.6
|
|
23
|
+
Requires-Dist: opentelemetry-api>=1.45.1
|
|
24
|
+
Requires-Dist: opentelemetry-sdk>=1.24.0
|
|
25
|
+
Requires-Dist: tenacity>=8.2.0
|
|
26
|
+
Requires-Dist: aiofiles>=24.1.0
|
|
27
|
+
Requires-Dist: pyyaml>=6.0
|
|
28
|
+
Requires-Dist: cachetools>=5.3.0
|
|
29
|
+
Requires-Dist: pydantic-ai<2.0.0,>=1.107.7
|
|
30
|
+
Requires-Dist: openai<3,>=1.0.0
|
|
31
|
+
Requires-Dist: pyasn1>=0.6.5
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest>=8.3.0; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest-asyncio>=0.24.0; extra == "dev"
|
|
35
|
+
Requires-Dist: pytest-cov>=6.0.0; extra == "dev"
|
|
36
|
+
Requires-Dist: ruff==0.17.4; extra == "dev"
|
|
37
|
+
Requires-Dist: ty==0.0.39; extra == "dev"
|
|
38
|
+
Dynamic: license-file
|
|
39
|
+
|
|
40
|
+
# coding-client
|
|
41
|
+
|
|
42
|
+
[](https://github.com/nonagenticai/coding-client/actions/workflows/ci.yml)
|
|
43
|
+
[](https://github.com/nonagenticai/coding-client/releases)
|
|
44
|
+
[](LICENSE)
|
|
45
|
+
|
|
46
|
+
Shared Python library for the coding-* microservices ecosystem — models, auth, database, service clients, and utilities.
|
|
47
|
+
|
|
48
|
+
| | |
|
|
49
|
+
|---|---|
|
|
50
|
+
| **Stack** | Python 3.14 · Pydantic 2.x · SQLAlchemy 2.x · psycopg 3.x · httpx · structlog |
|
|
51
|
+
| **Package** | `coding-client` (Apache-2.0) |
|
|
52
|
+
| **Used by** | coding-gateway, coding-analysis, coding-testing, coding-ai, coding-containers, coding-github, coding-security, coding-realtime |
|
|
53
|
+
|
|
54
|
+
## What It Provides
|
|
55
|
+
|
|
56
|
+
**Models** (`coding_client.models`) — 23 domain-specific Pydantic models covering code graphs, architecture, analysis, testing, containers, GitHub, security, AI agents, bug tracking, package management, PR validation, and more.
|
|
57
|
+
|
|
58
|
+
**Auth** (`coding_client.auth`) — Istio header-based authentication middleware, RBAC helpers (`require_role`, `require_access_coding`), multi-tenant isolation (`TenantMiddleware`, `require_tenant`, `get_tenant_id`), and FastAPI dependencies (`get_current_user`).
|
|
59
|
+
|
|
60
|
+
**Database** (`coding_client.db`) — PostgreSQL connection management via PgBouncer, SQLite code graph database, transaction management (`TransactionManager`, `TransactionContext`), tenant-aware queries (`TenantQueryBuilder`), migrations, and 9 custom exceptions.
|
|
61
|
+
|
|
62
|
+
**Clients** (`coding_client.clients`) — service-to-service HTTP clients with retry and timeout, including the canonical `CodingWorkspacesClient` and the compatibility-only `CodingContainersClient`. All extend a common `ServiceClient` base.
|
|
63
|
+
|
|
64
|
+
**Utilities** (`coding_client.utils`) — 16 modules: file operations, filesystem ops, path utils, archive utils, async timeout, encoding helper, HTTP client, retry helper, profiling, response builder, content processing, database utils, constants, enum helpers, security validation, AST debug.
|
|
65
|
+
|
|
66
|
+
**Interfaces** (`coding_client.interfaces`) — 6 abstract contracts for dependency injection: `IGraphService`, `IDockerService`, `ISecurityService`, `IAnalysisCache`, `ICacheManager`, `IWebhookEventHandler`.
|
|
67
|
+
|
|
68
|
+
**Types** (`coding_client.types`) — Shared type definitions, enums, constraint types, and workflow state machine definitions.
|
|
69
|
+
|
|
70
|
+
**API** (`coding_client.api`) — FastAPI middleware (`RequestLoggingMiddleware`, `HealthCheckFilter`), exception handlers, and OpenAPI configuration helpers.
|
|
71
|
+
|
|
72
|
+
## Installation
|
|
73
|
+
|
|
74
|
+
Consumed as a **git dependency**, pinned to a commit:
|
|
75
|
+
|
|
76
|
+
```toml
|
|
77
|
+
[project]
|
|
78
|
+
dependencies = ["coding-client"]
|
|
79
|
+
|
|
80
|
+
[tool.uv.sources]
|
|
81
|
+
coding-client = { git = "https://github.com/nonagenticai/coding-client", rev = "<commit sha>" }
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
uv lock # records the pinned commit in uv.lock
|
|
86
|
+
uv sync
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
No package index is involved, so this resolves identically on a laptop, in CI, and inside a
|
|
90
|
+
Docker build.
|
|
91
|
+
|
|
92
|
+
## Quick Start
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
uv sync
|
|
96
|
+
uv run pytest tests/ -v --cov=src
|
|
97
|
+
uv run ruff check src/ tests/ && uv run ruff format --check src/ tests/
|
|
98
|
+
uv run ty check .
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Architecture
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
src/
|
|
105
|
+
├── __init__.py
|
|
106
|
+
├── api/
|
|
107
|
+
│ ├── exception_handlers.py # FastAPI exception handlers
|
|
108
|
+
│ ├── openapi_config.py # OpenAPI customization
|
|
109
|
+
│ └── request_logging.py # Request logging middleware
|
|
110
|
+
├── auth/
|
|
111
|
+
│ ├── dependencies.py # FastAPI auth dependencies (get_current_user)
|
|
112
|
+
│ ├── middleware.py # Istio header auth middleware
|
|
113
|
+
│ ├── models.py # User model
|
|
114
|
+
│ ├── rbac.py # Role-based access control
|
|
115
|
+
│ ├── rbac_coding.py # Coding-specific RBAC helpers
|
|
116
|
+
│ └── tenant.py # Multi-tenant isolation
|
|
117
|
+
├── clients/
|
|
118
|
+
│ ├── base.py # ServiceClient base with retry/timeout
|
|
119
|
+
│ ├── coding_ai.py # coding-ai client
|
|
120
|
+
│ ├── coding_analysis.py # coding-analysis client
|
|
121
|
+
│ ├── coding_containers.py # coding-containers client
|
|
122
|
+
│ ├── coding_workspaces.py # canonical repository-workspace client
|
|
123
|
+
│ ├── coding_github.py # coding-github client
|
|
124
|
+
│ ├── coding_realtime.py # coding-realtime client
|
|
125
|
+
│ ├── coding_security.py # coding-security client
|
|
126
|
+
│ └── coding_testing.py # coding-testing client
|
|
127
|
+
├── config/
|
|
128
|
+
│ └── yaml_config_loader.py # YAML config loading
|
|
129
|
+
├── db/
|
|
130
|
+
│ ├── code_graph_database.py # SQLite graph DB
|
|
131
|
+
│ ├── database_path_manager.py # DB file path management
|
|
132
|
+
│ ├── db_types.py # Database type definitions
|
|
133
|
+
│ ├── exceptions.py # 9 custom DB exceptions
|
|
134
|
+
│ ├── migrations.py # Schema migration helpers
|
|
135
|
+
│ ├── models/
|
|
136
|
+
│ │ └── architecture.py # ORM models
|
|
137
|
+
│ ├── performance_optimizer.py # Query performance tuning
|
|
138
|
+
│ ├── postgres_connection.py # PostgreSQL via PgBouncer
|
|
139
|
+
│ ├── tenant_query_helper.py # Tenant-aware query builder
|
|
140
|
+
│ ├── transaction_manager.py # Transaction management
|
|
141
|
+
│ ├── transaction_mixin.py # Transaction mixin
|
|
142
|
+
│ └── transaction_patterns.py # Transaction patterns
|
|
143
|
+
├── exceptions/
|
|
144
|
+
│ ├── api_exceptions.py # API exception hierarchy
|
|
145
|
+
│ └── pydantic_ai_exceptions.py # PydanticAI-specific exceptions
|
|
146
|
+
├── interfaces/ # 6 abstract contracts
|
|
147
|
+
├── models/ # 23 Pydantic model files
|
|
148
|
+
├── types/
|
|
149
|
+
│ ├── constraint_types.py # Validation constraints
|
|
150
|
+
│ ├── core_types.py # Enums and type hints
|
|
151
|
+
│ └── state_machine.py # Workflow state definitions
|
|
152
|
+
└── utils/ # 16 utility modules
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Tests
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
uv run pytest tests/ -v --cov=src --cov-report=term-missing # 29 test files
|
|
159
|
+
uv run ruff check src/ tests/ # Lint
|
|
160
|
+
uv run ruff format --check src/ tests/ # Format check
|
|
161
|
+
uv run ty check . # Type check
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Test structure mirrors source: `test_api/`, `test_auth/`, `test_clients/`, `test_config/`, `test_db/`, `test_exceptions/`, `test_models/`, `test_types/`, `test_utils/`.
|
|
165
|
+
|
|
166
|
+
The suite needs no database. ⛔ `coding_client.db_init` has **no default DSN** (it used to
|
|
167
|
+
fall back to `localhost:5432/code_graph_helper`, a host Postgres deleted 2026-10-21):
|
|
168
|
+
importing it without `DATABASE_URL` / `TEST_DATABASE_URL` raises `RuntimeError` naming the
|
|
169
|
+
variable. A consumer that wants a test DB starts an ephemeral `postgres:18` container on a
|
|
170
|
+
random port — never a host `:5432`.
|
|
171
|
+
|
|
172
|
+
### Bypassing auth in a consumer's tests
|
|
173
|
+
|
|
174
|
+
`SKIP_AUTH=true` was **removed in 1.16.0**. It made `require_tenant`,
|
|
175
|
+
`optional_tenant` and `get_current_user_with_tenant` return the hardcoded tenant
|
|
176
|
+
`"test-tenant"` before examining any credential — an ambient, global switch
|
|
177
|
+
compiled into the production wheel, where one environment variable disabled
|
|
178
|
+
authentication for a whole service.
|
|
179
|
+
|
|
180
|
+
Use `coding_client.testing` instead. Same job for a test suite; per-app,
|
|
181
|
+
explicit, and impossible to switch on from the environment:
|
|
182
|
+
|
|
183
|
+
```python
|
|
184
|
+
from coding_client.testing import override_tenant_auth
|
|
185
|
+
|
|
186
|
+
@pytest.fixture
|
|
187
|
+
def client(app):
|
|
188
|
+
undo = override_tenant_auth(app) # or: with tenant_auth_override(app):
|
|
189
|
+
yield TestClient(app)
|
|
190
|
+
undo() # restores the previous overrides exactly
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
It neutralises **every** identity dependency this SDK exposes, from one list.
|
|
194
|
+
That matters: hand-rolled override lists drift, and one in this fleet already
|
|
195
|
+
had — a consumer's conftest overrode three dependencies and not `require_tenant`,
|
|
196
|
+
and only worked because it also set `SKIP_AUTH`.
|
|
197
|
+
|
|
198
|
+
Pass `extra={dep: replacement}` for a service's own forked dependency object or a
|
|
199
|
+
service-specific return shape.
|
|
200
|
+
|
|
201
|
+
## CI
|
|
202
|
+
|
|
203
|
+
`.github/workflows/ci.yml` calls the public `nonagenticai/ci-workflows` python-library pipeline:
|
|
204
|
+
`ruff + ty + unit tests → uv build → bandit + pip-audit`, on GitHub-hosted runners with no
|
|
205
|
+
repository secrets. The wheel is a build artifact only — nothing is published to a package index;
|
|
206
|
+
consumers pin the git commit.
|
|
207
|
+
|
|
208
|
+
## Dependencies
|
|
209
|
+
|
|
210
|
+
| Category | Packages |
|
|
211
|
+
|----------|----------|
|
|
212
|
+
| **Web/API** | fastapi, httpx, PyJWT[crypto] |
|
|
213
|
+
| **Data** | pydantic, pydantic-settings, sqlalchemy[asyncio] |
|
|
214
|
+
| **Database** | psycopg[binary,pool] (PostgreSQL v3.x), aiosqlite |
|
|
215
|
+
| **Async** | redis, tenacity, aiofiles |
|
|
216
|
+
| **Observability** | structlog, opentelemetry-api, opentelemetry-sdk |
|
|
217
|
+
| **Security** | cryptography |
|
|
218
|
+
| **Utilities** | uuid-v7, cachetools, pyyaml |
|
|
219
|
+
|
|
220
|
+
## Security
|
|
221
|
+
|
|
222
|
+
Report vulnerabilities privately through the repository's Security tab — see
|
|
223
|
+
[`SECURITY.md`](SECURITY.md). Do not open a public issue for a security problem.
|
|
224
|
+
|
|
225
|
+
## Contributing
|
|
226
|
+
|
|
227
|
+
Issues and pull requests are welcome. See
|
|
228
|
+
[`CONTRIBUTING.md`](https://github.com/nonagenticai/.github/blob/main/CONTRIBUTING.md) for the
|
|
229
|
+
organisation-wide rules; setup, test and lint commands are in this README. Commits carry DCO
|
|
230
|
+
sign-off.
|
|
231
|
+
|
|
232
|
+
## License
|
|
233
|
+
|
|
234
|
+
Apache-2.0 — see [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE).
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# coding-client
|
|
2
|
+
|
|
3
|
+
[](https://github.com/nonagenticai/coding-client/actions/workflows/ci.yml)
|
|
4
|
+
[](https://github.com/nonagenticai/coding-client/releases)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
Shared Python library for the coding-* microservices ecosystem — models, auth, database, service clients, and utilities.
|
|
8
|
+
|
|
9
|
+
| | |
|
|
10
|
+
|---|---|
|
|
11
|
+
| **Stack** | Python 3.14 · Pydantic 2.x · SQLAlchemy 2.x · psycopg 3.x · httpx · structlog |
|
|
12
|
+
| **Package** | `coding-client` (Apache-2.0) |
|
|
13
|
+
| **Used by** | coding-gateway, coding-analysis, coding-testing, coding-ai, coding-containers, coding-github, coding-security, coding-realtime |
|
|
14
|
+
|
|
15
|
+
## What It Provides
|
|
16
|
+
|
|
17
|
+
**Models** (`coding_client.models`) — 23 domain-specific Pydantic models covering code graphs, architecture, analysis, testing, containers, GitHub, security, AI agents, bug tracking, package management, PR validation, and more.
|
|
18
|
+
|
|
19
|
+
**Auth** (`coding_client.auth`) — Istio header-based authentication middleware, RBAC helpers (`require_role`, `require_access_coding`), multi-tenant isolation (`TenantMiddleware`, `require_tenant`, `get_tenant_id`), and FastAPI dependencies (`get_current_user`).
|
|
20
|
+
|
|
21
|
+
**Database** (`coding_client.db`) — PostgreSQL connection management via PgBouncer, SQLite code graph database, transaction management (`TransactionManager`, `TransactionContext`), tenant-aware queries (`TenantQueryBuilder`), migrations, and 9 custom exceptions.
|
|
22
|
+
|
|
23
|
+
**Clients** (`coding_client.clients`) — service-to-service HTTP clients with retry and timeout, including the canonical `CodingWorkspacesClient` and the compatibility-only `CodingContainersClient`. All extend a common `ServiceClient` base.
|
|
24
|
+
|
|
25
|
+
**Utilities** (`coding_client.utils`) — 16 modules: file operations, filesystem ops, path utils, archive utils, async timeout, encoding helper, HTTP client, retry helper, profiling, response builder, content processing, database utils, constants, enum helpers, security validation, AST debug.
|
|
26
|
+
|
|
27
|
+
**Interfaces** (`coding_client.interfaces`) — 6 abstract contracts for dependency injection: `IGraphService`, `IDockerService`, `ISecurityService`, `IAnalysisCache`, `ICacheManager`, `IWebhookEventHandler`.
|
|
28
|
+
|
|
29
|
+
**Types** (`coding_client.types`) — Shared type definitions, enums, constraint types, and workflow state machine definitions.
|
|
30
|
+
|
|
31
|
+
**API** (`coding_client.api`) — FastAPI middleware (`RequestLoggingMiddleware`, `HealthCheckFilter`), exception handlers, and OpenAPI configuration helpers.
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
Consumed as a **git dependency**, pinned to a commit:
|
|
36
|
+
|
|
37
|
+
```toml
|
|
38
|
+
[project]
|
|
39
|
+
dependencies = ["coding-client"]
|
|
40
|
+
|
|
41
|
+
[tool.uv.sources]
|
|
42
|
+
coding-client = { git = "https://github.com/nonagenticai/coding-client", rev = "<commit sha>" }
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
uv lock # records the pinned commit in uv.lock
|
|
47
|
+
uv sync
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
No package index is involved, so this resolves identically on a laptop, in CI, and inside a
|
|
51
|
+
Docker build.
|
|
52
|
+
|
|
53
|
+
## Quick Start
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
uv sync
|
|
57
|
+
uv run pytest tests/ -v --cov=src
|
|
58
|
+
uv run ruff check src/ tests/ && uv run ruff format --check src/ tests/
|
|
59
|
+
uv run ty check .
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Architecture
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
src/
|
|
66
|
+
├── __init__.py
|
|
67
|
+
├── api/
|
|
68
|
+
│ ├── exception_handlers.py # FastAPI exception handlers
|
|
69
|
+
│ ├── openapi_config.py # OpenAPI customization
|
|
70
|
+
│ └── request_logging.py # Request logging middleware
|
|
71
|
+
├── auth/
|
|
72
|
+
│ ├── dependencies.py # FastAPI auth dependencies (get_current_user)
|
|
73
|
+
│ ├── middleware.py # Istio header auth middleware
|
|
74
|
+
│ ├── models.py # User model
|
|
75
|
+
│ ├── rbac.py # Role-based access control
|
|
76
|
+
│ ├── rbac_coding.py # Coding-specific RBAC helpers
|
|
77
|
+
│ └── tenant.py # Multi-tenant isolation
|
|
78
|
+
├── clients/
|
|
79
|
+
│ ├── base.py # ServiceClient base with retry/timeout
|
|
80
|
+
│ ├── coding_ai.py # coding-ai client
|
|
81
|
+
│ ├── coding_analysis.py # coding-analysis client
|
|
82
|
+
│ ├── coding_containers.py # coding-containers client
|
|
83
|
+
│ ├── coding_workspaces.py # canonical repository-workspace client
|
|
84
|
+
│ ├── coding_github.py # coding-github client
|
|
85
|
+
│ ├── coding_realtime.py # coding-realtime client
|
|
86
|
+
│ ├── coding_security.py # coding-security client
|
|
87
|
+
│ └── coding_testing.py # coding-testing client
|
|
88
|
+
├── config/
|
|
89
|
+
│ └── yaml_config_loader.py # YAML config loading
|
|
90
|
+
├── db/
|
|
91
|
+
│ ├── code_graph_database.py # SQLite graph DB
|
|
92
|
+
│ ├── database_path_manager.py # DB file path management
|
|
93
|
+
│ ├── db_types.py # Database type definitions
|
|
94
|
+
│ ├── exceptions.py # 9 custom DB exceptions
|
|
95
|
+
│ ├── migrations.py # Schema migration helpers
|
|
96
|
+
│ ├── models/
|
|
97
|
+
│ │ └── architecture.py # ORM models
|
|
98
|
+
│ ├── performance_optimizer.py # Query performance tuning
|
|
99
|
+
│ ├── postgres_connection.py # PostgreSQL via PgBouncer
|
|
100
|
+
│ ├── tenant_query_helper.py # Tenant-aware query builder
|
|
101
|
+
│ ├── transaction_manager.py # Transaction management
|
|
102
|
+
│ ├── transaction_mixin.py # Transaction mixin
|
|
103
|
+
│ └── transaction_patterns.py # Transaction patterns
|
|
104
|
+
├── exceptions/
|
|
105
|
+
│ ├── api_exceptions.py # API exception hierarchy
|
|
106
|
+
│ └── pydantic_ai_exceptions.py # PydanticAI-specific exceptions
|
|
107
|
+
├── interfaces/ # 6 abstract contracts
|
|
108
|
+
├── models/ # 23 Pydantic model files
|
|
109
|
+
├── types/
|
|
110
|
+
│ ├── constraint_types.py # Validation constraints
|
|
111
|
+
│ ├── core_types.py # Enums and type hints
|
|
112
|
+
│ └── state_machine.py # Workflow state definitions
|
|
113
|
+
└── utils/ # 16 utility modules
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Tests
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
uv run pytest tests/ -v --cov=src --cov-report=term-missing # 29 test files
|
|
120
|
+
uv run ruff check src/ tests/ # Lint
|
|
121
|
+
uv run ruff format --check src/ tests/ # Format check
|
|
122
|
+
uv run ty check . # Type check
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Test structure mirrors source: `test_api/`, `test_auth/`, `test_clients/`, `test_config/`, `test_db/`, `test_exceptions/`, `test_models/`, `test_types/`, `test_utils/`.
|
|
126
|
+
|
|
127
|
+
The suite needs no database. ⛔ `coding_client.db_init` has **no default DSN** (it used to
|
|
128
|
+
fall back to `localhost:5432/code_graph_helper`, a host Postgres deleted 2026-10-21):
|
|
129
|
+
importing it without `DATABASE_URL` / `TEST_DATABASE_URL` raises `RuntimeError` naming the
|
|
130
|
+
variable. A consumer that wants a test DB starts an ephemeral `postgres:18` container on a
|
|
131
|
+
random port — never a host `:5432`.
|
|
132
|
+
|
|
133
|
+
### Bypassing auth in a consumer's tests
|
|
134
|
+
|
|
135
|
+
`SKIP_AUTH=true` was **removed in 1.16.0**. It made `require_tenant`,
|
|
136
|
+
`optional_tenant` and `get_current_user_with_tenant` return the hardcoded tenant
|
|
137
|
+
`"test-tenant"` before examining any credential — an ambient, global switch
|
|
138
|
+
compiled into the production wheel, where one environment variable disabled
|
|
139
|
+
authentication for a whole service.
|
|
140
|
+
|
|
141
|
+
Use `coding_client.testing` instead. Same job for a test suite; per-app,
|
|
142
|
+
explicit, and impossible to switch on from the environment:
|
|
143
|
+
|
|
144
|
+
```python
|
|
145
|
+
from coding_client.testing import override_tenant_auth
|
|
146
|
+
|
|
147
|
+
@pytest.fixture
|
|
148
|
+
def client(app):
|
|
149
|
+
undo = override_tenant_auth(app) # or: with tenant_auth_override(app):
|
|
150
|
+
yield TestClient(app)
|
|
151
|
+
undo() # restores the previous overrides exactly
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
It neutralises **every** identity dependency this SDK exposes, from one list.
|
|
155
|
+
That matters: hand-rolled override lists drift, and one in this fleet already
|
|
156
|
+
had — a consumer's conftest overrode three dependencies and not `require_tenant`,
|
|
157
|
+
and only worked because it also set `SKIP_AUTH`.
|
|
158
|
+
|
|
159
|
+
Pass `extra={dep: replacement}` for a service's own forked dependency object or a
|
|
160
|
+
service-specific return shape.
|
|
161
|
+
|
|
162
|
+
## CI
|
|
163
|
+
|
|
164
|
+
`.github/workflows/ci.yml` calls the public `nonagenticai/ci-workflows` python-library pipeline:
|
|
165
|
+
`ruff + ty + unit tests → uv build → bandit + pip-audit`, on GitHub-hosted runners with no
|
|
166
|
+
repository secrets. The wheel is a build artifact only — nothing is published to a package index;
|
|
167
|
+
consumers pin the git commit.
|
|
168
|
+
|
|
169
|
+
## Dependencies
|
|
170
|
+
|
|
171
|
+
| Category | Packages |
|
|
172
|
+
|----------|----------|
|
|
173
|
+
| **Web/API** | fastapi, httpx, PyJWT[crypto] |
|
|
174
|
+
| **Data** | pydantic, pydantic-settings, sqlalchemy[asyncio] |
|
|
175
|
+
| **Database** | psycopg[binary,pool] (PostgreSQL v3.x), aiosqlite |
|
|
176
|
+
| **Async** | redis, tenacity, aiofiles |
|
|
177
|
+
| **Observability** | structlog, opentelemetry-api, opentelemetry-sdk |
|
|
178
|
+
| **Security** | cryptography |
|
|
179
|
+
| **Utilities** | uuid-v7, cachetools, pyyaml |
|
|
180
|
+
|
|
181
|
+
## Security
|
|
182
|
+
|
|
183
|
+
Report vulnerabilities privately through the repository's Security tab — see
|
|
184
|
+
[`SECURITY.md`](SECURITY.md). Do not open a public issue for a security problem.
|
|
185
|
+
|
|
186
|
+
## Contributing
|
|
187
|
+
|
|
188
|
+
Issues and pull requests are welcome. See
|
|
189
|
+
[`CONTRIBUTING.md`](https://github.com/nonagenticai/.github/blob/main/CONTRIBUTING.md) for the
|
|
190
|
+
organisation-wide rules; setup, test and lint commands are in this README. Commits carry DCO
|
|
191
|
+
sign-off.
|
|
192
|
+
|
|
193
|
+
## License
|
|
194
|
+
|
|
195
|
+
Apache-2.0 — see [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE).
|