-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathmanifest.toml
More file actions
177 lines (140 loc) · 5.94 KB
/
Copy pathmanifest.toml
File metadata and controls
177 lines (140 loc) · 5.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# examples/stories/manifest.toml
#
# test_manifest_matches_filesystem asserts [story.*] keys == story dirs with a client.py.
[defaults]
transports = ["in-memory", "http-asgi"] # in-memory = Client(server); http-asgi = StreamingASGITransport
era = "dual" # "dual" | "modern" | "legacy" | "dual-in-body"
status = "current" # "current" | "legacy" | "deprecated" — the feature's future, not the transport
lowlevel = true # also run main against server_lowlevel.build_server()/build_app()
server_export = "factory" # "factory" -> build_server() | "app" -> build_app()
multi_connection = false # main(target, ...) vs main(targets, ...); targets() -> fresh target per call
needs_http = false # main(..., http=) gets the raw httpx2.AsyncClient (http-asgi only)
timeout_s = 30
mcp_path = "/mcp"
fixed_port = 0 # `client --http` self-host port; 0 = an OS-assigned free port
xfail = [] # ["<transport>:<era>", ...] -> strict xfail on that leg
env = {} # env vars set for the leg via monkeypatch
# ───────────────────────────── start here ─────────────────────────────
[story.tools]
[story.prompts]
[story.resources]
[story.lifespan]
[story.dual_era]
era = "dual-in-body"
multi_connection = true
[story.streaming]
[story.mrtr]
era = "modern"
[story.legacy_elicitation]
era = "legacy"
status = "legacy"
[story.refund_desk]
# Resolver elicitation picks its transport per era: input_required round-trips on
# the modern leg, push elicitation (ctx.elicit) on the legacy one.
lowlevel = false
[story.sampling]
era = "legacy"
status = "deprecated"
[story.stickynotes]
[story.custom_methods]
lowlevel = false
[story.apps]
# Extension API is MCPServer-tier (Apps decorators + extensions=[...]); no lowlevel variant.
# The extensions capability map (SEP-2133) rides server/discover, a modern-only path, so
# `main` pins "auto" (legacy initialize cannot carry it) and the leg is http-asgi.
lowlevel = false
transports = ["in-memory", "http-asgi"]
era = "dual-in-body"
[story.extensions]
# Same constraints as `apps`: MCPServer-tier extension API, capability map rides
# server/discover (modern only), client guards the capability assert by presence.
lowlevel = false
transports = ["in-memory", "http-asgi"]
era = "dual-in-body"
[story.subscriptions]
# subscriptions/listen exists only on the 2026 wire, so there is no legacy leg.
# The listen request parks for the stream's lifetime; the client ends it by
# cancelling the awaiting scope (the spec's client-side close).
era = "modern"
[story.schema_validators]
[story.middleware]
# Lowlevel-only: `Server.middleware` is the one public hook (no MCPServer accessor yet).
lowlevel = false
[story.parallel_calls]
# A per-client fresh target over a real ASGI transport is harness machinery, not user
# code; the same client body works unchanged over HTTP.
transports = ["in-memory"]
multi_connection = true
[story.roots]
era = "legacy"
status = "deprecated"
[story.pagination]
[story.error_handling]
[story.serve_one]
# Lowlevel-only: the kernel drivers take a `lowlevel.Server`; `MCPServer` has no public
# accessor for its underlying one yet, so there is no MCPServer-tier variant to show.
transports = ["in-memory"]
lowlevel = false
[story.stateless_legacy]
transports = ["http-asgi"]
server_export = "app"
era = "dual-in-body"
multi_connection = true
[story.json_response]
transports = ["http-asgi"]
server_export = "app"
era = "modern"
needs_http = true
[story.legacy_routing]
transports = ["http-asgi"]
server_export = "app"
era = "dual-in-body"
multi_connection = true
[story.starlette_mount]
transports = ["http-asgi"]
server_export = "app"
lowlevel = false
mcp_path = "/api/"
[story.sse_polling]
transports = ["http-asgi"]
server_export = "app"
era = "legacy"
status = "legacy"
timeout_s = 20
# event_store.py is local; example-grade only (sequential IDs, no eviction).
[story.standalone_get]
transports = ["http-asgi"]
era = "legacy"
status = "legacy"
[story.reconnect]
transports = ["http-asgi"]
# Both connection modes are pinned inside main itself ("auto" to populate the discover
# cache, then a hard pin + prior_discover=); the leg hands it the real-user default.
era = "dual-in-body"
multi_connection = true
[story.bearer_auth]
transports = ["http-asgi"]
server_export = "app"
fixed_port = 8000 # issuer/PRM metadata bake in :8000
[story.oauth]
transports = ["http-asgi"]
server_export = "app"
multi_connection = true
fixed_port = 8000 # issuer/PRM metadata bake in :8000
env = { OAUTH_DEMO_AUTO_CONSENT = "1" }
[story.oauth_client_credentials]
transports = ["http-asgi"]
server_export = "app"
fixed_port = 8000 # issuer/PRM metadata bake in :8000
[story.identity_assertion]
transports = ["http-asgi"]
server_export = "app"
fixed_port = 8000 # issuer/PRM metadata bake in :8000
# ───────────────────────────── deferred ─────────────────────────────
# README-only placeholders; no client.py, not expanded into legs.
# test_manifest_matches_filesystem checks these match the README-only dirs.
[deferred]
caching = "client honouring + per-result override unlanded"
tasks = "SEP-2663 — tasks extension runtime (server-decided augmentation, CreateTaskResult)"
skills = "#2896 — SEP-2640"
events = "#2901 + #2896"