nutria-plugin 0.6.1__tar.gz → 0.6.2__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.
Files changed (51) hide show
  1. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/CHANGELOG.md +7 -0
  2. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/PKG-INFO +3 -3
  3. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/README.md +2 -2
  4. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/index.md +1 -1
  5. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/manifest.md +1 -1
  6. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/python-api.md +1 -1
  7. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/quickstart.md +1 -1
  8. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/pyproject.toml +1 -1
  9. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/__init__.py +1 -1
  10. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/domains.py +2 -0
  11. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_capability_contracts.py +10 -0
  12. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/.github/workflows/publish.yml +0 -0
  13. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/.gitignore +0 -0
  14. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/admin-extensions.md +0 -0
  15. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/admin-flows.md +0 -0
  16. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/capability-authoring.md +0 -0
  17. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/cli.md +0 -0
  18. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/connection-types.md +0 -0
  19. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/migration-6.0.md +0 -0
  20. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/reviewable-actions.md +0 -0
  21. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/security.md +0 -0
  22. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/docs/skill-format.md +0 -0
  23. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/examples/my-first-plugin/README.md +0 -0
  24. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/examples/my-first-plugin/hooks/hooks.json +0 -0
  25. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/examples/my-first-plugin/plugin.json +0 -0
  26. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/examples/my-first-plugin/settings.schema.json +0 -0
  27. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/bundle.py +0 -0
  28. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/capabilities.py +0 -0
  29. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/cli.py +0 -0
  30. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/hierarchy.py +0 -0
  31. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/manifest.py +0 -0
  32. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/mcp_results.py +0 -0
  33. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/migrate.py +0 -0
  34. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/operation_facts.py +0 -0
  35. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/packaging.py +0 -0
  36. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/prepared_preview.py +0 -0
  37. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/signing.py +0 -0
  38. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/src/nutria_plugin/skills.py +0 -0
  39. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/__init__.py +0 -0
  40. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_bundle.py +0 -0
  41. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_cli.py +0 -0
  42. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_contract_vnext.py +0 -0
  43. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_hierarchy.py +0 -0
  44. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_manifest.py +0 -0
  45. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_mcp_results.py +0 -0
  46. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_packaging.py +0 -0
  47. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_prepared_preview.py +0 -0
  48. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_reviewable_actions.py +0 -0
  49. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_signing.py +0 -0
  50. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/tests/test_skill_format_docs.py +0 -0
  51. {nutria_plugin-0.6.1 → nutria_plugin-0.6.2}/uv.lock +0 -0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ Additive.
6
+
7
+ - Add the `external` capability domain (label "Servicios externos") for capabilities generated from client-connected
8
+ MCP servers that no plugin describes.
9
+
3
10
  ## 0.6.1
4
11
 
5
12
  Additive; manifests that do not use the new field are unchanged.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nutria-plugin
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: SDK for building, validating, signing, and packaging Nutria plugins
5
5
  Project-URL: Homepage, https://github.com/AlRos14/nutria-plugin-sdk
6
6
  Project-URL: Repository, https://github.com/AlRos14/nutria-plugin-sdk
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
22
22
 
23
23
  SDK for building, validating, signing, and packaging Nutria plugins.
24
24
 
25
- Release `0.6.1` accepts only manifest schema `6.0`. Capabilities use their real
25
+ Release `0.6.2` accepts only manifest schema `6.0`. Capabilities use their real
26
26
  business effect (`read`, `write`, or `external_write`); preparation is expressed
27
27
  by producing `prepared_action`, not by a workflow-phase effect. Every parsed
28
28
  requirement resolves `task_context` to `required`, `optional`, or `forbidden`,
@@ -35,7 +35,7 @@ and exact delivery of an approved snapshot.
35
35
  ## Install
36
36
 
37
37
  ```bash
38
- uv add nutria-plugin==0.6.1
38
+ uv add nutria-plugin==0.6.2
39
39
  ```
40
40
 
41
41
  ## Scaffold and validate
@@ -2,7 +2,7 @@
2
2
 
3
3
  SDK for building, validating, signing, and packaging Nutria plugins.
4
4
 
5
- Release `0.6.1` accepts only manifest schema `6.0`. Capabilities use their real
5
+ Release `0.6.2` accepts only manifest schema `6.0`. Capabilities use their real
6
6
  business effect (`read`, `write`, or `external_write`); preparation is expressed
7
7
  by producing `prepared_action`, not by a workflow-phase effect. Every parsed
8
8
  requirement resolves `task_context` to `required`, `optional`, or `forbidden`,
@@ -15,7 +15,7 @@ and exact delivery of an approved snapshot.
15
15
  ## Install
16
16
 
17
17
  ```bash
18
- uv add nutria-plugin==0.6.1
18
+ uv add nutria-plugin==0.6.2
19
19
  ```
20
20
 
21
21
  ## Scaffold and validate
@@ -1,6 +1,6 @@
1
1
  # nutria-plugin SDK documentation
2
2
 
3
- Developer reference for SDK `0.6.1` and manifest schema `6.0`.
3
+ Developer reference for SDK `0.6.2` and manifest schema `6.0`.
4
4
 
5
5
  | Document | Purpose |
6
6
  |---|---|
@@ -1,7 +1,7 @@
1
1
  # plugin.json manifest reference
2
2
 
3
3
  `plugin.json` is the single source of truth for plugin identity, runtime,
4
- capability authority, prepared-action provider defaults, and provider topology. SDK 0.6.1 accepts exactly schema
4
+ capability authority, prepared-action provider defaults, and provider topology. SDK 0.6.2 accepts exactly schema
5
5
  `6.0`; older schemas and unknown fields fail validation.
6
6
 
7
7
  ## Required top-level fields
@@ -1,6 +1,6 @@
1
1
  # Python API reference
2
2
 
3
- SDK 0.6.1 exposes the strict schema 6.0 API.
3
+ SDK 0.6.2 exposes the strict schema 6.0 API.
4
4
 
5
5
  ```python
6
6
  from nutria_plugin import (
@@ -3,7 +3,7 @@
3
3
  ## Install and scaffold
4
4
 
5
5
  ```bash
6
- uv add nutria-plugin==0.6.1
6
+ uv add nutria-plugin==0.6.2
7
7
  nutria-plugin new inventory-lookup --name "Inventory Lookup"
8
8
  ```
9
9
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nutria-plugin"
7
- version = "0.6.1"
7
+ version = "0.6.2"
8
8
  description = "SDK for building, validating, signing, and packaging Nutria plugins"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -15,7 +15,7 @@ Signing:
15
15
  generate_keypair, sign_manifest, verify_manifest, SignatureStatus
16
16
  """
17
17
 
18
- __version__ = "0.6.1"
18
+ __version__ = "0.6.2"
19
19
 
20
20
  from .capabilities import (
21
21
  CapabilityDescriptor,
@@ -15,6 +15,7 @@ class CapabilityDomain(str, Enum):
15
15
  MRW = "mrw"
16
16
  TRELLO = "trello"
17
17
  TASKS = "tasks"
18
+ EXTERNAL = "external"
18
19
 
19
20
 
20
21
  DOMAIN_LABELS: dict[CapabilityDomain, str] = {
@@ -25,6 +26,7 @@ DOMAIN_LABELS: dict[CapabilityDomain, str] = {
25
26
  CapabilityDomain.MRW: "MRW",
26
27
  CapabilityDomain.TRELLO: "Trello",
27
28
  CapabilityDomain.TASKS: "Tareas",
29
+ CapabilityDomain.EXTERNAL: "Servicios externos",
28
30
  }
29
31
 
30
32
  CAPABILITY_DOMAIN_IDS = frozenset(domain.value for domain in CapabilityDomain)
@@ -284,3 +284,13 @@ def test_resource_input_requires_world_resource_origin():
284
284
  "accepted_origins": ["current_user"],
285
285
  }
286
286
  )
287
+
288
+
289
+ def test_external_domain_is_part_of_the_stable_registry() -> None:
290
+ from nutria_plugin import CAPABILITY_DOMAIN_IDS, DOMAIN_LABELS
291
+
292
+ assert "external" in CAPABILITY_DOMAIN_IDS
293
+ assert DOMAIN_LABELS["external"] == "Servicios externos"
294
+ assert CapabilityDescriptor.model_validate(_capability(domains=["external"], **_safety_contracts())).domains == [
295
+ "external"
296
+ ]
File without changes
File without changes
File without changes