muse-code-msp 1.3.0__tar.gz → 1.4.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.
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: muse-code-msp
3
+ Version: 1.4.2
4
+ Summary: Generated Python wire types for the Muse Session Protocol (MSP). No hand-written protocol types, ever.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/meta-models/muse-code-sdk
7
+ Project-URL: Repository, https://github.com/meta-models/muse-code-sdk
8
+ Project-URL: Issues, https://github.com/meta-models/muse-code-sdk/issues
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Typing :: Typed
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Dynamic: license-file
18
+
19
+ # `muse-code-msp`
20
+
21
+ Generated Python wire types for the Muse Session Protocol (MSP) — the
22
+ protocol a Muse Code agent host speaks over stdio.
23
+
24
+ **Every type in this package is generated from the MSP JSON Schema; nothing
25
+ is written by hand, ever.** A machine check keeps the generated code in
26
+ lockstep with the schema, so the types cannot drift from the protocol.
27
+
28
+ - `muse_code_msp` — the stable surface: a `TypedDict` for every schema
29
+ definition (open enums stay `str`, each with a `*_KNOWN_VALUES` tuple so
30
+ unknown values pass through instead of failing), plus the
31
+ method/notification/error tables and the schema-bundle fingerprint
32
+ constants.
33
+ - `muse_code_msp.experimental` — the experimental surface: explicit import
34
+ only, no stability promise.
35
+
36
+ Zero runtime dependencies. Python 3.10+. Fully typed (`py.typed`).
37
+
38
+ The hand-written client built on these types is
39
+ [`muse-code-sdk`](https://pypi.org/project/muse-code-sdk/).
40
+
41
+ ## Install
42
+
43
+ ```sh
44
+ pip install muse-code-msp
45
+ ```
46
+
47
+ ## Use
48
+
49
+ ```python
50
+ from muse_code_msp import (
51
+ NOTIFICATIONS,
52
+ REQUIRED_HOST_VERSION,
53
+ SCHEMA_FINGERPRINT,
54
+ TURN_TERMINAL_KNOWN_VALUES,
55
+ )
56
+
57
+ print(REQUIRED_HOST_VERSION) # the muse host version this build pairs with
58
+ print(SCHEMA_FINGERPRINT) # the stable-surface schema fingerprint
59
+ print(sorted(NOTIFICATIONS)[:3]) # wire notification methods
60
+ print(TURN_TERMINAL_KNOWN_VALUES) # an open enum's known values
61
+ ```
62
+
63
+ ## Documentation
64
+
65
+ - Guides, cookbook recipes, and the protocol reference:
66
+ <https://meta-models.github.io/muse-code-sdk/>
67
+ - Python API reference:
68
+ <https://meta-models.github.io/muse-code-sdk/next/generated/python/>
69
+ - Source and issues: <https://github.com/meta-models/muse-code-sdk>
@@ -0,0 +1,51 @@
1
+ # `muse-code-msp`
2
+
3
+ Generated Python wire types for the Muse Session Protocol (MSP) — the
4
+ protocol a Muse Code agent host speaks over stdio.
5
+
6
+ **Every type in this package is generated from the MSP JSON Schema; nothing
7
+ is written by hand, ever.** A machine check keeps the generated code in
8
+ lockstep with the schema, so the types cannot drift from the protocol.
9
+
10
+ - `muse_code_msp` — the stable surface: a `TypedDict` for every schema
11
+ definition (open enums stay `str`, each with a `*_KNOWN_VALUES` tuple so
12
+ unknown values pass through instead of failing), plus the
13
+ method/notification/error tables and the schema-bundle fingerprint
14
+ constants.
15
+ - `muse_code_msp.experimental` — the experimental surface: explicit import
16
+ only, no stability promise.
17
+
18
+ Zero runtime dependencies. Python 3.10+. Fully typed (`py.typed`).
19
+
20
+ The hand-written client built on these types is
21
+ [`muse-code-sdk`](https://pypi.org/project/muse-code-sdk/).
22
+
23
+ ## Install
24
+
25
+ ```sh
26
+ pip install muse-code-msp
27
+ ```
28
+
29
+ ## Use
30
+
31
+ ```python
32
+ from muse_code_msp import (
33
+ NOTIFICATIONS,
34
+ REQUIRED_HOST_VERSION,
35
+ SCHEMA_FINGERPRINT,
36
+ TURN_TERMINAL_KNOWN_VALUES,
37
+ )
38
+
39
+ print(REQUIRED_HOST_VERSION) # the muse host version this build pairs with
40
+ print(SCHEMA_FINGERPRINT) # the stable-surface schema fingerprint
41
+ print(sorted(NOTIFICATIONS)[:3]) # wire notification methods
42
+ print(TURN_TERMINAL_KNOWN_VALUES) # an open enum's known values
43
+ ```
44
+
45
+ ## Documentation
46
+
47
+ - Guides, cookbook recipes, and the protocol reference:
48
+ <https://meta-models.github.io/muse-code-sdk/>
49
+ - Python API reference:
50
+ <https://meta-models.github.io/muse-code-sdk/next/generated/python/>
51
+ - Source and issues: <https://github.com/meta-models/muse-code-sdk>
@@ -5,18 +5,18 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "muse-code-msp"
8
- version = "1.3.0"
9
- description = "Generated MSP wire types for Muse Code. No hand-written protocol types, ever (specs/638-muse-sdk-python INV-638-01)."
8
+ version = "1.4.2"
9
+ description = "Generated Python wire types for the Muse Session Protocol (MSP). No hand-written protocol types, ever."
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.10"
12
12
  license = "MIT"
13
13
  license-files = ["LICENSE"]
14
- # Zero runtime dependencies (INV-638-03): stdlib typing only.
14
+ # Zero runtime dependencies: stdlib typing only.
15
15
  dependencies = []
16
16
  classifiers = [
17
- # Alpha states the withheld promise: D-065 (ADR 29534 D1) permits the
18
- # publish, but D-013's stability promise and conformance claim stay
19
- # withheld — experimental surfaces may change (ADR 25304 D3).
17
+ # Alpha states the withheld promise: publication is permitted, but the
18
+ # stability promise and conformance claim stay withheld — experimental
19
+ # surfaces may change.
20
20
  "Development Status :: 3 - Alpha",
21
21
  "Intended Audience :: Developers",
22
22
  "Operating System :: OS Independent",
@@ -25,7 +25,7 @@ classifiers = [
25
25
  ]
26
26
 
27
27
  [project.urls]
28
- # The mirror is the one public venue (ADR 638 D6); a published manifest never
28
+ # The mirror is the one public venue; a published manifest never
29
29
  # names the private producer repository.
30
30
  Homepage = "https://github.com/meta-models/muse-code-sdk"
31
31
  Repository = "https://github.com/meta-models/muse-code-sdk"