monoco-toolkit 0.1.0__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.
- monoco/core/__init__.py +0 -0
- monoco/core/config.py +113 -0
- monoco/core/git.py +184 -0
- monoco/core/output.py +97 -0
- monoco/core/setup.py +285 -0
- monoco/core/telemetry.py +86 -0
- monoco/core/workspace.py +40 -0
- monoco/daemon/__init__.py +0 -0
- monoco/daemon/app.py +378 -0
- monoco/daemon/commands.py +36 -0
- monoco/daemon/models.py +24 -0
- monoco/daemon/reproduce_stats.py +41 -0
- monoco/daemon/services.py +265 -0
- monoco/daemon/stats.py +124 -0
- monoco/features/__init__.py +0 -0
- monoco/features/config/commands.py +70 -0
- monoco/features/i18n/__init__.py +0 -0
- monoco/features/i18n/commands.py +121 -0
- monoco/features/i18n/core.py +178 -0
- monoco/features/issue/commands.py +710 -0
- monoco/features/issue/core.py +1174 -0
- monoco/features/issue/linter.py +172 -0
- monoco/features/issue/models.py +154 -0
- monoco/features/skills/__init__.py +1 -0
- monoco/features/skills/core.py +96 -0
- monoco/features/spike/commands.py +110 -0
- monoco/features/spike/core.py +154 -0
- monoco/main.py +73 -0
- monoco_toolkit-0.1.0.dist-info/METADATA +86 -0
- monoco_toolkit-0.1.0.dist-info/RECORD +33 -0
- monoco_toolkit-0.1.0.dist-info/WHEEL +4 -0
- monoco_toolkit-0.1.0.dist-info/entry_points.txt +2 -0
- monoco_toolkit-0.1.0.dist-info/licenses/LICENSE +21 -0
monoco/main.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import typer
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from monoco.core.output import print_output
|
|
5
|
+
|
|
6
|
+
app = typer.Typer(
|
|
7
|
+
name="monoco",
|
|
8
|
+
help="Monoco Agent Native Toolkit",
|
|
9
|
+
add_completion=False,
|
|
10
|
+
no_args_is_help=True
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@app.callback()
|
|
15
|
+
def main(ctx: typer.Context):
|
|
16
|
+
"""
|
|
17
|
+
Monoco Toolkit - The sensory and motor system for Monoco Agents.
|
|
18
|
+
"""
|
|
19
|
+
# Capture command execution
|
|
20
|
+
from monoco.core.telemetry import capture_event
|
|
21
|
+
if ctx.invoked_subcommand:
|
|
22
|
+
capture_event("cli_command_executed", {"command": ctx.invoked_subcommand})
|
|
23
|
+
|
|
24
|
+
from monoco.core.setup import init_cli
|
|
25
|
+
app.command(name="init")(init_cli)
|
|
26
|
+
|
|
27
|
+
@app.command()
|
|
28
|
+
def info():
|
|
29
|
+
"""
|
|
30
|
+
Show toolkit information and current mode.
|
|
31
|
+
"""
|
|
32
|
+
from pydantic import BaseModel
|
|
33
|
+
from monoco.core.config import get_config
|
|
34
|
+
|
|
35
|
+
settings = get_config()
|
|
36
|
+
|
|
37
|
+
class Status(BaseModel):
|
|
38
|
+
version: str
|
|
39
|
+
mode: str
|
|
40
|
+
root: str
|
|
41
|
+
project: str
|
|
42
|
+
|
|
43
|
+
mode = "Agent (JSON)" if os.getenv("AGENT_FLAG") == "true" else "Human (Rich)"
|
|
44
|
+
|
|
45
|
+
status = Status(
|
|
46
|
+
version="0.1.0",
|
|
47
|
+
mode=mode,
|
|
48
|
+
root=os.getcwd(),
|
|
49
|
+
project=f"{settings.project.name} ({settings.project.key})"
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
print_output(status, title="Monoco Toolkit Status")
|
|
53
|
+
|
|
54
|
+
if mode == "Human (Rich)":
|
|
55
|
+
print_output(settings, title="Current Configuration")
|
|
56
|
+
|
|
57
|
+
# Register Feature Modules
|
|
58
|
+
# Register Feature Modules
|
|
59
|
+
from monoco.features.issue import commands as issue_cmd
|
|
60
|
+
from monoco.features.spike import commands as spike_cmd
|
|
61
|
+
from monoco.features.i18n import commands as i18n_cmd
|
|
62
|
+
from monoco.features.config import commands as config_cmd
|
|
63
|
+
|
|
64
|
+
app.add_typer(issue_cmd.app, name="issue", help="Manage development issues")
|
|
65
|
+
app.add_typer(spike_cmd.app, name="spike", help="Manage research spikes")
|
|
66
|
+
app.add_typer(i18n_cmd.app, name="i18n", help="Manage documentation i18n")
|
|
67
|
+
app.add_typer(config_cmd.app, name="config", help="Manage configuration")
|
|
68
|
+
|
|
69
|
+
from monoco.daemon.commands import serve
|
|
70
|
+
app.command(name="serve")(serve)
|
|
71
|
+
|
|
72
|
+
if __name__ == "__main__":
|
|
73
|
+
app()
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: monoco-toolkit
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Agent Native Toolkit for Monoco - Task Management & Kanban for AI Agents
|
|
5
|
+
Project-URL: Homepage, https://monoco.io
|
|
6
|
+
Project-URL: Repository, https://github.com/IndenScale/Monoco
|
|
7
|
+
Project-URL: Documentation, https://monoco.io/docs
|
|
8
|
+
Project-URL: Issues, https://github.com/IndenScale/Monoco/issues
|
|
9
|
+
Author-email: Monoco Team <dev@monoco.io>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: agent-native,ai-agents,cli,kanban,monoco,task-management,workflow
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Office/Business :: Groupware
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Requires-Dist: fastapi>=0.100.0
|
|
25
|
+
Requires-Dist: httpx>=0.28.1
|
|
26
|
+
Requires-Dist: prompt-toolkit>=3.0.0
|
|
27
|
+
Requires-Dist: pydantic>=2.0.0
|
|
28
|
+
Requires-Dist: pyyaml>=6.0
|
|
29
|
+
Requires-Dist: rich>=13.0.0
|
|
30
|
+
Requires-Dist: sse-starlette>=1.6.0
|
|
31
|
+
Requires-Dist: typer[all]>=0.9.0
|
|
32
|
+
Requires-Dist: uvicorn[standard]>=0.20.0
|
|
33
|
+
Requires-Dist: watchdog>=6.0.0
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
# Monoco: Harnessing AI Agents
|
|
37
|
+
|
|
38
|
+
> **The control interface between raw AI velocity and human information bandwidth.**
|
|
39
|
+
|
|
40
|
+
Production in the LLM era is exploding along a vertical curve. A single AI agent can work 24/7, generating massive amounts of intermediate data that far exceeds the biological information bandwidth of a human supervisor. When one agent becomes a hundred, the bottleneck is no longer "intelligence"—it is "command and control."
|
|
41
|
+
|
|
42
|
+
**Monoco is the Cockpit.**
|
|
43
|
+
|
|
44
|
+
It doesn't just "run" agents; it "encapsulates" them. It provides a deterministic barrier between the chaotic, raw execution power of LLMs and the rigorous, finite decision bandwidth of human engineers. It ensures that every agentic action eventually collapses into the outcome you intended.
|
|
45
|
+
|
|
46
|
+
## Workflow: Plan - Execute - Review - Archive
|
|
47
|
+
|
|
48
|
+
Monoco channels agent execution into a clear cycle:
|
|
49
|
+
|
|
50
|
+
1. **Plan**: Decompose complex missions through **Project → Epic → Feature** hierarchies into executable atomic units.
|
|
51
|
+
2. **Execute**: Agents work autonomously based on acceptance criteria defined in Issues, with all intermediate states persisted as structured files.
|
|
52
|
+
3. **Review**: Humans monitor progress through the Kanban dashboard, intervening only at critical decision points.
|
|
53
|
+
4. **Archive**: Completed tasks automatically transition to archived states, forming a traceable project history.
|
|
54
|
+
|
|
55
|
+
## The Control Matrix
|
|
56
|
+
|
|
57
|
+
- **Task Anchors (Issues)**: Define missions via structured files, setting clear boundaries and acceptance criteria for agents.
|
|
58
|
+
- **Deterministic Interface (CLI)**: Acts as a sensory extension for LLMs, providing them with structured perception of project state and eliminating hallucinated guesses.
|
|
59
|
+
- **Mission Dashboard (Kanban)**: A high-fidelity visual console that allows humans to audit tasks and transition states with minimal cognitive load.
|
|
60
|
+
|
|
61
|
+
## Quick Start
|
|
62
|
+
|
|
63
|
+
### 1. Install the Control Suite
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
pip install monoco-toolkit
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### 2. Initialize the Workflow
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
monoco init
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### 3. Take Control
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Start the control hub
|
|
79
|
+
monoco serve
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Visit `http://localhost:3213` to enter your cockpit.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
_"Cars are made to drive, not to fix."_
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
monoco/main.py,sha256=XBYDD9kQt_a0wRIZ1vtOshRG8kUugach7CnHoAgS84I,2052
|
|
2
|
+
monoco/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
monoco/core/config.py,sha256=oiWB4bYkLGNhV9J3nGHdYjnVIux0gi8u9oYEpcvanpA,4768
|
|
4
|
+
monoco/core/git.py,sha256=Qy5VjCKe0Y1y0rjqYULxT_viS7S4phTljf8hkd9DA8Q,6424
|
|
5
|
+
monoco/core/output.py,sha256=CK8efvj0Q-pWrcJMdXwbuCyfsykWZ_pen9YWuDsivXQ,3192
|
|
6
|
+
monoco/core/setup.py,sha256=qbMh6LV5wvXNYwquzxpmf3JZAoNDcwLClnNZ2QXPajs,8406
|
|
7
|
+
monoco/core/telemetry.py,sha256=7sW468fTLFEfIGyTAsIagmJeQild07kIwM9M_KrPITM,2841
|
|
8
|
+
monoco/core/workspace.py,sha256=pFMC2culomxOF6Q1XqpEHCB8WjEEPBxKObUsOVpIG-E,1306
|
|
9
|
+
monoco/daemon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
monoco/daemon/app.py,sha256=RdNVjaB1JJUJ3_qCfKzBWyTRoNZV10KsBxoMHG--To8,12819
|
|
11
|
+
monoco/daemon/commands.py,sha256=dN4D8ca0vPjj0WyjCSs8senneta1afm_bnNYv_kmGlU,1125
|
|
12
|
+
monoco/daemon/models.py,sha256=DqhR8_t0Oz1Tptqkw9KGZMgvPyL8mvb01aFdbmKqi4M,812
|
|
13
|
+
monoco/daemon/reproduce_stats.py,sha256=Q_zAj0Yj8l-77QDdtsLz1kWr68HeO7f1T6xC6VP43Vo,1261
|
|
14
|
+
monoco/daemon/services.py,sha256=ExSPd2J4QtzrHPG_sYjNMDtA3p_3xmQXo_gfL-2oIUY,9151
|
|
15
|
+
monoco/daemon/stats.py,sha256=r-L0k6CdxkAkwLZV3V-jW7PldB9S3uNklQGLCEKA3Sc,4563
|
|
16
|
+
monoco/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
monoco/features/config/commands.py,sha256=BySoGkIYia6RTsouDREAyjLV14n-_sZnInzPDlPdYCo,2139
|
|
18
|
+
monoco/features/i18n/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
+
monoco/features/i18n/commands.py,sha256=M_T8Ddw54p42wsZIowFjBq72mXKLsppzBRcHUByfhls,4816
|
|
20
|
+
monoco/features/i18n/core.py,sha256=recjfNhJA2xdqFUMIivZ2omQZEzbgXJ1QvhjmvEDj24,5957
|
|
21
|
+
monoco/features/issue/commands.py,sha256=w89KS19pJfMRzbIMIECQatalvPe4Q5rT8vSPfUnRQik,29448
|
|
22
|
+
monoco/features/issue/core.py,sha256=FW3S-qdWw5XTze1X3fuNk8O6IbjJl2wRcrGXQYI02_Q,43483
|
|
23
|
+
monoco/features/issue/linter.py,sha256=ZMNpp_0ehbzBMYROfPtCr4O4JL8mhdO9L0F3EAi96lE,7657
|
|
24
|
+
monoco/features/issue/models.py,sha256=JCipMV2FMdyyvy-KIHtjOJHzcE2Cw_Hi-z1M3XfRQfI,4843
|
|
25
|
+
monoco/features/skills/__init__.py,sha256=L8YNGPWyyFWq5WqNossfeB0AKHJF_omrn1VzJBrRFcM,23
|
|
26
|
+
monoco/features/skills/core.py,sha256=mpd0Cq-k2MvHRTPq9saFvZgYXUBGJ9pnK5lUmzUfZbY,3418
|
|
27
|
+
monoco/features/spike/commands.py,sha256=BpwYYIpihmezJACOxgQojsCM7RwXqL0_EB6wCl--Mm8,3947
|
|
28
|
+
monoco/features/spike/core.py,sha256=FSlO3Lhz49_nyFp68TpxBdkFKksShz5S33Qxh74ZFpY,5150
|
|
29
|
+
monoco_toolkit-0.1.0.dist-info/METADATA,sha256=esyYDPaHLk09TnnmNgJi3pK9_yqpXlTXD9oQS7TxfjM,3602
|
|
30
|
+
monoco_toolkit-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
31
|
+
monoco_toolkit-0.1.0.dist-info/entry_points.txt,sha256=iYj7FWYBdtClU15-Du1skqD0s6SFSIhJvxJ29VWp8ng,43
|
|
32
|
+
monoco_toolkit-0.1.0.dist-info/licenses/LICENSE,sha256=ACAGGjV6aod4eIlVUTx1q9PZbnZGN5bBwkSs9RHj83s,1071
|
|
33
|
+
monoco_toolkit-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Monoco Project
|
|
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.
|