soliplex-concierge 0.1__py3-none-any.whl

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,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,7 @@
1
+ soliplex_concierge/config.py,sha256=CLeZVmGFl8B59A3B5MDfJV-ioDrl7dzRKk9IGEZRgsc,962
2
+ soliplex_concierge/tools/gitea.py,sha256=6UvYgxlV3ZtKtbYUUxsYUiO5OFtAvlNDo2FfHxx0F70,1018
3
+ soliplex_concierge-0.1.dist-info/licenses/LICENSE,sha256=pQGCrNy-iPha4jIhHdzhY0iJO23LUUymDinb1YxlX-I,1065
4
+ soliplex_concierge-0.1.dist-info/METADATA,sha256=8ucfgZJYHfvpO5Ya04-SiNeCMiX4ZkMC2SU7YQaM_C8,2409
5
+ soliplex_concierge-0.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
6
+ soliplex_concierge-0.1.dist-info/top_level.txt,sha256=FIqJEctICTfZA0D2Cm32BaYpCFzF1iUJymbVQCsszAg,19
7
+ soliplex_concierge-0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -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 @@
1
+ soliplex_concierge