trigrams-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.
- trigrams_toolkit/__init__.py +1 -0
- trigrams_toolkit/handbook/__init__.py +6 -0
- trigrams_toolkit/handbook/cli.py +122 -0
- trigrams_toolkit/handbook/guide_headers.py +43 -0
- trigrams_toolkit/handbook/guides.py +141 -0
- trigrams_toolkit/handbook/location.py +79 -0
- trigrams_toolkit/handbook/model.py +4 -0
- trigrams_toolkit/handbook/package.py +165 -0
- trigrams_toolkit/handbook/principle_import.py +101 -0
- trigrams_toolkit/handbook/project_resources.py +80 -0
- trigrams_toolkit/handbook/skill_sources.py +59 -0
- trigrams_toolkit/handbook/source_catalog.py +55 -0
- trigrams_toolkit/handbook/sources.py +16 -0
- trigrams_toolkit/installation/__init__.py +0 -0
- trigrams_toolkit/installation/archive_project.py +50 -0
- trigrams_toolkit/installation/global_skills.py +45 -0
- trigrams_toolkit/installation/harness_install.py +89 -0
- trigrams_toolkit/installation/installation_candidate.py +135 -0
- trigrams_toolkit/installation/installation_help.py +49 -0
- trigrams_toolkit/installation/installation_materials.py +73 -0
- trigrams_toolkit/installation/installation_service.py +14 -0
- trigrams_toolkit/installation/installation_sources.py +34 -0
- trigrams_toolkit/installation/operation_files.py +94 -0
- trigrams_toolkit/installation/operation_runtime.py +144 -0
- trigrams_toolkit/installation/package_metadata.py +48 -0
- trigrams_toolkit/plan/__init__.py +5 -0
- trigrams_toolkit/plan/cli.py +136 -0
- trigrams_toolkit/plan/definitions.py +131 -0
- trigrams_toolkit/plan/model.py +61 -0
- trigrams_toolkit/plan/scheduling.py +126 -0
- trigrams_toolkit/plan/service.py +139 -0
- trigrams_toolkit/plan/state.py +146 -0
- trigrams_toolkit/project_context/__init__.py +16 -0
- trigrams_toolkit/project_context/paths.py +36 -0
- trigrams_toolkit/py.typed +0 -0
- trigrams_toolkit/resources/__init__.py +35 -0
- trigrams_toolkit/resources/adapters/claude/README.md +7 -0
- trigrams_toolkit/resources/adapters/claude/evaluator.md +7 -0
- trigrams_toolkit/resources/adapters/claude/task_developer.md +7 -0
- trigrams_toolkit/resources/adapters/codex/README.md +9 -0
- trigrams_toolkit/resources/adapters/codex/evaluator.toml +6 -0
- trigrams_toolkit/resources/adapters/codex/task_developer.toml +6 -0
- trigrams_toolkit/resources/adapters/pi-web/evaluator.md +7 -0
- trigrams_toolkit/resources/adapters/pi-web/task_developer.md +7 -0
- trigrams_toolkit/resources/handbook/PROTOCOL.md +82 -0
- trigrams_toolkit/resources/handbook/README.md +45 -0
- trigrams_toolkit/resources/handbook/commands.json +31 -0
- trigrams_toolkit/resources/handbook/guides.schema.json +253 -0
- trigrams_toolkit/resources/installation/PROTOCOL.md +35 -0
- trigrams_toolkit/resources/installation/cli.schema.json +89 -0
- trigrams_toolkit/resources/installation/commands.json +23 -0
- trigrams_toolkit/resources/installation/examples/install-apply-input.json +48 -0
- trigrams_toolkit/resources/installation/examples/install-preview-input.json +7 -0
- trigrams_toolkit/resources/installation/examples/installation.json +20 -0
- trigrams_toolkit/resources/installation/global-skills.json +6 -0
- trigrams_toolkit/resources/installation/installation.schema.json +295 -0
- trigrams_toolkit/resources/plan/PROTOCOL.md +89 -0
- trigrams_toolkit/resources/plan/README.md +61 -0
- trigrams_toolkit/resources/plan/commands.json +36 -0
- trigrams_toolkit/resources/plan/plan.schema.json +192 -0
- trigrams_toolkit/resources/shared/GLOBAL-TOOLS.md +31 -0
- trigrams_toolkit/resources/shared/common.schema.json +234 -0
- trigrams_toolkit/resources/state/PROTOCOL.md +85 -0
- trigrams_toolkit/resources/state/README.md +88 -0
- trigrams_toolkit/resources/state/cli.schema.json +326 -0
- trigrams_toolkit/resources/state/commands.json +55 -0
- trigrams_toolkit/resources/state/core-types.json +5 -0
- trigrams_toolkit/resources/state/help.json +86 -0
- trigrams_toolkit/resources/state/sources.schema.json +89 -0
- trigrams_toolkit/resources/state/state.schema.json +200 -0
- trigrams_toolkit/shared/__init__.py +1 -0
- trigrams_toolkit/shared/cli_help.py +195 -0
- trigrams_toolkit/shared/errors.py +29 -0
- trigrams_toolkit/shared/files.py +66 -0
- trigrams_toolkit/shared/locking.py +49 -0
- trigrams_toolkit/shared/paths.py +89 -0
- trigrams_toolkit/shared/process_lock.py +77 -0
- trigrams_toolkit/shared/schema.py +60 -0
- trigrams_toolkit/shared/serialization.py +84 -0
- trigrams_toolkit/shared/skill_installations.py +66 -0
- trigrams_toolkit/shared/state_json.py +45 -0
- trigrams_toolkit/state/__init__.py +4 -0
- trigrams_toolkit/state/arguments.py +68 -0
- trigrams_toolkit/state/cli.py +37 -0
- trigrams_toolkit/state/frontmatter.py +176 -0
- trigrams_toolkit/state/help.py +25 -0
- trigrams_toolkit/state/identity.py +123 -0
- trigrams_toolkit/state/location.py +59 -0
- trigrams_toolkit/state/model.py +76 -0
- trigrams_toolkit/state/providers.py +77 -0
- trigrams_toolkit/state/registration.py +82 -0
- trigrams_toolkit/state/relations.py +105 -0
- trigrams_toolkit/state/service.py +90 -0
- trigrams_toolkit/state/store.py +33 -0
- trigrams_toolkit/state/views.py +64 -0
- trigrams_toolkit/version.py +6 -0
- trigrams_toolkit-0.1.0.dist-info/METADATA +69 -0
- trigrams_toolkit-0.1.0.dist-info/RECORD +103 -0
- trigrams_toolkit-0.1.0.dist-info/WHEEL +5 -0
- trigrams_toolkit-0.1.0.dist-info/entry_points.txt +5 -0
- trigrams_toolkit-0.1.0.dist-info/licenses/LICENSE +21 -0
- trigrams_toolkit-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +18 -0
- trigrams_toolkit-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"""Public projections of Registry entities and located documents."""
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
from typing import Literal, NotRequired, TypedDict, cast
|
|
4
|
+
|
|
5
|
+
from .location import artifact_location
|
|
6
|
+
from .model import Artifact, Entity, Feature, Module, RegistryState
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ModuleView(TypedDict):
|
|
10
|
+
id: str
|
|
11
|
+
kind: Literal["core:module"]
|
|
12
|
+
name: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class FeatureView(TypedDict):
|
|
16
|
+
id: str
|
|
17
|
+
kind: Literal["core:feature"]
|
|
18
|
+
name: str
|
|
19
|
+
moduleId: str
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ArtifactView(TypedDict):
|
|
23
|
+
id: str
|
|
24
|
+
kind: str
|
|
25
|
+
title: str
|
|
26
|
+
moduleId: NotRequired[str]
|
|
27
|
+
featureIds: list[str]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class LocatedArtifactView(ArtifactView):
|
|
31
|
+
path: str
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
EntityView = ModuleView | FeatureView | ArtifactView
|
|
35
|
+
LocateResult = ModuleView | FeatureView | LocatedArtifactView
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _artifact_view(artifact: Artifact) -> ArtifactView:
|
|
39
|
+
view: ArtifactView = {"id": artifact["id"], "kind": artifact["kind"], "title": artifact["title"],
|
|
40
|
+
"featureIds": list(artifact["featureIds"])}
|
|
41
|
+
if "moduleId" in artifact:
|
|
42
|
+
view["moduleId"] = artifact["moduleId"]
|
|
43
|
+
return view
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def _named_view(entity: Module | Feature) -> ModuleView | FeatureView:
|
|
47
|
+
if "moduleId" in entity:
|
|
48
|
+
feature = cast(Feature, entity)
|
|
49
|
+
return {"id": feature["id"], "kind": "core:feature", "name": feature["name"], "moduleId": feature["moduleId"]}
|
|
50
|
+
return {"id": entity["id"], "kind": "core:module", "name": entity["name"]}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def entity_view(entity: Entity) -> EntityView:
|
|
54
|
+
if "kind" in entity:
|
|
55
|
+
return _artifact_view(cast(Artifact, entity))
|
|
56
|
+
return _named_view(entity)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def located_entity_view(project_root: Path, state: RegistryState, entity: Entity) -> LocateResult:
|
|
60
|
+
if "kind" in entity:
|
|
61
|
+
artifact = cast(Artifact, entity)
|
|
62
|
+
location = artifact_location(project_root, state, artifact)
|
|
63
|
+
return {**_artifact_view(artifact), "path": str(location)}
|
|
64
|
+
return _named_view(entity)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: trigrams-toolkit
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Agent skills, project resources and command-line tools for Trigrams toolkit
|
|
5
|
+
Author: LINEBARRELS
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
License-File: THIRD_PARTY_NOTICES.md
|
|
11
|
+
Requires-Dist: PyYAML==6.0.2
|
|
12
|
+
Requires-Dist: jsonschema==4.24.0
|
|
13
|
+
Requires-Dist: referencing<0.38,>=0.36.2
|
|
14
|
+
Requires-Dist: ruamel.yaml<0.19,>=0.18.15
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Requires-Dist: build<2,>=1.2.2; extra == "dev"
|
|
17
|
+
Requires-Dist: mypy<2,>=1.15; extra == "dev"
|
|
18
|
+
Requires-Dist: types-PyYAML; extra == "dev"
|
|
19
|
+
Requires-Dist: types-jsonschema; extra == "dev"
|
|
20
|
+
Dynamic: license-file
|
|
21
|
+
|
|
22
|
+
# trigrams-toolkit
|
|
23
|
+
|
|
24
|
+
Command-line tools, schemas, core types and platform adapters for **Trigrams toolkit**.
|
|
25
|
+
|
|
26
|
+
## Requirements
|
|
27
|
+
|
|
28
|
+
- Python 3.11 or newer
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
Install the CLI package globally with `uv`:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
uv tool install trigrams-toolkit
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Or install with `pip`:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
python -m pip install trigrams-toolkit
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Included CLI Commands
|
|
45
|
+
|
|
46
|
+
| Command | Purpose |
|
|
47
|
+
| --- | --- |
|
|
48
|
+
| `project-state` | Register and query project Modules, Features, Artifacts and relations in `.project-state/state.json`. |
|
|
49
|
+
| `plan-toolkit` | Compile plan snapshots, inspect task dependencies, list runnable tasks and track Plan / Task status. |
|
|
50
|
+
| `handbook` | Discover, load, validate and import workbooks and principles from global Skills, installed extensions and project resources. |
|
|
51
|
+
| `harness-install` | Preview and apply project extension snapshots (`.agents/extensions/`) and host adapters, ensure required global Skills, and archive explicit project paths. |
|
|
52
|
+
|
|
53
|
+
## Quick Usage
|
|
54
|
+
|
|
55
|
+
Help (`-h` / `--help`) and version (`-v` / `--version`) can be queried from any directory:
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
project-state --version
|
|
59
|
+
project-state --help
|
|
60
|
+
plan-toolkit --help
|
|
61
|
+
handbook --help
|
|
62
|
+
harness-install --help
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
All other subcommands operate on the current working directory and should be run from the target project root.
|
|
66
|
+
|
|
67
|
+
## License
|
|
68
|
+
|
|
69
|
+
MIT. See the bundled `LICENSE` and `THIRD_PARTY_NOTICES.md` files for details.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
trigrams_toolkit/__init__.py,sha256=YzxtoRjvZpvurkdex1pYuldTQGTcNbpkJMrJW-3Olqk,74
|
|
2
|
+
trigrams_toolkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
trigrams_toolkit/version.py,sha256=3U-1CfCjpgUWbQsyNrsKndBsnh2TanDhH635AnA6LeQ,215
|
|
4
|
+
trigrams_toolkit/handbook/__init__.py,sha256=RefBbggjNOiRPGq7xiBHQQ4C6GMI9anZjdL7WtB00Sw,237
|
|
5
|
+
trigrams_toolkit/handbook/cli.py,sha256=sl0FJm9H4-K6BB1XU7spXU5vb_zLwa4IYWI7karn3pI,6168
|
|
6
|
+
trigrams_toolkit/handbook/guide_headers.py,sha256=9lZAAT5v9ksewtX69LQQSLNQyBXlgbjOswDYJZ4B0_M,1934
|
|
7
|
+
trigrams_toolkit/handbook/guides.py,sha256=8ymf1I30vzKMHz4MTZ_pf7qLOc-1joiIqXIOkgfj6iA,6700
|
|
8
|
+
trigrams_toolkit/handbook/location.py,sha256=arY-RaCSf2WZWIoWcwInYcolmvGKoj0bPy9C3sLi5LE,3951
|
|
9
|
+
trigrams_toolkit/handbook/model.py,sha256=df-eQBQ1NhsCMMICtBWBuy4u4F1M51KahGGWhhGQJnc,105
|
|
10
|
+
trigrams_toolkit/handbook/package.py,sha256=9Bd9EVlPrl5NnDns-96n779bnu62j1QCvBPFK3IDsD0,7614
|
|
11
|
+
trigrams_toolkit/handbook/principle_import.py,sha256=AuM-vExQQThGJnS11_BARl_duW7BMfZPkHi-1S4l2To,4846
|
|
12
|
+
trigrams_toolkit/handbook/project_resources.py,sha256=VNXqeoDj0daZvP_ZSVDScJcVYVJLkv4I8APqTxkECpM,3769
|
|
13
|
+
trigrams_toolkit/handbook/skill_sources.py,sha256=DpxWleqI4b0CAmaHWQSESGP6bXWVBvYj8WP5WhJB6x8,2733
|
|
14
|
+
trigrams_toolkit/handbook/source_catalog.py,sha256=M3FvFN_wdga0Df6In4G2mIDa_Oep1I98yrSTNq2muJI,3137
|
|
15
|
+
trigrams_toolkit/handbook/sources.py,sha256=Rp9Ilnnk5KYMWQW0g2CyPlyumoQmkUC-ruVEwAriR5Y,505
|
|
16
|
+
trigrams_toolkit/installation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
trigrams_toolkit/installation/archive_project.py,sha256=xhEEeRWBnn4cwwB4yvhQSW6ZhapBxRIGFiibphfCWzs,2536
|
|
18
|
+
trigrams_toolkit/installation/global_skills.py,sha256=b7_k43AyDn4BrxaKPne2dYGlWigIvREZabxjsC_EXCI,2271
|
|
19
|
+
trigrams_toolkit/installation/harness_install.py,sha256=JAI5iKQhzkvl79wEGP_dfndyTgMmF9F-UI0g-xkX0g0,4417
|
|
20
|
+
trigrams_toolkit/installation/installation_candidate.py,sha256=HD3Dwyjy6OT_guqv0Xlb8hqZo0zzPU1AJIQz3cP7miY,8081
|
|
21
|
+
trigrams_toolkit/installation/installation_help.py,sha256=fzyXmpyenXL15gYj0ugvs87CJmxtvJzRCLzvq_IthFs,2989
|
|
22
|
+
trigrams_toolkit/installation/installation_materials.py,sha256=CjwktzyaEHhe1OrnxKViLtvtSINzNANrRazsUK89Bao,4006
|
|
23
|
+
trigrams_toolkit/installation/installation_service.py,sha256=bGkk9xy3L6H4etsRtExbU3wIjGrCE3C88WMqEj11crc,731
|
|
24
|
+
trigrams_toolkit/installation/installation_sources.py,sha256=WksigRk-pUFKauuC8z7iHtwifd17bkppO4kp_LIhMfI,1638
|
|
25
|
+
trigrams_toolkit/installation/operation_files.py,sha256=e7uCkixGm-gPV1t9-qxoYGXAgur6VPipmqcoJbpVA0o,3770
|
|
26
|
+
trigrams_toolkit/installation/operation_runtime.py,sha256=zcZHpJBGyh-rBxmrppR6yvDjueQOnKOJzShONwVpVrU,8544
|
|
27
|
+
trigrams_toolkit/installation/package_metadata.py,sha256=BFeEqaDQrRFUe6ZEAqvrEVUK7MzRhuwbPulyt6oXHRQ,1589
|
|
28
|
+
trigrams_toolkit/plan/__init__.py,sha256=AB6eM0nGgQ5ZiUAn0YWc4rmKWfE5rMSj0UxFWw6ECWE,141
|
|
29
|
+
trigrams_toolkit/plan/cli.py,sha256=c7uG6P849pgfkdlfMCfBdtUrzEqz_GK7B-hRlCjWL0E,6348
|
|
30
|
+
trigrams_toolkit/plan/definitions.py,sha256=1oSRDh1KFNiyFmmdtWxPXn-zspU1KSBOp2vRu6hucVA,6664
|
|
31
|
+
trigrams_toolkit/plan/model.py,sha256=FhsAKllw_leuJrYEdXcmw_-brgkBubGfkwHRf4JvQeM,1517
|
|
32
|
+
trigrams_toolkit/plan/scheduling.py,sha256=NSSdLP_gUUSr2mgll1cDdMA4v68NsEqD7Ogem-fhxh8,5900
|
|
33
|
+
trigrams_toolkit/plan/service.py,sha256=6xCdw4MFOsev9T2tX_Lt6US7sp6n8BXOHT4v5CeSrQQ,6676
|
|
34
|
+
trigrams_toolkit/plan/state.py,sha256=A_7uvGuKHzO4n64Hc4xqP-WtKcML-VsY9IkBUcNVgYQ,7681
|
|
35
|
+
trigrams_toolkit/project_context/__init__.py,sha256=2xp4IVvJ6nORhgmIWLGHN9rDsAGLCyURzaXBs4yo1RY,523
|
|
36
|
+
trigrams_toolkit/project_context/paths.py,sha256=_d3j3wqId1YPUpIvZhVAn6Jyx9BlACALYIomF2DL8Vs,1135
|
|
37
|
+
trigrams_toolkit/resources/__init__.py,sha256=vgXRXq-_TPuSrtih5aToSqVM9eWNGcOa5Ms6MOzLNHs,1277
|
|
38
|
+
trigrams_toolkit/resources/adapters/claude/README.md,sha256=R8XjvnWIdBu4Kd8Tt8fm01QSXQbjpY3Nyb292KZMewA,941
|
|
39
|
+
trigrams_toolkit/resources/adapters/claude/evaluator.md,sha256=S7vH21GoN6EW4CBeLlLIzcdLtE_l7J-42fCsfkydeyE,208
|
|
40
|
+
trigrams_toolkit/resources/adapters/claude/task_developer.md,sha256=RYIUO1RCg5JVpsJ7FtqO_kmgNzLBh9bhOH3bw7EZxfg,165
|
|
41
|
+
trigrams_toolkit/resources/adapters/codex/README.md,sha256=L3UsP9iOHhAIhCPAkMu2_y0Rt8M8COb3PDo-XrPfSgg,1120
|
|
42
|
+
trigrams_toolkit/resources/adapters/codex/evaluator.toml,sha256=Y7ZX8r7DocL4p2z9m4vf-0YkveYzOzgeUFFci-JY7FI,256
|
|
43
|
+
trigrams_toolkit/resources/adapters/codex/task_developer.toml,sha256=7Ew_y9u70rdt00ZFvHG1sMnO1PCyOcQEQzA75xIIdSU,213
|
|
44
|
+
trigrams_toolkit/resources/adapters/pi-web/evaluator.md,sha256=96G_JZpN7kHZWpNHsnxESiV2qadGukbhqphVLZVJlkM,211
|
|
45
|
+
trigrams_toolkit/resources/adapters/pi-web/task_developer.md,sha256=XK0EJw-X3Nzl0YAgdBajiu8bhOaZxvCwkIO3OyllzaQ,168
|
|
46
|
+
trigrams_toolkit/resources/handbook/PROTOCOL.md,sha256=aHQk6aSvPdhHKwG2-cQJmsH7v9p3QcIJzdrrTpB6318,9190
|
|
47
|
+
trigrams_toolkit/resources/handbook/README.md,sha256=QoZmg5Tm8-P3V_Oc8vUPrqsMpO1XL4PwaHnfyuiybBc,4223
|
|
48
|
+
trigrams_toolkit/resources/handbook/commands.json,sha256=2wJQQ-hufH1D13xgFteXWk9zT7QTu0tvDF_Q-Zx9GAo,639
|
|
49
|
+
trigrams_toolkit/resources/handbook/guides.schema.json,sha256=SWxXFabOuy3oWcBXGGW2X-cE00mtuWvkpAyhWwNIO44,5816
|
|
50
|
+
trigrams_toolkit/resources/installation/PROTOCOL.md,sha256=rCmm5AHvVdf3eMJsV6Qz8USb2bL6pyxPCzM2tVKHTLk,5147
|
|
51
|
+
trigrams_toolkit/resources/installation/cli.schema.json,sha256=OhrkMyD4vUjs0DKJA4lNtBj08YLtlit40U4811myS2E,2136
|
|
52
|
+
trigrams_toolkit/resources/installation/commands.json,sha256=-qf9pvK5PZchpKgs6erm9B4kbIKkGv5RILOva_DGgcs,583
|
|
53
|
+
trigrams_toolkit/resources/installation/global-skills.json,sha256=K9FC7EAu1JnmumIniWiS2xTY1uef28ZbWc8DVoOlfBo,195
|
|
54
|
+
trigrams_toolkit/resources/installation/installation.schema.json,sha256=8I0uufOZqMXqjj7caS02xYTdAllhbpfSJHYHFoNdO4Y,6195
|
|
55
|
+
trigrams_toolkit/resources/installation/examples/install-apply-input.json,sha256=Fg0RT1WkInCy-dtmzElzKw_c-E2uq25sJjYitmAyAYI,1229
|
|
56
|
+
trigrams_toolkit/resources/installation/examples/install-preview-input.json,sha256=kyYq_ReTS7Qa2BhvNJ-OzyBSjXCDCXhmfCHZoLCIN9Q,86
|
|
57
|
+
trigrams_toolkit/resources/installation/examples/installation.json,sha256=0Tcw8XBTXIoExaVuHEeJ-oBNi4em6wW-mdipHgIcd8A,413
|
|
58
|
+
trigrams_toolkit/resources/plan/PROTOCOL.md,sha256=AfQ0zVyVZz1G2WMagvnWbfeGvR-3W0oDeHrkso0CWP4,8780
|
|
59
|
+
trigrams_toolkit/resources/plan/README.md,sha256=A4KX5mQQKsVcniO30D9-OY9pj9ZvQmDqt6Q4zHPgHoo,5048
|
|
60
|
+
trigrams_toolkit/resources/plan/commands.json,sha256=6Bmli1t3Z49aNYfjqzvqfLn4xQW_Grgnz4Zp_jLA2U0,667
|
|
61
|
+
trigrams_toolkit/resources/plan/plan.schema.json,sha256=N6wefx7o1AmhUmEsW286Mz2wamAejGwRz7dpOmLz-WU,3608
|
|
62
|
+
trigrams_toolkit/resources/shared/GLOBAL-TOOLS.md,sha256=vv5HPo_QdfjNbx4S65BfQWhDi8JEkUCmAekjVcj9V7Y,3344
|
|
63
|
+
trigrams_toolkit/resources/shared/common.schema.json,sha256=V0kyBfILvshDWG3lq2v5pdpF1yJMUPge3sY4Z5jUr2M,4999
|
|
64
|
+
trigrams_toolkit/resources/state/PROTOCOL.md,sha256=v9x7z_-jivCl4fFLh12p5LYtDL8W9D76x0rdfo7yTmc,7746
|
|
65
|
+
trigrams_toolkit/resources/state/README.md,sha256=2inkSiaKt_9RXKGGDwSH4PDoui7-bBVhMoD7e3BA7bc,8229
|
|
66
|
+
trigrams_toolkit/resources/state/cli.schema.json,sha256=VlT3RMjQf0Tt_sYDeA1bRtULsz6LuOjW5gQsOLx_h_o,9031
|
|
67
|
+
trigrams_toolkit/resources/state/commands.json,sha256=MZVa_2hg6LgQVnhj-QBGJlmwMsev8xjJu0xa1SzT_WY,1553
|
|
68
|
+
trigrams_toolkit/resources/state/core-types.json,sha256=gazl-bbyxkmLTgaApRQttMPkvrYkxrD5xsAqL9rivqY,183
|
|
69
|
+
trigrams_toolkit/resources/state/help.json,sha256=NfM9_v_apfMe6hOWImEu5lBx_EdI1tlJc7aJH9HNO7I,3413
|
|
70
|
+
trigrams_toolkit/resources/state/sources.schema.json,sha256=buOfOKhVDE0OfaOPFw83aVeY6e6_v3bYX9SomMY6VrY,1670
|
|
71
|
+
trigrams_toolkit/resources/state/state.schema.json,sha256=TE9mZqJ2dJclZiqzvNBDalfwvLYYXqNPc3pbxPiL-Sw,4154
|
|
72
|
+
trigrams_toolkit/shared/__init__.py,sha256=zeUuwkiEJWCvHHyOPFgA6SazuAUqM8cs_BxG31zPnV0,43
|
|
73
|
+
trigrams_toolkit/shared/cli_help.py,sha256=YmAneeq0geiAWdQKbWazvOFNmo_SfNuuiptoPw9uofk,9934
|
|
74
|
+
trigrams_toolkit/shared/errors.py,sha256=l2RJO9QQyVWc1XWCerw3g7urd5r3AQGOxTfd4xBvhWs,1079
|
|
75
|
+
trigrams_toolkit/shared/files.py,sha256=NULi85NAmisknyJRDztScGqTVuqbU-ZCy6XDVn3Jfgc,2275
|
|
76
|
+
trigrams_toolkit/shared/locking.py,sha256=hab7L6YHldnHZ9aRI-p9biCsvpH-Kp5tkpjfxxQHF2s,1586
|
|
77
|
+
trigrams_toolkit/shared/paths.py,sha256=6vHPCskyrMSIqaKobREJaLnJ2tkxkC2SLtJeOK352Vk,3616
|
|
78
|
+
trigrams_toolkit/shared/process_lock.py,sha256=rw7DavF-z_aJ9Y2Smdvwx5w7TTocVfOTnGvvPXvseWQ,3086
|
|
79
|
+
trigrams_toolkit/shared/schema.py,sha256=MvR2lrS_dnDwGGvuD06QgLLYadXWxfQQzRH4Z5FtN5o,2630
|
|
80
|
+
trigrams_toolkit/shared/serialization.py,sha256=x4YSwbiHpZ0g0Dx7mRbSXDmfJoiZOpRn6gGfxnkgu9M,2976
|
|
81
|
+
trigrams_toolkit/shared/skill_installations.py,sha256=NcVh82ra1EmwEi5uzL3q9u6HgMyWkAShZogS100KWGU,2770
|
|
82
|
+
trigrams_toolkit/shared/state_json.py,sha256=6HHP_oY0SvTfGhxeRCirmm_SDl0424ZSrYIW__ISGXs,1480
|
|
83
|
+
trigrams_toolkit/state/__init__.py,sha256=Pa4tRll-IiFmwO3peLOnT4OWrM1NF70TwloWgEGgFwM,134
|
|
84
|
+
trigrams_toolkit/state/arguments.py,sha256=e3UjN2q8us_uY4u7f-cWtzBgusGUts1ic2vRUp2NIfU,3297
|
|
85
|
+
trigrams_toolkit/state/cli.py,sha256=T_9OKtFnqL8KHgKSJNVfGgLZiX4vE_EGjUc_rnsqkd4,1339
|
|
86
|
+
trigrams_toolkit/state/frontmatter.py,sha256=1vR-JRr1xq4ctl_UkyNU8FuOmcZ5OLePWMCxoPQSwR8,7188
|
|
87
|
+
trigrams_toolkit/state/help.py,sha256=OXAbhUcV1O6qq9Pte7Ry0aC0e55Us3lPnkahpl6GyU8,1519
|
|
88
|
+
trigrams_toolkit/state/identity.py,sha256=e3ThbKk6YrlShAWYnvjQg-Pmg2nigHTcgHLn-m0bMwA,5773
|
|
89
|
+
trigrams_toolkit/state/location.py,sha256=MmhE-9kp3lmUEJVHnetvSclkEt350KbnlWRqD9veiwo,2421
|
|
90
|
+
trigrams_toolkit/state/model.py,sha256=CUJqQfA7GIW7I1mRr8OmRB6g4euRYKIrGT5PPYTxTAk,2329
|
|
91
|
+
trigrams_toolkit/state/providers.py,sha256=10n3Rp4WFS36L2luX-EI14RMQodiBf3jxs9NtLSS5YY,3824
|
|
92
|
+
trigrams_toolkit/state/registration.py,sha256=IWpHFw3wBtau7x2DULO3QHHdvjrTrgjXiIXUNnijXKU,4433
|
|
93
|
+
trigrams_toolkit/state/relations.py,sha256=h9jarT1xGUKsukkI7yfuxA1eg4-qS4KQK3sVfdmAtKM,5740
|
|
94
|
+
trigrams_toolkit/state/service.py,sha256=lWsTbqWP0drKXJ__kK4G7D12xFGKc8SzWr8vmLzLAtw,5122
|
|
95
|
+
trigrams_toolkit/state/store.py,sha256=6TWFXps9lNYmXa9eJxKYhFMYMvv-X02jo48tJrdofAg,1567
|
|
96
|
+
trigrams_toolkit/state/views.py,sha256=aaoPkGeRWU08A4E9ioiCSWyD4Ca_kNFwQf7q0I64pKA,1923
|
|
97
|
+
trigrams_toolkit-0.1.0.dist-info/licenses/LICENSE,sha256=nAR28BGma6ft4gwUCjINvCREv8DHZQicL87Me-z8f6s,1106
|
|
98
|
+
trigrams_toolkit-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md,sha256=FdD2p1mSraf8k6MVIIIJttcUK-JQyTtH_Q6BA-eDKag,1424
|
|
99
|
+
trigrams_toolkit-0.1.0.dist-info/METADATA,sha256=M9ct3mwJr80sieZ0RSsXt8C0Shf7_lAvxB0v7nFvha4,2141
|
|
100
|
+
trigrams_toolkit-0.1.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
101
|
+
trigrams_toolkit-0.1.0.dist-info/entry_points.txt,sha256=xhqm6F8Zh5emSLRelhZJ02Jbg70MtMLcpzVD-kShFGg,227
|
|
102
|
+
trigrams_toolkit-0.1.0.dist-info/top_level.txt,sha256=qQh6psql-8HIHKzO8CPc85q0ZKIcj8X87EdL09cxAVw,17
|
|
103
|
+
trigrams_toolkit-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LINEBARRELS and contributors
|
|
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,18 @@
|
|
|
1
|
+
# 第三方内容与素材
|
|
2
|
+
|
|
3
|
+
根目录 [MIT License](LICENSE) 适用于维护者有权授权的原创内容。第三方组件与素材遵循各自许可和来源声明。
|
|
4
|
+
|
|
5
|
+
## 外部 Skill
|
|
6
|
+
|
|
7
|
+
| 内容 | 来源 | 保留的许可 |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| smell-check(必需外部依赖,不随包内嵌) | [Zhen-Bo/smell-check](https://github.com/Zhen-Bo/smell-check) | 使用上游安装包携带的许可 |
|
|
10
|
+
| archify(必需外部依赖,不随包内嵌) | [Archify](https://archify.si) | 使用上游安装包携带的许可 |
|
|
11
|
+
|
|
12
|
+
上述 Skill 通过各自来源安装。`harness-install install apply` 检查并补齐目标 `agent` 缺失的 `archify` 与 `smell-check`。安装来源见[全局依赖声明](src/trigrams_toolkit/resources/installation/global-skills.json)。上游参考材料按其来源标注。
|
|
13
|
+
|
|
14
|
+
## Python CLI 运行依赖
|
|
15
|
+
|
|
16
|
+
运行依赖在 [pyproject.toml](pyproject.toml) 维护,由 uv/pip 安装原发行包及其许可。当前直接依赖均采用 MIT:PyYAML、jsonschema、referencing、ruamel.yaml。传递依赖包括 attrs、jsonschema-specifications、rpds-py,以及适用 Python 版本上的 typing-extensions、ruamel.yaml.clib;保留各发行包携带的许可文件。
|
|
17
|
+
|
|
18
|
+
每次候选包验收在 `.tmp/` 的 `package-check.json` 中记录实际安装版本与依赖闭包。开发用 build、setuptools、mypy 和类型声明属于开发依赖,随各自发行包保留许可。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
trigrams_toolkit
|