Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
replace = 'version = "{new_version}"'
search = 'version = "{current_version}"'

[[tool.bumpversion.files]]
filename = "src/agentic_mesh_protocol/__version__.py"
# Update the fallback version in the __version__.py file
replace = '__version__ = "{new_version}"'
search = '__version__ = "{current_version}"'
# [[tool.bumpversion.files]]
# filename = "src/agentic_mesh_protocol/__version__.py"
# # Update the fallback version in the __version__.py file
# replace = '__version__ = "{new_version}"'
# search = '__version__ = "{current_version}"'

# Command aliases for convenience (these work with: bump-my-version bump <alias>)
# Examples:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install buf
uses: bufbuild/buf-action@v1
with:
node-version: "20"

- name: Install npm dependencies for buf
run: task install:amp
setup_only: true

- name: Cache dependencies
id: cache-uv
Expand All @@ -54,6 +51,9 @@ jobs:
restore-keys: |
${{ runner.os }}-uv-

- name: Setup submodule
run: task install:submodule

- name: Generate Python code from protobuf
run: task gen

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install buf
uses: bufbuild/buf-action@v1
with:
node-version: "20"
setup_only: true

- name: Install npm dependencies for buf
run: task install:amp
- name: Setup submodule
run: task install:submodule

- name: Generate Python code from protobuf
run: task gen
Expand All @@ -51,8 +51,8 @@ jobs:
- name: Upload dist artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
name: gen
path: gen/
retention-days: 1

publish-test-pypi:
Expand All @@ -67,8 +67,8 @@ jobs:
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
name: gen
path: gen/

- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
name: gen
path: gen/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@ cython_debug/
*_pb2.py
*_pb2.pyi
*_pb2_grpc.py
src/digitalkin_proto/buf/
src/digitalkin_proto/agentic_mesh_protocol/
src/digitalkin_proto/google/
src/
gen/

.task/*
.vscode/
Expand Down
2 changes: 1 addition & 1 deletion agentic-mesh-protocol
Submodule agentic-mesh-protocol updated 51 files
+1 −0 .gitignore
+0 −212 Taskfile.yml
+0 −291 proto/agentic_mesh_protocol/cost/v1/cost.proto
+174 −0 proto/agentic_mesh_protocol/cost/v1/cost_dto.proto
+35 −0 proto/agentic_mesh_protocol/cost/v1/cost_enums.proto
+167 −0 proto/agentic_mesh_protocol/cost/v1/cost_messages.proto
+5 −11 proto/agentic_mesh_protocol/cost/v1/cost_service.proto
+0 −386 proto/agentic_mesh_protocol/filesystem/v1/filesystem.proto
+206 −0 proto/agentic_mesh_protocol/filesystem/v1/filesystem_dto.proto
+53 −0 proto/agentic_mesh_protocol/filesystem/v1/filesystem_enums.proto
+254 −0 proto/agentic_mesh_protocol/filesystem/v1/filesystem_messages.proto
+3 −3 proto/agentic_mesh_protocol/filesystem/v1/filesystem_service.proto
+0 −228 proto/agentic_mesh_protocol/module/v1/information.proto
+0 −126 proto/agentic_mesh_protocol/module/v1/lifecycle.proto
+300 −0 proto/agentic_mesh_protocol/module/v1/module_dto.proto
+39 −0 proto/agentic_mesh_protocol/module/v1/module_enums.proto
+58 −0 proto/agentic_mesh_protocol/module/v1/module_messages.proto
+1 −7 proto/agentic_mesh_protocol/module/v1/module_service.proto
+0 −116 proto/agentic_mesh_protocol/module/v1/monitoring.proto
+0 −94 proto/agentic_mesh_protocol/module_registry/v1/discover.proto
+0 −44 proto/agentic_mesh_protocol/module_registry/v1/metadata.proto
+0 −48 proto/agentic_mesh_protocol/module_registry/v1/module_registry_service.proto
+0 −75 proto/agentic_mesh_protocol/module_registry/v1/registration.proto
+0 −91 proto/agentic_mesh_protocol/module_registry/v1/status.proto
+53 −0 proto/agentic_mesh_protocol/pagination/v1/bulk.proto
+70 −0 proto/agentic_mesh_protocol/pagination/v1/pagination.proto
+308 −0 proto/agentic_mesh_protocol/registry/v1/registry_dto.proto
+8 −58 proto/agentic_mesh_protocol/registry/v1/registry_enums.proto
+279 −0 proto/agentic_mesh_protocol/registry/v1/registry_messages.proto
+0 −202 proto/agentic_mesh_protocol/registry/v1/registry_models.proto
+0 −206 proto/agentic_mesh_protocol/registry/v1/registry_requests.proto
+5 −21 proto/agentic_mesh_protocol/registry/v1/registry_service.proto
+0 −356 proto/agentic_mesh_protocol/setup/v1/setup.proto
+242 −0 proto/agentic_mesh_protocol/setup/v1/setup_dto.proto
+41 −0 proto/agentic_mesh_protocol/setup/v1/setup_enums.proto
+167 −0 proto/agentic_mesh_protocol/setup/v1/setup_messages.proto
+3 −14 proto/agentic_mesh_protocol/setup/v1/setup_service.proto
+182 −0 proto/agentic_mesh_protocol/setup/v1/setup_version_dto.proto
+34 −0 proto/agentic_mesh_protocol/setup/v1/setup_version_service.proto
+0 −178 proto/agentic_mesh_protocol/storage/v1/data.proto
+245 −0 proto/agentic_mesh_protocol/storage/v1/storage_dto.proto
+31 −0 proto/agentic_mesh_protocol/storage/v1/storage_enums.proto
+95 −0 proto/agentic_mesh_protocol/storage/v1/storage_messages.proto
+5 −5 proto/agentic_mesh_protocol/storage/v1/storage_service.proto
+0 −107 proto/agentic_mesh_protocol/user_profile/v1/user_profile.proto
+46 −0 proto/agentic_mesh_protocol/user_profile/v1/user_profile_dto.proto
+197 −0 proto/agentic_mesh_protocol/user_profile/v1/user_profile_messages.proto
+1 −1 proto/agentic_mesh_protocol/user_profile/v1/user_profile_service.proto
+2 −2 proto/buf.lock
+3 −2 proto/buf.yaml
+96 −0 taskfile.yml
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
build = [ "build>=1.3.0", "bump-my-version>=1.2.4", "twine>=6.2.0" ]

[tool.setuptools]
package-dir = { "" = "src" }
package-dir = { "" = "gen" }

[tool.setuptools.packages.find]
where = [ "src" ]
where = [ "gen" ]

[tool.setuptools.package-data]
agentic_mesh_protocol = [ "**/*.pyi", "py.typed" ]
Expand All @@ -81,4 +81,3 @@

[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = [ "tests" ]
5 changes: 0 additions & 5 deletions src/agentic_mesh_protocol/__init__.py

This file was deleted.

8 changes: 0 additions & 8 deletions src/agentic_mesh_protocol/__version__.py

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed src/agentic_mesh_protocol/py.typed
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed src/buf/__init__.py
Empty file.
Empty file removed src/buf/validate/__init__.py
Empty file.
Loading