monosmith-plugin-sdk 0.3.0__tar.gz → 0.4.0__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.
Potentially problematic release.
This version of monosmith-plugin-sdk might be problematic. Click here for more details.
- {monosmith_plugin_sdk-0.3.0/src/monosmith_plugin_sdk.egg-info → monosmith_plugin_sdk-0.4.0}/PKG-INFO +1 -1
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/pyproject.toml +1 -1
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/check_generation_use_case.py +2 -1
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/protocol/protocol_schema_contract.py +48 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/protocol/protocol_types_contract.py +49 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0/src/monosmith_plugin_sdk.egg-info}/PKG-INFO +1 -1
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/LICENSE +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/README.md +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/setup.cfg +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/build_dir/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/build_dir/build_dir_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/cancellation/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/cancellation/cancel_token_model.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/cancellation/request_cancelled_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/ci/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/ci/ci_contribution_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/encode_by_schema_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/encode_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/encode_json_value_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/message_parse_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/method_codec_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/normalize_by_schema_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/params_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/received_message_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/schema_lookup_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/wire_message_mapper.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/concurrency/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/concurrency/concurrency_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/check_kind_change_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/check_plugin_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/check_scheduling_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/conformance_report_model.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/find_manifests_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/conformance/go_list_mapper.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/framing/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/framing/frame_message_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/framing/frame_reader_store.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/framing/framing_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/call_interrupted_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/connect_plugin_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/host_options_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/plugin_client_client.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/start_plugin_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/jsondoc/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/jsondoc/indent_raw_json_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/jsondoc/json_document_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/jsondoc/json_document_model.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/jsondoc/scan_json_object_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/plugin_refs/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/plugin_refs/plugin_ref_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/plugin_roles/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/plugin_roles/plugin_role_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/audit_settings_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/manifest_match_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/project_kind_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/publishes_policy.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/set_toolchain_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/projects/stack_plugins_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/protocol/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/protocol/rpc_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/py.typed +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/scaffold/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/scaffold/scaffold_data_mapper.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/scaffold/scaffold_project_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/capabilities_of_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/claim_stdio_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/dispatch_request_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/frame_writer_store.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/initialize_plugin_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/plugin_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/plugin_members_config.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/protocol_streams_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/request_outcome_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/request_pool_store.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/serve_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/tasks/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/tasks/contribute_tasks_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/tasks/task_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/__init__.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/file_exists_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/parse_template_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/render_template_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/template_error.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/template_functions_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/template_syntax_contract.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/tokenize_action_algorithm.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/templating/write_templates_use_case.py +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk.egg-info/SOURCES.txt +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk.egg-info/dependency_links.txt +0 -0
- {monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk.egg-info/top_level.txt +0 -0
{monosmith_plugin_sdk-0.3.0/src/monosmith_plugin_sdk.egg-info → monosmith_plugin_sdk-0.4.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: monosmith-plugin-sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: The Python SDK for writing smith plugins: the protocol's types, the serve loop, a test host, the conformance checks, templating and key-order-keeping JSON editing. No runtime dependencies.
|
|
5
5
|
Author: Eduardo Russo
|
|
6
6
|
License-Expression: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "monosmith-plugin-sdk"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0"
|
|
8
8
|
description = "The Python SDK for writing smith plugins: the protocol's types, the serve loop, a test host, the conformance checks, templating and key-order-keeping JSON editing. No runtime dependencies."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -35,7 +35,8 @@ def check_generation(client: PluginClient, workspace: str | Path, report: Confor
|
|
|
35
35
|
"""
|
|
36
36
|
language = "language" in effective_roles(client.info)
|
|
37
37
|
made: list[GenerateParams] = []
|
|
38
|
-
|
|
38
|
+
declared = client.info.get("kinds") or []
|
|
39
|
+
kinds: tuple[ProjectKind, ...] = tuple(k for k in ("app", "lib", "package") if not declared or k in declared)
|
|
39
40
|
for kind in kinds:
|
|
40
41
|
name = f"c{kind}"
|
|
41
42
|
params: GenerateParams = {
|
|
@@ -654,6 +654,10 @@ _SCHEMA_JSON = r'''{
|
|
|
654
654
|
}
|
|
655
655
|
},
|
|
656
656
|
"description": "DependsOn adds dependencies to tasks the project already has, by task name ({\"lint\": [\"slice-check\"]})."
|
|
657
|
+
},
|
|
658
|
+
"release": {
|
|
659
|
+
"$ref": "#/$defs/ReleaseDefaults",
|
|
660
|
+
"description": "Release is how the project's release files are made, for a project that releases through GitHub releases and leaves them out of its smith.toml [projects.<name>.release] table; what the table sets wins."
|
|
657
661
|
}
|
|
658
662
|
}
|
|
659
663
|
},
|
|
@@ -1175,6 +1179,13 @@ _SCHEMA_JSON = r'''{
|
|
|
1175
1179
|
"$ref": "#/$defs/Stack"
|
|
1176
1180
|
},
|
|
1177
1181
|
"description": "Stacks are ready-made stacks the plugin publishes."
|
|
1182
|
+
},
|
|
1183
|
+
"kinds": {
|
|
1184
|
+
"type": "array",
|
|
1185
|
+
"items": {
|
|
1186
|
+
"$ref": "#/$defs/ProjectKind"
|
|
1187
|
+
},
|
|
1188
|
+
"description": "Kinds are the project kinds the plugin can scaffold with generate. Absent or empty means all three (app, lib and package): what every plugin that says nothing does. A plugin that scaffolds only some, such as an app, lists them, so the host offers and the conformance suite asks for just those."
|
|
1178
1189
|
}
|
|
1179
1190
|
},
|
|
1180
1191
|
"required": [
|
|
@@ -1639,6 +1650,43 @@ _SCHEMA_JSON = r'''{
|
|
|
1639
1650
|
"auth"
|
|
1640
1651
|
]
|
|
1641
1652
|
},
|
|
1653
|
+
"ReleaseDefaults": {
|
|
1654
|
+
"description": "ReleaseDefaults are release settings a plugin supplies for a project: the same fields as the release-from-a-command settings of smith.toml, used for the ones the project's table leaves out.",
|
|
1655
|
+
"type": "object",
|
|
1656
|
+
"properties": {
|
|
1657
|
+
"build": {
|
|
1658
|
+
"type": "string",
|
|
1659
|
+
"description": "Build is the shell command that makes the files, run at the workspace root on a runner of each platform."
|
|
1660
|
+
},
|
|
1661
|
+
"assets": {
|
|
1662
|
+
"type": "array",
|
|
1663
|
+
"items": {
|
|
1664
|
+
"type": "string"
|
|
1665
|
+
},
|
|
1666
|
+
"description": "Assets are workspace-relative globs of the files Build leaves."
|
|
1667
|
+
},
|
|
1668
|
+
"platforms": {
|
|
1669
|
+
"type": "array",
|
|
1670
|
+
"items": {
|
|
1671
|
+
"type": "string"
|
|
1672
|
+
},
|
|
1673
|
+
"description": "Platforms are the runner platforms (windows-x64, macos-arm64, macos-x64, linux-x64, linux-arm64)."
|
|
1674
|
+
},
|
|
1675
|
+
"assetName": {
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"description": "AssetName renames each file on upload; see the asset_name setting."
|
|
1678
|
+
},
|
|
1679
|
+
"checksums": {
|
|
1680
|
+
"type": "boolean",
|
|
1681
|
+
"description": "Checksums attaches a checksums file for the files a runner uploads."
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"required": [
|
|
1685
|
+
"build",
|
|
1686
|
+
"assets",
|
|
1687
|
+
"platforms"
|
|
1688
|
+
]
|
|
1689
|
+
},
|
|
1642
1690
|
"RemoveParams": {
|
|
1643
1691
|
"description": "RemoveParams tells a plugin a project is being removed. The host deletes the project's directory first; the plugin cleans what it owns outside it (a go.work entry, a lockfile, an installed package).",
|
|
1644
1692
|
"type": "object",
|
|
@@ -73,6 +73,7 @@ __all__ = [
|
|
|
73
73
|
"PublishedResult",
|
|
74
74
|
"Registries",
|
|
75
75
|
"Registry",
|
|
76
|
+
"ReleaseDefaults",
|
|
76
77
|
"RemoveParams",
|
|
77
78
|
"RemoveResult",
|
|
78
79
|
"Request",
|
|
@@ -413,6 +414,12 @@ class Contribution(TypedDict, total=False):
|
|
|
413
414
|
DependsOn adds dependencies to tasks the project already has, by task name ({"lint":
|
|
414
415
|
["slice-check"]}).
|
|
415
416
|
"""
|
|
417
|
+
release: ReleaseDefaults
|
|
418
|
+
"""
|
|
419
|
+
Release is how the project's release files are made, for a project that releases through
|
|
420
|
+
GitHub releases and leaves them out of its smith.toml [projects.<name>.release] table; what
|
|
421
|
+
the table sets wins.
|
|
422
|
+
"""
|
|
416
423
|
|
|
417
424
|
|
|
418
425
|
class _CredentialRequired(TypedDict):
|
|
@@ -758,6 +765,13 @@ class InitializeResult(_InitializeResultRequired, total=False):
|
|
|
758
765
|
"""Conflicts are plugins that must not be in the same project."""
|
|
759
766
|
stacks: list[Stack]
|
|
760
767
|
"""Stacks are ready-made stacks the plugin publishes."""
|
|
768
|
+
kinds: list[ProjectKind]
|
|
769
|
+
"""
|
|
770
|
+
Kinds are the project kinds the plugin can scaffold with generate. Absent or empty means all
|
|
771
|
+
three (app, lib and package): what every plugin that says nothing does. A plugin that
|
|
772
|
+
scaffolds only some, such as an app, lists them, so the host offers and the conformance suite
|
|
773
|
+
asks for just those.
|
|
774
|
+
"""
|
|
761
775
|
|
|
762
776
|
|
|
763
777
|
class Input(TypedDict):
|
|
@@ -1117,6 +1131,34 @@ class Registry(_RegistryRequired, total=False):
|
|
|
1117
1131
|
"""
|
|
1118
1132
|
|
|
1119
1133
|
|
|
1134
|
+
class _ReleaseDefaultsRequired(TypedDict):
|
|
1135
|
+
build: str
|
|
1136
|
+
"""
|
|
1137
|
+
Build is the shell command that makes the files, run at the workspace root on a runner of
|
|
1138
|
+
each platform.
|
|
1139
|
+
"""
|
|
1140
|
+
assets: list[str]
|
|
1141
|
+
"""Assets are workspace-relative globs of the files Build leaves."""
|
|
1142
|
+
platforms: list[str]
|
|
1143
|
+
"""
|
|
1144
|
+
Platforms are the runner platforms (windows-x64, macos-arm64, macos-x64, linux-x64,
|
|
1145
|
+
linux-arm64).
|
|
1146
|
+
"""
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
class ReleaseDefaults(_ReleaseDefaultsRequired, total=False):
|
|
1150
|
+
"""
|
|
1151
|
+
ReleaseDefaults are release settings a plugin supplies for a project: the same fields as the
|
|
1152
|
+
release-from-a-command settings of smith.toml, used for the ones the project's table leaves
|
|
1153
|
+
out.
|
|
1154
|
+
"""
|
|
1155
|
+
|
|
1156
|
+
assetName: str
|
|
1157
|
+
"""AssetName renames each file on upload; see the asset_name setting."""
|
|
1158
|
+
checksums: bool
|
|
1159
|
+
"""Checksums attaches a checksums file for the files a runner uploads."""
|
|
1160
|
+
|
|
1161
|
+
|
|
1120
1162
|
class _RemoveParamsRequired(TypedDict):
|
|
1121
1163
|
project: Project
|
|
1122
1164
|
|
|
@@ -1420,3 +1462,10 @@ class PluginDescription(_PluginDescriptionRequired, total=False):
|
|
|
1420
1462
|
"""Conflicts are plugins that must not be in the same project."""
|
|
1421
1463
|
stacks: list[Stack]
|
|
1422
1464
|
"""Stacks are ready-made stacks the plugin publishes."""
|
|
1465
|
+
kinds: list[ProjectKind]
|
|
1466
|
+
"""
|
|
1467
|
+
Kinds are the project kinds the plugin can scaffold with generate. Absent or empty means all
|
|
1468
|
+
three (app, lib and package): what every plugin that says nothing does. A plugin that
|
|
1469
|
+
scaffolds only some, such as an app, lists them, so the host offers and the conformance suite
|
|
1470
|
+
asks for just those.
|
|
1471
|
+
"""
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0/src/monosmith_plugin_sdk.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: monosmith-plugin-sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: The Python SDK for writing smith plugins: the protocol's types, the serve loop, a test host, the conformance checks, templating and key-order-keeping JSON editing. No runtime dependencies.
|
|
5
5
|
Author: Eduardo Russo
|
|
6
6
|
License-Expression: MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/ci/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/codec/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/host/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/serve/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{monosmith_plugin_sdk-0.3.0 → monosmith_plugin_sdk-0.4.0}/src/monosmith_plugin_sdk/tasks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|