mainsequence 9.0.6.dev38__py3-none-any.whl → 9.0.6.dev40__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.
- agent_scaffold/skills/platform_operations/orchestration_and_releases/SKILL.md +10 -2
- mainsequence/server/__init__.py +1 -1
- mainsequence/server/caller_assertions.py +3 -7
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/METADATA +4 -5
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/RECORD +9 -9
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/WHEEL +0 -0
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/entry_points.txt +0 -0
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/licenses/LICENSE +0 -0
- {mainsequence-9.0.6.dev38.dist-info → mainsequence-9.0.6.dev40.dist-info}/top_level.txt +0 -0
|
@@ -91,8 +91,16 @@ the SDK or CodeRepository code.
|
|
|
91
91
|
|
|
92
92
|
Every file requires the backend-advertised `api_version`, a name, and resource
|
|
93
93
|
declarations. Use the current template for accepted fields and resource kinds.
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
A declaration owns its target. On the next push of the branch head, these
|
|
95
|
+
delete the target:
|
|
96
|
+
|
|
97
|
+
- removing the declaration or its file;
|
|
98
|
+
- a `scope` that excludes the branch's Environment.
|
|
99
|
+
|
|
100
|
+
Renaming a file or key deletes the old target and creates a new one, with new
|
|
101
|
+
UIDs and URLs. An invalid file deletes nothing. The branch's Harness Agent
|
|
102
|
+
stays while any workflow file declares a `harness_agent`, so moving its
|
|
103
|
+
declaration keeps the same Agent.
|
|
96
104
|
|
|
97
105
|
Do not hide important recurring schedules in ad hoc shell history or one-off manual commands.
|
|
98
106
|
|
mainsequence/server/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""Server-side platform integrations. Import integrations explicitly."""
|
|
@@ -11,14 +11,10 @@ from collections.abc import Callable
|
|
|
11
11
|
from dataclasses import dataclass
|
|
12
12
|
from urllib.parse import urlsplit
|
|
13
13
|
|
|
14
|
+
import jwt
|
|
14
15
|
import requests
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import jwt
|
|
18
|
-
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
|
|
19
|
-
from jwt import InvalidKeyError, InvalidTokenError
|
|
20
|
-
except ImportError as exc:
|
|
21
|
-
raise ImportError("Caller verification requires the mainsequence[server] extra.") from exc
|
|
16
|
+
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
|
|
17
|
+
from jwt import InvalidKeyError, InvalidTokenError
|
|
22
18
|
|
|
23
19
|
ASSERTION_HEADER = "X-MainSequence-Caller-Assertion"
|
|
24
20
|
ASSERTION_TYPE = "mainsequence-caller-assertion+jwt"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mainsequence
|
|
3
|
-
Version: 9.0.6.
|
|
3
|
+
Version: 9.0.6.dev40
|
|
4
4
|
Summary: Main Sequence SDK
|
|
5
5
|
Author-email: Main Sequence GmbH <dev@main-sequence.io>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -25,13 +25,12 @@ Requires-Dist: protobuf>=6.33.5
|
|
|
25
25
|
Requires-Dist: psutil
|
|
26
26
|
Requires-Dist: pydantic<3,>=2.11
|
|
27
27
|
Requires-Dist: pygments>=2.20.0
|
|
28
|
+
Requires-Dist: PyJWT[crypto]<3,>=2.10
|
|
28
29
|
Requires-Dist: pyyaml
|
|
29
30
|
Requires-Dist: requests>=2.33.0
|
|
30
31
|
Requires-Dist: structlog
|
|
31
32
|
Requires-Dist: typer
|
|
32
33
|
Requires-Dist: urllib3>=2.7.0
|
|
33
|
-
Provides-Extra: server
|
|
34
|
-
Requires-Dist: PyJWT[crypto]<3,>=2.10; extra == "server"
|
|
35
34
|
Dynamic: license-file
|
|
36
35
|
|
|
37
36
|
<p align="center">
|
|
@@ -75,7 +74,7 @@ Main package areas:
|
|
|
75
74
|
authentication, platform resources, and local CodeRepository operations
|
|
76
75
|
- `mainsequence.instrumentation` and `mainsequence.logconf`: SDK tracing and
|
|
77
76
|
logging integration
|
|
78
|
-
- `mainsequence.server`:
|
|
77
|
+
- `mainsequence.server`: server-side caller assertion verification
|
|
79
78
|
- `mainsequence.scaffold_skills`: reusable, version-pinned skill copying for
|
|
80
79
|
this SDK and extension libraries
|
|
81
80
|
|
|
@@ -148,7 +147,7 @@ another repository, use the explicitly scoped `filter_admin` path. See
|
|
|
148
147
|
[Resource releases](docs/knowledge/infrastructure/resource_releases.md) for
|
|
149
148
|
supported filters and examples.
|
|
150
149
|
|
|
151
|
-
|
|
150
|
+
The standard `mainsequence` installation includes PyJWT and cryptography for the
|
|
152
151
|
framework-independent [caller assertion verifier](docs/knowledge/server/caller_assertions.md).
|
|
153
152
|
Applications remain responsible for resource authorization and storage
|
|
154
153
|
operations.
|
|
@@ -6,7 +6,7 @@ agent_scaffold/skills/maintenance/bug_auditor/SKILL.md,sha256=CCKs7edyZ9RK-WtAgX
|
|
|
6
6
|
agent_scaffold/skills/maintenance/code_repository_maintenance/SKILL.md,sha256=pPsZaERlfokSJ6b6vLjpA5U0KuKxbOFzzcxOVW_ikiI,17935
|
|
7
7
|
agent_scaffold/skills/maintenance/metatables_transition/SKILL.md,sha256=PisgpytcksJnfZMS6aiPCmahsT3fm8DIwk_cefXA2qU,3759
|
|
8
8
|
agent_scaffold/skills/platform_operations/access_control_and_sharing/SKILL.md,sha256=o1rIlYAC7ejV7gKKf-BaglIZY1YkDO5Y27F6e2eK_94,8571
|
|
9
|
-
agent_scaffold/skills/platform_operations/orchestration_and_releases/SKILL.md,sha256=
|
|
9
|
+
agent_scaffold/skills/platform_operations/orchestration_and_releases/SKILL.md,sha256=_84nnJKl_w-JrcbiTIairbFf9ptoQvW5Y1kMxn_XzkU,16871
|
|
10
10
|
agent_scaffold/skills/sdk_code_repository_execution/SKILL.md,sha256=zly7MheB-Sjd0x6l_oPCOTBqkL2E4SSXwTlfSwdIPfQ,10196
|
|
11
11
|
mainsequence/__init__.py,sha256=70CbIo7ZG1mzi5uwkqDtVESunBE0RanHjeFg4ptfsA0,385
|
|
12
12
|
mainsequence/__main__.py,sha256=KuAP69uduS2ImrPIgNMzbGBRepZzjqvUONu5vFh4v4A,176
|
|
@@ -49,12 +49,12 @@ mainsequence/client/utils.py,sha256=fQur4p-ojLWTMcNWlYWx7uZKbGNEc4c2kJq1Wl_w070,
|
|
|
49
49
|
mainsequence/client/value_sets.py,sha256=7TA-mpuAd3hOduNgO1WTQQTuNOGaFgue-VqCsDWKaC8,6181
|
|
50
50
|
mainsequence/instrumentation/__init__.py,sha256=J_9XmfjprElvz0u2t9rTyJT0kFdyKpxdbkdQiaw28_U,316
|
|
51
51
|
mainsequence/instrumentation/utils.py,sha256=b-ihjSioAepeLfMpudM2SqCtvnxMqIXileHx3klBCQU,3377
|
|
52
|
-
mainsequence/server/__init__.py,sha256=
|
|
53
|
-
mainsequence/server/caller_assertions.py,sha256=
|
|
52
|
+
mainsequence/server/__init__.py,sha256=BHUAhtdWPDRdxX07NYO_6wrBv5mf0GsXflecO52PmUc,73
|
|
53
|
+
mainsequence/server/caller_assertions.py,sha256=hZW1pkkvQ9gaFL075bxUbbctTRrgMMQRTSc2Da0vKCM,9705
|
|
54
54
|
mainsequence/server/fastapi.py,sha256=tD1aVuJOgoBTu7H8bs9IldPNYRT4fhkr1leN3KZP1pI,10521
|
|
55
|
-
mainsequence-9.0.6.
|
|
56
|
-
mainsequence-9.0.6.
|
|
57
|
-
mainsequence-9.0.6.
|
|
58
|
-
mainsequence-9.0.6.
|
|
59
|
-
mainsequence-9.0.6.
|
|
60
|
-
mainsequence-9.0.6.
|
|
55
|
+
mainsequence-9.0.6.dev40.dist-info/licenses/LICENSE,sha256=b6Ecsk8wjsEby3lbSzdljR6hHiFGHBizt9iWV2p1c_I,1074
|
|
56
|
+
mainsequence-9.0.6.dev40.dist-info/METADATA,sha256=qtgjSWqmCAC819Qw7KGhUW9lv_HTqZ0O3Mv-5hDfcqo,7402
|
|
57
|
+
mainsequence-9.0.6.dev40.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
58
|
+
mainsequence-9.0.6.dev40.dist-info/entry_points.txt,sha256=XGAOq3-mF2lWWpeRJvoaWyMarRcK167mH1g124aGdUs,88
|
|
59
|
+
mainsequence-9.0.6.dev40.dist-info/top_level.txt,sha256=BFeblM_Q9q0cUWBvTxnfWcWQEHtf5XZi9nOS-Gdfwus,28
|
|
60
|
+
mainsequence-9.0.6.dev40.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|