soliplex-concierge 0.1__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Soliplex
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: soliplex-concierge
3
+ Version: 0.1
4
+ Summary: Soliplex extension for LLM-driven room access / creation requests.
5
+ Author-email: Enfold <info@enfoldsystems.net>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: soliplex
12
+ Requires-Dist: pydantic
13
+ Requires-Dist: pydantic-ai-slim<2.0,>=1.100
14
+ Dynamic: license-file
15
+
16
+ # `soliplex-concierge`: room access / creation support
17
+
18
+ This project provides a [Soliplex](https://github.com/soliplex/soliplex)
19
+ extension to support LLM-driven, on-demand creation of issues tracking
20
+ requested changes to a Soliplex installation's configuration:
21
+
22
+ - Access to a non-public room
23
+ - Creation of a new room
24
+
25
+ Components:
26
+
27
+ - The [Python library](src/soliplex_concierge) contains code to support
28
+ both the issue creation tasks and the scripts which actually perform
29
+ the requested updates.
30
+
31
+ - The [agent skill](skill/) contains a
32
+ [skill definition](https://agentskills.io) which allows an agent to
33
+ perform these tasks.
34
+
35
+ ## Install & wire up
36
+
37
+ 1. Install this package into the environment that runs Soliplex (it depends
38
+ on `soliplex`):
39
+
40
+ ```sh
41
+ pip install -e .
42
+ ```
43
+
44
+ 2. Merge the entries from
45
+ [`example/installation-snippet.yaml`](example/installation-snippet.yaml)
46
+ into your `installation.yaml`. They:
47
+
48
+ - register the tool-config class via `meta.tool_configs` (Soliplex
49
+ resolves the tool by its dotted `tool_name`; no core edit is needed),
50
+ - add this package's `skill/` directory to `filesystem_skills_paths` and
51
+ enable the `soliplex-concierge` filesystem skill, and
52
+ - declare the `GITEA_HOST` environment variable and `GITEA_ACCESS_TOKEN`
53
+ secret used by the room's `gitea` MCP toolset.
54
+
55
+ 3. Copy [`example/rooms/about_soliplex/`](example/rooms/about_soliplex) into
56
+ your installation's `rooms/` directory, editing the `owner` / `repo` on
57
+ the `get_gitea_issue_target` tool to point at your tracking repository.
58
+
59
+ 4. Set `GITEA_HOST` and `GITEA_ACCESS_TOKEN` (see the `.env` lines at the
60
+ bottom of the installation snippet).
61
+
62
+ ## Status
63
+
64
+ The issue-filing concierge (the `about_soliplex` room, its `gitea` tool, and
65
+ the agent skill) is implemented. The scripts that *act on* approved requests
66
+ — actually creating rooms and granting room access — are a planned
67
+ follow-up.
@@ -0,0 +1,52 @@
1
+ # `soliplex-concierge`: room access / creation support
2
+
3
+ This project provides a [Soliplex](https://github.com/soliplex/soliplex)
4
+ extension to support LLM-driven, on-demand creation of issues tracking
5
+ requested changes to a Soliplex installation's configuration:
6
+
7
+ - Access to a non-public room
8
+ - Creation of a new room
9
+
10
+ Components:
11
+
12
+ - The [Python library](src/soliplex_concierge) contains code to support
13
+ both the issue creation tasks and the scripts which actually perform
14
+ the requested updates.
15
+
16
+ - The [agent skill](skill/) contains a
17
+ [skill definition](https://agentskills.io) which allows an agent to
18
+ perform these tasks.
19
+
20
+ ## Install & wire up
21
+
22
+ 1. Install this package into the environment that runs Soliplex (it depends
23
+ on `soliplex`):
24
+
25
+ ```sh
26
+ pip install -e .
27
+ ```
28
+
29
+ 2. Merge the entries from
30
+ [`example/installation-snippet.yaml`](example/installation-snippet.yaml)
31
+ into your `installation.yaml`. They:
32
+
33
+ - register the tool-config class via `meta.tool_configs` (Soliplex
34
+ resolves the tool by its dotted `tool_name`; no core edit is needed),
35
+ - add this package's `skill/` directory to `filesystem_skills_paths` and
36
+ enable the `soliplex-concierge` filesystem skill, and
37
+ - declare the `GITEA_HOST` environment variable and `GITEA_ACCESS_TOKEN`
38
+ secret used by the room's `gitea` MCP toolset.
39
+
40
+ 3. Copy [`example/rooms/about_soliplex/`](example/rooms/about_soliplex) into
41
+ your installation's `rooms/` directory, editing the `owner` / `repo` on
42
+ the `get_gitea_issue_target` tool to point at your tracking repository.
43
+
44
+ 4. Set `GITEA_HOST` and `GITEA_ACCESS_TOKEN` (see the `.env` lines at the
45
+ bottom of the installation snippet).
46
+
47
+ ## Status
48
+
49
+ The issue-filing concierge (the `about_soliplex` room, its `gitea` tool, and
50
+ the agent skill) is implemented. The scripts that *act on* approved requests
51
+ — actually creating rooms and granting room access — are a planned
52
+ follow-up.
@@ -0,0 +1,92 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "soliplex-concierge"
7
+ version = "0.1"
8
+ description = "Soliplex extension for LLM-driven room access / creation requests."
9
+ authors = [{ name = "Enfold", email = "info@enfoldsystems.net" }]
10
+ readme = "README.md"
11
+ requires-python = ">=3.12"
12
+ classifiers = [
13
+ "Programming Language :: Python :: 3",
14
+ "Operating System :: OS Independent",
15
+ ]
16
+ dependencies = [
17
+ "soliplex",
18
+ "pydantic",
19
+ "pydantic-ai-slim >= 1.100, < 2.0",
20
+ ]
21
+
22
+ [dependency-groups]
23
+ dev = [
24
+ "anyio >= 4.12.1, < 4.13",
25
+ "coverage >= 7.13.5, < 7.14",
26
+ "pytest >= 9.0.2, < 9.1",
27
+ "pytest-cov >= 7.0.0, < 7.1",
28
+ "pytest-asyncio >= 1.3.0, < 1.4",
29
+ "pytest-xdist >= 3.8.0, < 3.9",
30
+ "ruff >= 0.15.6, < 0.16",
31
+ ]
32
+
33
+ [tool.setuptools.packages.find]
34
+ where = ["src"]
35
+ namespaces = true # PEP 420: discover packages without empty __init__.py
36
+
37
+ [tool.pytest.ini_options]
38
+ pythonpath = [".", "tests/unit"]
39
+ python_files = "test_*.py"
40
+ testpaths = ["tests/unit"]
41
+ addopts = "--cov=soliplex_concierge --cov=tests/unit --cov-branch --cov-fail-under=100"
42
+ filterwarnings = [
43
+ ]
44
+ markers = [
45
+ ]
46
+
47
+ [tool.coverage.report]
48
+ show_missing = true
49
+
50
+ [tool.ruff]
51
+ line-length = 79
52
+ exclude = [
53
+ ]
54
+ target-version = "py313"
55
+
56
+ [tool.ruff.lint]
57
+ select = [
58
+ # flake8
59
+ "F",
60
+ # pycodestyle
61
+ "E",
62
+ # flake8-bugbear
63
+ "B",
64
+ # pyupgrade
65
+ "U",
66
+ # isort
67
+ "I",
68
+ # pandas vet
69
+ "PD",
70
+ # tryceratops
71
+ "TRY",
72
+ # flake8-pytest-style
73
+ "PT",
74
+ ]
75
+ ignore = [
76
+ "PT019", # incorrecly flags '@mock.patch' args as fixtures
77
+ ]
78
+
79
+ [tool.ruff.lint.isort]
80
+ force-single-line = true
81
+
82
+ [tool.ruff.lint.flake8-pytest-style]
83
+ parametrize-names-type = "csv"
84
+
85
+ [tool.pymarkdown]
86
+ extensions.front-matter.enabled = true
87
+ plugins.line-length.enabled = false # md013
88
+ plugins.no-duplicate-heading.enabled = false # md024
89
+ plugins.no-inline-html.enabled = false # md033
90
+ plugins.no-emphasis-as-heading.enabled = false # md036
91
+ plugins.first-line-heading.enabled = false # md041
92
+ plugins.code-block-style.enabled = false # md046
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,34 @@
1
+ """Tool configuration types for the 'soliplex-concierge' extension.
2
+
3
+ Register 'GiteaIssueTargetToolConfig' with a Soliplex installation by listing
4
+ it under the installation's 'meta.tool_configs', e.g.::
5
+
6
+ meta:
7
+ tool_configs:
8
+ - "soliplex_concierge.config.GiteaIssueTargetToolConfig"
9
+
10
+ Soliplex then maps the 'tool_name' in a room's 'tools:' entry to this class.
11
+ """
12
+
13
+ import dataclasses
14
+
15
+ from soliplex.config import tools as config_tools
16
+
17
+ GITC_TOOL_NAME = "soliplex_concierge.tools.gitea.get_gitea_issue_target"
18
+ _, GITC_TOOL_KIND = GITC_TOOL_NAME.rsplit(".", 1)
19
+
20
+
21
+ @dataclasses.dataclass(kw_only=True)
22
+ class GiteaIssueTargetToolConfig(config_tools.ToolConfig):
23
+ kind: str = GITC_TOOL_KIND
24
+ tool_name: str = GITC_TOOL_NAME
25
+
26
+ owner: str
27
+ repo: str
28
+
29
+ def get_extra_parameters(self) -> dict:
30
+ local = {
31
+ "owner": self.owner,
32
+ "repo": self.repo,
33
+ }
34
+ return super().get_extra_parameters() | local
@@ -0,0 +1,34 @@
1
+ """Tools supporting the Gitea integration used by the 'about_soliplex' room."""
2
+
3
+ import pydantic
4
+ import pydantic_ai
5
+ from soliplex import agents
6
+
7
+ from soliplex_concierge import config
8
+
9
+
10
+ class GiteaIssueTarget(pydantic.BaseModel):
11
+ """The Gitea repository where room requests should be filed."""
12
+
13
+ owner: str
14
+ repo: str
15
+
16
+
17
+ async def get_gitea_issue_target(
18
+ ctx: pydantic_ai.RunContext[agents.AgentDependencies],
19
+ ) -> GiteaIssueTarget:
20
+ """Return the Gitea repository configured for filing room requests.
21
+
22
+ Call this before creating a Gitea issue, then pass the returned 'owner'
23
+ and 'repo' values verbatim as the new issue's 'owner' and 'repo'
24
+ arguments. Never guess or invent repository coordinates.
25
+
26
+ Returns:
27
+ GiteaIssueTarget: the 'owner' and 'repo' of this room's configured
28
+ issue-tracking repository.
29
+ """
30
+ tool_config = ctx.deps.tool_configs[config.GITC_TOOL_KIND]
31
+ return GiteaIssueTarget(
32
+ owner=tool_config.owner,
33
+ repo=tool_config.repo,
34
+ )
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: soliplex-concierge
3
+ Version: 0.1
4
+ Summary: Soliplex extension for LLM-driven room access / creation requests.
5
+ Author-email: Enfold <info@enfoldsystems.net>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: soliplex
12
+ Requires-Dist: pydantic
13
+ Requires-Dist: pydantic-ai-slim<2.0,>=1.100
14
+ Dynamic: license-file
15
+
16
+ # `soliplex-concierge`: room access / creation support
17
+
18
+ This project provides a [Soliplex](https://github.com/soliplex/soliplex)
19
+ extension to support LLM-driven, on-demand creation of issues tracking
20
+ requested changes to a Soliplex installation's configuration:
21
+
22
+ - Access to a non-public room
23
+ - Creation of a new room
24
+
25
+ Components:
26
+
27
+ - The [Python library](src/soliplex_concierge) contains code to support
28
+ both the issue creation tasks and the scripts which actually perform
29
+ the requested updates.
30
+
31
+ - The [agent skill](skill/) contains a
32
+ [skill definition](https://agentskills.io) which allows an agent to
33
+ perform these tasks.
34
+
35
+ ## Install & wire up
36
+
37
+ 1. Install this package into the environment that runs Soliplex (it depends
38
+ on `soliplex`):
39
+
40
+ ```sh
41
+ pip install -e .
42
+ ```
43
+
44
+ 2. Merge the entries from
45
+ [`example/installation-snippet.yaml`](example/installation-snippet.yaml)
46
+ into your `installation.yaml`. They:
47
+
48
+ - register the tool-config class via `meta.tool_configs` (Soliplex
49
+ resolves the tool by its dotted `tool_name`; no core edit is needed),
50
+ - add this package's `skill/` directory to `filesystem_skills_paths` and
51
+ enable the `soliplex-concierge` filesystem skill, and
52
+ - declare the `GITEA_HOST` environment variable and `GITEA_ACCESS_TOKEN`
53
+ secret used by the room's `gitea` MCP toolset.
54
+
55
+ 3. Copy [`example/rooms/about_soliplex/`](example/rooms/about_soliplex) into
56
+ your installation's `rooms/` directory, editing the `owner` / `repo` on
57
+ the `get_gitea_issue_target` tool to point at your tracking repository.
58
+
59
+ 4. Set `GITEA_HOST` and `GITEA_ACCESS_TOKEN` (see the `.env` lines at the
60
+ bottom of the installation snippet).
61
+
62
+ ## Status
63
+
64
+ The issue-filing concierge (the `about_soliplex` room, its `gitea` tool, and
65
+ the agent skill) is implemented. The scripts that *act on* approved requests
66
+ — actually creating rooms and granting room access — are a planned
67
+ follow-up.
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/soliplex_concierge/config.py
5
+ src/soliplex_concierge.egg-info/PKG-INFO
6
+ src/soliplex_concierge.egg-info/SOURCES.txt
7
+ src/soliplex_concierge.egg-info/dependency_links.txt
8
+ src/soliplex_concierge.egg-info/requires.txt
9
+ src/soliplex_concierge.egg-info/top_level.txt
10
+ src/soliplex_concierge/tools/gitea.py
@@ -0,0 +1,3 @@
1
+ soliplex
2
+ pydantic
3
+ pydantic-ai-slim<2.0,>=1.100
@@ -0,0 +1 @@
1
+ soliplex_concierge