ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / extensions / copilot / docs / monitoring / otel-data-flow.html 549 строк · изменён 14 нояб., 04:52
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
<! DOCTYPE html >
< html lang = " en" >
< head>
< meta charset = " UTF-8" >
< meta name = " viewport" content = " width=device-width, initial-scale=1.0" >
< title> OTel Data Flow — All Agents</ title>
< style>
* { box-sizing : border-box; margin
-apple-system BlinkMacSystemFont Roboto monospace
normal
flex wrap
flex center
auto
default
inherit
none
solid
grid auto-fit
solid
flex
solid none pointer
solid relative
solid
none
block
OTel Data Flow — VS Code Copilot Chat Extension
Complete tracing architecture for foreground agent, CLI background agent, and CLI terminal
Provider A (Extension NodeOTelService)
Provider B (SDK BasicTracerProvider)
Bridge SpanProcessor
Debug Panel Consumer
External Exporter
Synthetic Spans (ext-created)
Overview (All Agents)
Foreground Agent
CLI Background
CLI Terminal
VS Code Extension Host Process
Provider A: NodeOTelService
Registered at extension activation
tracer A (stored ref, survives override)
service.name = "copilot-chat"
Emitters: onDidCompleteSpan, onDidEmitSpanEvent
Provider B: SDK BasicTracerProvider
Created by OtelLifecycle.initializeOtelSdk()
Replaces Provider A as global
service.name = "github-copilot"
SpanProcessors: BatchSP + BridgeSP
CopilotCliBridgeSpanProcessor
Added to Provider B after trackSession()
Maps traceId → sessionId, injects CHAT_SESSION_ID
Filters: only forwards registered traceIds
Foreground Agent
toolCallingLoop.ts → chatMLFetcher.ts
Uses tracer A (Provider A)
invoke_agent → chat → execute_tool
CLI Background Agent
OtelSessionTracker (SDK native)
Uses tracer B (Provider B / global)
invoke_agent → chat → execute_tool
+ subagents, permissions, hooks
CLI Extension Wrapper
copilotcliSession.ts
invoke_agent copilotcli (tracer A)
CLI Terminal Process
Separate terminal process
Full SDK OTel (independent traces)
OTelChatDebugLogProvider
Listens: onDidCompleteSpan
Buckets by copilot_chat.chat_session_id
Feeds: Agent Debug Log panel UI
ChatDebugFileLoggerService
Listens: onDidCompleteSpan
Writes: debug-logs/ /main.jsonl
OTLP Exporter (Provider A)
BatchSpanProcessor → HTTP/gRPC endpoint
Exports foreground + CLI wrapper spans
OTLP Exporter (Provider B)
BatchSpanProcessor → same HTTP endpoint
Exports SDK native spans
Grafana / Jaeger / Collector
Receives all spans from all exporters
Shows full trace hierarchy
onDidCompleteSpan
BatchSpanProcessor
injectCompletedSpan()
onEnd()
traceparent
env vars
independent traces
resolveOTelConfig()
Settings: github.copilot.chat.otel.*
Env: COPILOT_OTEL_*, OTEL_EXPORTER_*
Kill switch: telemetry.telemetryLevel=off
OTelConfig
Foreground Agent — Provider A Only
All spans created by tracer A (extension's NodeOTelService)
Span Hierarchy (tracer A)
invoke_agent copilot (INTERNAL) — toolCallingLoop.ts
chat gpt-4o (CLIENT) — chatMLFetcher.ts
execute_tool readFile (INTERNAL) — toolsService.ts
execute_tool runCommand (INTERNAL) — toolsService.ts
chat gpt-4o (CLIENT) — chatMLFetcher.ts
execute_tool runSubagent (INTERNAL) — toolsService.ts
invoke_agent Explore (INTERNAL) — toolCallingLoop.ts
All spans have copilot_chat.chat_session_id
NodeOTelService
Provider A tracer
onDidCompleteSpan
Debug Panel ✅
OTLP → Grafana ✅
✅ Fully working
Same spans in debug panel and Grafana
CLI Background Agent — Two Providers (Bridge Architecture)
Extension root span (tracer A) + SDK native spans (tracer B) + Bridge for debug panel
Extension Root (tracer A)
invoke_agent copilotcli — copilotcliSession.ts
CHAT_SESSION_ID ✅ | CONVERSATION_ID ✅ | SESSION_ID ✅
↓ traceparent = 00-{traceId}-{spanId}-01
↓ via otelLifecycle.updateParentTraceContext()
SDK spans inherit this traceId → same trace in Grafana ✅
SDK Native Spans (tracer B, same traceId)
invoke_agent (CLIENT) — OtelSessionTracker
chat claude-opus-4.6-1m (CLIENT)
execute_tool report_intent
execute_tool task
invoke_agent explore (SUBAGENT!)
execute_tool grep + permission
chat claude-opus-4.6-1m (final response)
Bridge injects copilot_chat.chat_session_id on each span
✅ All spans reach debug panel via bridge
Provider B (SDK)
BatchSpanProcessor → OTLP
BridgeSpanProcessor → ext (injected)
BridgeSpanProcessor ✅
Injected via internal _spanProcessors
ProxyTP._delegate._activeSpanProcessor._spanProcessors.push()
NodeOTelService (Provider A)
injectCompletedSpan → fire event
Debug Panel ✅ (full hierarchy)
onDidCompleteSpan
OTLP → Grafana ✅
HOW: Bridge injection via OTel v2 internals
1. api.trace.getTracerProvider() → ProxyTracerProvider
2. ._delegate → BasicTracerProvider
3. ._activeSpanProcessor → MultiSpanProcessor
4. ._spanProcessors.push(bridge) — same pattern SDK uses in forceFlush()
✅ Full data flow working
• Grafana: full hierarchy via Provider B → BatchSpanProcessor → OTLP
• Debug Panel: full hierarchy via Provider B → Bridge → injectCompletedSpan → onDidCompleteSpan
• Trace context: SDK spans are children of extension root span (traceparent propagation)
CLI Terminal — Separate Process, Independent Traces
Extension only forwards env vars. No bridge. No debug panel visibility.
Extension (at terminal creation)
deriveCopilotCliOTelEnv(config, {})
→ TerminalOptions.env
env vars
Terminal Process (copilot binary)
Own OtelLifecycle + BasicTracerProvider
service.name = "github-copilot"
invoke_agent → chat → execute_tool
Independent root traceId
No CHAT_SESSION_ID (not needed)
Grafana ✅
Debug Panel ❌
Separate process — spans
never reach extension
Key Design Facts
Two TracerProviders in the Same Process
Provider A ( NodeOTelService ): Created at extension activation. Stores tracer ref. Serves foreground agent and the CLI wrapper span.
Provider B ( BasicTracerProvider ): Created by SDK's OtelLifecycle.initializeOtelSdk() . Replaces A as global. Serves all SDK-native spans.
Provider A's stored this._tracer still works after override — OTel tracers are bound to their provider at creation time.
Bridge SpanProcessor
Injected into Provider B via internal _spanProcessors.push()
Converts ReadableSpan → ICompletedSpanData
Injects copilot_chat.chat_session_id from traceId → sessionId map
Filters : only forwards spans whose traceId is registered (CLI sessions)
Fires IOTelService.injectCompletedSpan() → onDidCompleteSpan
Trace Context Propagation
Extension root span → traceparent = 00-{traceId}-{spanId}-01
Passed to SDK via otelLifecycle.updateParentTraceContext(sessionId, traceparent)
SDK spans inherit the extension's traceId → same trace in Grafana
Bridge matches traceId → injects CHAT_SESSION_ID → debug panel buckets correctly
Debug Panel Data Path
Foreground : tracer A → TrackedSpanHandle.end() → _onDidCompleteSpan.fire()
CLI background : tracer B → Bridge.onEnd() → injectCompletedSpan() → _onDidCompleteSpan.fire()
CLI terminal : N/A (separate process, no debug panel visibility)
Both consumers: OTelChatDebugLogProvider (trajectory) and ChatDebugFileLoggerService (file)
service.name Values
copilot-chat — Extension Provider A spans (foreground and CLI wrapper)
github-copilot — SDK Provider B spans (CLI native), CLI terminal
What Goes Where
Grafana : Everything from all OTLP exporters (Provider A + B + terminal)
Debug Panel : Only spans that fire onDidCompleteSpan with copilot_chat.chat_session_id
File Logger : Same as debug panel (listens to same event)
:
0
;
padding
:
0
;
}
body
{
font-family
:
,
,
'Segoe UI'
,
,
;
background
:
#0d1117
;
color
:
#c9d1d9
;
padding
:
24
px
;
}
h1
{
color
:
#58a6ff
;
margin-bottom
:
8
px
;
font-size
:
20
px
;
}
h2
{
color
:
#8b949e
;
font-size
:
14
px
;
margin-bottom
:
24
px
;
font-weight
:
;
}
.legend
{
display
:
;
gap
:
20
px
;
flex-wrap
:
;
margin-bottom
:
20
px
;
font-size
:
12
px
;
}
.legend-item
{
display
:
;
align-items
:
;
gap
:
6
px
;
}
.legend-swatch
{
width
:
14
px
;
height
:
14
px
;
border-radius
:
3
px
;
}
svg
{
width
:
100
%
;
height
:
;
}
.node
{
cursor
:
;
}
.node rect
{
rx
:
6
;
ry
:
6
;
stroke-width
:
1.5
;
}
.node text
{
font-family
:
;
font-size
:
11
px
;
fill
:
#c9d1d9
;
}
.node .label
{
font-weight
:
600
;
font-size
:
12
px
;
}
.node .sub
{
font-size
:
10
px
;
fill
:
#8b949e
;
}
.provider-a rect
{
fill
:
#1a2332
;
stroke
:
#58a6ff
;
}
.provider-b rect
{
fill
:
#1a2a1a
;
stroke
:
#3fb950
;
}
.provider-none rect
{
fill
:
#2a1a2a
;
stroke
:
#bc8cff
;
}
.debug-panel rect
{
fill
:
#2a2218
;
stroke
:
#d29922
;
}
.exporter rect
{
fill
:
#2a1a1a
;
stroke
:
#f85149
;
}
.process rect
{
fill
:
#1a1a2a
;
stroke
:
#8b949e
;
}
.bridge rect
{
fill
:
#1a2a2a
;
stroke
:
#39d353
;
}
.arrow
{
stroke-width
:
1.5
;
fill
:
;
marker-end
:
url ( #arrowhead)
;
}
.arrow-data
{
stroke
:
#58a6ff
;
}
.arrow-bridge
{
stroke
:
#39d353
;
stroke-dasharray
:
6
,
3
;
}
.arrow-export
{
stroke
:
#f85149
;
}
.arrow-env
{
stroke
:
#d29922
;
stroke-dasharray
:
3
,
3
;
}
.arrow-context
{
stroke
:
#bc8cff
;
stroke-dasharray
:
8
,
4
;
}
.section
{
margin-top
:
32
px
;
}
.section h3
{
color
:
#58a6ff
;
font-size
:
16
px
;
margin-bottom
:
12
px
;
border-bottom
:
1
px
#21262d
;
padding-bottom
:
8
px
;
}
.info-grid
{
display
:
;
grid-template-columns
:
repeat
(
,
minmax
(
320
px
,
1
fr
)
)
;
gap
:
16
px
;
margin-top
:
16
px
;
}
.info-card
{
background
:
#161b22
;
border
:
1
px
#30363d
;
border-radius
:
8
px
;
padding
:
16
px
;
}
.info-card h4
{
color
:
#58a6ff
;
margin-bottom
:
8
px
;
font-size
:
13
px
;
}
.info-card p, .info-card li
{
font-size
:
12
px
;
line-height
:
1.6
;
color
:
#8b949e
;
}
.info-card ul
{
padding-left
:
16
px
;
}
.info-card code
{
background
:
#21262d
;
padding
:
1
px
5
px
;
border-radius
:
3
px
;
color
:
#c9d1d9
;
font-size
:
11
px
;
}
.tab-bar
{
display
:
;
gap
:
2
px
;
margin-bottom
:
0
;
}
.tab
{
padding
:
8
px
16
px
;
background
:
#161b22
;
border
:
1
px
#30363d
;
border-bottom
:
;
border-radius
:
6
px
6
px
0
0
;
cursor
:
;
font-size
:
12
px
;
color
:
#8b949e
;
}
.tab .active
{
background
:
#0d1117
;
color
:
#58a6ff
;
border-color
:
#58a6ff
;
border-bottom
:
1
px
#0d1117
;
position
:
;
z-index
:
1
;
}
.tab-content
{
border
:
1
px
#30363d
;
border-radius
:
0
6
px
6
px
6
px
;
padding
:
0
;
background
:
#0d1117
;
}
.tab-pane
{
display
:
;
}
.tab-pane .active
{
display
:
;
}
</ style>
</ head>
< body>
< h1>
</ h1>
< h2>
</ h2>
< div class = " legend" >
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #1a2332 ; border : 1.5 px solid #58a6ff " >
</ div>
</ div>
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #1a2a1a ; border : 1.5 px solid #3fb950 " >
</ div>
</ div>
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #1a2a2a ; border : 1.5 px solid #39d353 " >
</ div>
</ div>
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #2a2218 ; border : 1.5 px solid #d29922 " >
</ div>
</ div>
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #2a1a1a ; border : 1.5 px solid #f85149 " >
</ div>
</ div>
< div class = " legend-item" >
< div class = " legend-swatch" style = " background : #2a1a2a ; border : 1.5 px solid #bc8cff " >
</ div>
</ div>
</ div>
< div class = " tab-bar" >
< div class = " tab active" onclick = " switchTab ( 'overview' ) " >
</ div>
< div class = " tab" onclick = " switchTab ( 'foreground' ) " >
</ div>
< div class = " tab" onclick = " switchTab ( 'cli-bg' ) " >
</ div>
< div class = " tab" onclick = " switchTab ( 'cli-term' ) " >
</ div>
</ div>
< div class = " tab-content" >
< div class = " tab-pane active" id = " tab-overview" >
< svg viewBox = " 0 0 1100 720" xmlns = " http://www.w3.org/2000/svg" >
< defs>
< marker id = " arrowhead" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #8b949e" />
</ marker>
< marker id = " ah-blue" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #58a6ff" />
</ marker>
< marker id = " ah-green" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #39d353" />
</ marker>
< marker id = " ah-red" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #f85149" />
</ marker>
< marker id = " ah-yellow" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #d29922" />
</ marker>
< marker id = " ah-purple" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #bc8cff" />
</ marker>
</ defs>
< rect x = " 10" y = " 10" width = " 850" height = " 700" rx = " 10" fill = " none" stroke = " #30363d" stroke-dasharray = " 8,4" />
< text x = " 24" y = " 32" fill = " #8b949e" font-size = " 11" font-family = " monospace" >
</ text>
< g class = " node provider-a" transform = " translate(30,50)" >
< rect width = " 260" height = " 90" />
< text x = " 12" y = " 20" class = " label" fill = " #58a6ff" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
< text x = " 12" y = " 80" class = " sub" >
</ text>
</ g>
< g class = " node provider-b" transform = " translate(30,170)" >
< rect width = " 260" height = " 90" />
< text x = " 12" y = " 20" class = " label" fill = " #3fb950" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
< text x = " 12" y = " 80" class = " sub" >
</ text>
</ g>
< g class = " node bridge" transform = " translate(30,290)" >
< rect width = " 260" height = " 70" />
< text x = " 12" y = " 20" class = " label" fill = " #39d353" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
</ g>
< g class = " node provider-a" transform = " translate(340,50)" >
< rect width = " 220" height = " 70" />
< text x = " 12" y = " 20" class = " label" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
</ g>
< g class = " node provider-b" transform = " translate(340,150)" >
< rect width = " 220" height = " 90" />
< text x = " 12" y = " 20" class = " label" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
< text x = " 12" y = " 80" class = " sub" >
</ text>
</ g>
< g class = " node provider-a" transform = " translate(340,270)" >
< rect width = " 220" height = " 55" />
< text x = " 12" y = " 20" class = " label" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
</ text>
</ g>
< g class = " node process" transform = " translate(340,540)" >
< rect width = " 220" height = " 55" />
< text x = " 12" y = " 20" class = " label" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
</ text>
</ g>
< g class = " node debug-panel" transform = " translate(620,50)" >
< rect width = " 230" height = " 70" />
< text x = " 12" y = " 20" class = " label" fill = " #d29922" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
</ g>
< g class = " node debug-panel" transform = " translate(620,150)" >
< rect width = " 230" height = " 55" />
< text x = " 12" y = " 20" class = " label" fill = " #d29922" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
< sessionId>
</ text>
</ g>
< g class = " node exporter" transform = " translate(620,240)" >
< rect width = " 230" height = " 55" />
< text x = " 12" y = " 20" class = " label" fill = " #f85149" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
</ text>
</ g>
< g class = " node exporter" transform = " translate(620,325)" >
< rect width = " 230" height = " 55" />
< text x = " 12" y = " 20" class = " label" fill = " #f85149" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
</ text>
</ g>
< g class = " node exporter" transform = " translate(620,420)" >
< rect width = " 230" height = " 55" />
< text x = " 12" y = " 20" class = " label" fill = " #f85149" >
</ text>
< text x = " 12" y = " 36" class = " sub" >
</ text>
< text x = " 12" y = " 50" class = " sub" >
</ text>
</ g>
< path d = " M 290,95 L 310,85 Q 615,55 620,85" class = " arrow arrow-data" marker-end = " url(#ah-blue)" />
< text x = " 390" y = " 48" fill = " #58a6ff" font-size = " 9" >
</ text>
< path d = " M 290,110 L 615,175" class = " arrow arrow-data" marker-end = " url(#ah-blue)" />
< path d = " M 290,130 Q 450,260 620,267" class = " arrow arrow-export" marker-end = " url(#ah-red)" />
< text x = " 420" y = " 228" fill = " #f85149" font-size = " 9" >
</ text>
< path d = " M 290,325 Q 600,290 620,85" class = " arrow arrow-bridge" marker-end = " url(#ah-green)" />
< text x = " 470" y = " 160" fill = " #39d353" font-size = " 9" >
</ text>
< path d = " M 290,215 Q 450,330 620,350" class = " arrow arrow-export" marker-end = " url(#ah-red)" />
< path d = " M 160,260 L 160,290" class = " arrow arrow-bridge" marker-end = " url(#ah-green)" />
< text x = " 165" y = " 278" fill = " #39d353" font-size = " 9" >
</ text>
< path d = " M 735,295 L 735,420" class = " arrow arrow-export" marker-end = " url(#ah-red)" />
< path d = " M 755,380 L 755,420" class = " arrow arrow-export" marker-end = " url(#ah-red)" />
< path d = " M 450,325 L 450,240" class = " arrow arrow-context" marker-end = " url(#ah-purple)" />
< text x = " 455" y = " 285" fill = " #bc8cff" font-size = " 9" >
</ text>
< path d = " M 290,355 Q 320,540 340,565" class = " arrow arrow-env" marker-end = " url(#ah-yellow)" />
< text x = " 265" y = " 480" fill = " #d29922" font-size = " 9" >
</ text>
< path d = " M 560,565 Q 750,540 750,475" class = " arrow arrow-export" marker-end = " url(#ah-red)" />
< text x = " 630" y = " 530" fill = " #f85149" font-size = " 9" >
</ text>
< g class = " node" transform = " translate(30,630)" >
< rect width = " 260" height = " 70" fill = " #161b22" stroke = " #30363d" rx = " 6" />
< text x = " 12" y = " 20" class = " label" fill = " #8b949e" >
</ text>
< text x = " 12" y = " 38" class = " sub" >
</ text>
< text x = " 12" y = " 52" class = " sub" >
</ text>
< text x = " 12" y = " 66" class = " sub" >
</ text>
</ g>
< path d = " M 160,630 L 160,360" class = " arrow arrow-env" marker-end = " url(#ah-yellow)" />
< text x = " 85" y = " 500" fill = " #d29922" font-size = " 9" >
</ text>
< path d = " M 200,630 Q 310,600 350,540" class = " arrow arrow-env" marker-end = " url(#ah-yellow)" />
< path d = " M 220,630 Q 320,580 350,510" class = " arrow arrow-env" marker-end = " url(#ah-yellow)" />
</ svg>
</ div>
< div class = " tab-pane" id = " tab-foreground" >
< svg viewBox = " 0 0 900 380" xmlns = " http://www.w3.org/2000/svg" >
< defs>
< marker id = " ah2-blue" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #58a6ff" />
</ marker>
< marker id = " ah2-red" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #f85149" />
</ marker>
</ defs>
< text x = " 20" y = " 24" fill = " #58a6ff" font-size = " 14" font-weight = " 600" >
</ text>
< text x = " 20" y = " 42" fill = " #8b949e" font-size = " 11" >
</ text>
< g transform = " translate(30,60)" >
< rect x = " 0" y = " 0" width = " 400" height = " 280" rx = " 8" fill = " #161b22" stroke = " #30363d" />
< text x = " 12" y = " 20" fill = " #58a6ff" font-size = " 12" font-weight = " 600" >
</ text>
< rect x = " 16" y = " 34" width = " 370" height = " 24" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 24" y = " 50" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 32" y = " 66" width = " 345" height = " 24" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 40" y = " 82" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 48" y = " 98" width = " 320" height = " 22" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 56" y = " 113" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 48" y = " 128" width = " 320" height = " 22" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 56" y = " 143" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 32" y = " 160" width = " 345" height = " 24" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 40" y = " 176" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 48" y = " 192" width = " 320" height = " 22" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 56" y = " 207" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 64" y = " 222" width = " 305" height = " 24" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 72" y = " 238" fill = " #c9d1d9" font-size = " 10" >
</ text>
< text x = " 16" y = " 270" fill = " #8b949e" font-size = " 10" >
</ text>
</ g>
< g transform = " translate(460,60)" >
< rect x = " 0" y = " 0" width = " 200" height = " 50" rx = " 6" fill = " #1a2332" stroke = " #58a6ff" />
< text x = " 12" y = " 20" fill = " #58a6ff" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 12" y = " 38" fill = " #8b949e" font-size = " 10" >
</ text>
< path d = " M 100,50 L 100,90" stroke = " #58a6ff" stroke-width = " 1.5" marker-end = " url(#ah2-blue)" />
< text x = " 110" y = " 75" fill = " #58a6ff" font-size = " 9" >
</ text>
< rect x = " 0" y = " 90" width = " 200" height = " 40" rx = " 6" fill = " #2a2218" stroke = " #d29922" />
< text x = " 12" y = " 115" fill = " #d29922" font-size = " 11" >
</ text>
< path d = " M 100,50 L 250,90" stroke = " #f85149" stroke-width = " 1.5" marker-end = " url(#ah2-red)" />
< rect x = " 210" y = " 90" width = " 200" height = " 40" rx = " 6" fill = " #2a1a1a" stroke = " #f85149" />
< text x = " 222" y = " 115" fill = " #f85149" font-size = " 11" >
</ text>
< text x = " 0" y = " 170" fill = " #3fb950" font-size = " 12" font-weight = " 600" >
</ text>
< text x = " 0" y = " 188" fill = " #8b949e" font-size = " 10" >
</ text>
</ g>
</ svg>
</ div>
< div class = " tab-pane" id = " tab-cli-bg" >
< svg viewBox = " 0 0 1000 620" xmlns = " http://www.w3.org/2000/svg" >
< defs>
< marker id = " ah3-blue" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #58a6ff" />
</ marker>
< marker id = " ah3-green" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #39d353" />
</ marker>
< marker id = " ah3-red" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #f85149" />
</ marker>
< marker id = " ah3-purple" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #bc8cff" />
</ marker>
</ defs>
< text x = " 20" y = " 24" fill = " #3fb950" font-size = " 14" font-weight = " 600" >
</ text>
< text x = " 20" y = " 42" fill = " #8b949e" font-size = " 11" >
</ text>
< g transform = " translate(30,60)" >
< rect width = " 380" height = " 130" rx = " 8" fill = " #161b22" stroke = " #30363d" />
< text x = " 12" y = " 20" fill = " #58a6ff" font-size = " 12" font-weight = " 600" >
</ text>
< rect x = " 16" y = " 34" width = " 350" height = " 24" rx = " 4" fill = " #1a2332" stroke = " #58a6ff" stroke-width = " 1" />
< text x = " 24" y = " 50" fill = " #c9d1d9" font-size = " 10" >
</ text>
< text x = " 24" y = " 68" fill = " #8b949e" font-size = " 9" >
</ text>
< text x = " 16" y = " 92" fill = " #bc8cff" font-size = " 10" >
</ text>
< text x = " 16" y = " 106" fill = " #bc8cff" font-size = " 10" >
</ text>
< text x = " 16" y = " 120" fill = " #8b949e" font-size = " 9" >
</ text>
</ g>
< g transform = " translate(30,210)" >
< rect width = " 380" height = " 280" rx = " 8" fill = " #161b22" stroke = " #30363d" />
< text x = " 12" y = " 20" fill = " #3fb950" font-size = " 12" font-weight = " 600" >
</ text>
< rect x = " 16" y = " 34" width = " 350" height = " 24" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 24" y = " 50" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 32" y = " 66" width = " 330" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 40" y = " 81" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 48" y = " 96" width = " 310" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 56" y = " 111" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 48" y = " 126" width = " 310" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 56" y = " 141" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 64" y = " 156" width = " 290" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 72" y = " 171" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 80" y = " 186" width = " 270" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 88" y = " 201" fill = " #c9d1d9" font-size = " 10" >
</ text>
< rect x = " 32" y = " 216" width = " 330" height = " 22" rx = " 4" fill = " #1a2a1a" stroke = " #3fb950" stroke-width = " 1" />
< text x = " 40" y = " 231" fill = " #c9d1d9" font-size = " 10" >
</ text>
< text x = " 16" y = " 260" fill = " #8b949e" font-size = " 9" >
</ text>
< text x = " 16" y = " 274" fill = " #3fb950" font-size = " 9" font-weight = " 600" >
</ text>
</ g>
< g transform = " translate(450,60)" >
< rect width = " 210" height = " 60" rx = " 6" fill = " #1a2a1a" stroke = " #3fb950" />
< text x = " 12" y = " 20" fill = " #3fb950" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 12" y = " 38" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 12" y = " 52" fill = " #8b949e" font-size = " 10" >
</ text>
< rect x = " 0" y = " 80" width = " 210" height = " 65" rx = " 6" fill = " #1a2a2a" stroke = " #39d353" />
< text x = " 12" y = " 98" fill = " #39d353" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 12" y = " 114" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 12" y = " 128" fill = " #8b949e" font-size = " 9" >
</ text>
< path d = " M 105,60 L 105,80" stroke = " #39d353" stroke-width = " 1.5" stroke-dasharray = " 4,2" marker-end = " url(#ah3-green)" />
< rect x = " 0" y = " 165" width = " 210" height = " 50" rx = " 6" fill = " #1a2332" stroke = " #58a6ff" />
< text x = " 12" y = " 185" fill = " #58a6ff" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 12" y = " 201" fill = " #8b949e" font-size = " 10" >
</ text>
< path d = " M 105,145 L 105,165" stroke = " #39d353" stroke-width = " 1.5" stroke-dasharray = " 4,2" marker-end = " url(#ah3-green)" />
< rect x = " 0" y = " 235" width = " 210" height = " 40" rx = " 6" fill = " #2a2218" stroke = " #d29922" />
< text x = " 12" y = " 260" fill = " #d29922" font-size = " 11" font-weight = " 600" >
</ text>
< path d = " M 105,215 L 105,235" stroke = " #58a6ff" stroke-width = " 1.5" marker-end = " url(#ah3-blue)" />
< text x = " 110" y = " 228" fill = " #58a6ff" font-size = " 9" >
</ text>
< rect x = " 240" y = " 0" width = " 200" height = " 40" rx = " 6" fill = " #2a1a1a" stroke = " #f85149" />
< text x = " 252" y = " 25" fill = " #f85149" font-size = " 11" >
</ text>
< path d = " M 210,30 L 240,20" stroke = " #f85149" stroke-width = " 1.5" marker-end = " url(#ah3-red)" />
< rect x = " 0" y = " 300" width = " 440" height = " 100" rx = " 8" fill = " #161b22" stroke = " #39d353" />
< text x = " 16" y = " 320" fill = " #39d353" font-size = " 12" font-weight = " 600" >
</ text>
< text x = " 16" y = " 340" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 16" y = " 356" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 16" y = " 372" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 16" y = " 388" fill = " #8b949e" font-size = " 10" >
</ text>
</ g>
< g transform = " translate(30,510)" >
< rect width = " 920" height = " 80" rx = " 8" fill = " #161b22" stroke = " #3fb950" />
< text x = " 16" y = " 20" fill = " #3fb950" font-size = " 12" font-weight = " 600" >
</ text>
< text x = " 16" y = " 40" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 16" y = " 56" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 16" y = " 72" fill = " #8b949e" font-size = " 10" >
</ text>
</ g>
</ svg>
</ div>
< div class = " tab-pane" id = " tab-cli-term" >
< svg viewBox = " 0 0 800 300" xmlns = " http://www.w3.org/2000/svg" >
< defs>
< marker id = " ah4-red" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #f85149" />
</ marker>
< marker id = " ah4-yellow" markerWidth = " 8" markerHeight = " 6" refX = " 8" refY = " 3" orient = " auto" >
< polygon points = " 0 0, 8 3, 0 6" fill = " #d29922" />
</ marker>
</ defs>
< text x = " 20" y = " 24" fill = " #8b949e" font-size = " 14" font-weight = " 600" >
</ text>
< text x = " 20" y = " 42" fill = " #8b949e" font-size = " 11" >
</ text>
< g transform = " translate(30,60)" >
< rect width = " 250" height = " 70" rx = " 6" fill = " #161b22" stroke = " #30363d" />
< text x = " 12" y = " 20" fill = " #58a6ff" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 12" y = " 40" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 12" y = " 56" fill = " #8b949e" font-size = " 10" >
</ text>
< path d = " M 250,50 L 310,50" stroke = " #d29922" stroke-width = " 1.5" stroke-dasharray = " 4,2" marker-end = " url(#ah4-yellow)" />
< text x = " 255" y = " 42" fill = " #d29922" font-size = " 9" >
</ text>
< rect x = " 310" y = " 0" width = " 250" height = " 130" rx = " 6" fill = " #161b22" stroke = " #8b949e" />
< text x = " 322" y = " 20" fill = " #8b949e" font-size = " 11" font-weight = " 600" >
</ text>
< text x = " 322" y = " 40" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 322" y = " 56" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 322" y = " 76" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 322" y = " 96" fill = " #8b949e" font-size = " 10" >
</ text>
< text x = " 322" y = " 116" fill = " #8b949e" font-size = " 10" >
</ text>
< path d = " M 560,65 L 620,65" stroke = " #f85149" stroke-width = " 1.5" marker-end = " url(#ah4-red)" />
< rect x = " 620" y = " 30" width = " 150" height = " 40" rx = " 6" fill = " #2a1a1a" stroke = " #f85149" />
< text x = " 632" y = " 55" fill = " #f85149" font-size = " 11" >
</ text>
< rect x = " 620" y = " 90" width = " 150" height = " 40" rx = " 6" fill = " #21262d" stroke = " #484f58" />
< text x = " 632" y = " 115" fill = " #484f58" font-size = " 11" >
</ text>
< text x = " 622" y = " 148" fill = " #484f58" font-size = " 9" >
</ text>
< text x = " 622" y = " 162" fill = " #484f58" font-size = " 9" >
</ text>
</ g>
</ svg>
</ div>
</ div>
< div class = " section" >
< h3>
</ h3>
< div class = " info-grid" >
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< b>
</ b>
< code>
</ code>
</ li>
< li>
< b>
</ b>
< code>
</ code>
< code>
</ code>
</ li>
< li>
< code>
</ code>
</ li>
</ ul>
</ div>
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< code>
</ code>
</ li>
< li>
< code>
</ code>
< code>
</ code>
</ li>
< li>
< code>
</ code>
< code>
</ code>
</ li>
< li>
< b>
</ b>
</ li>
< li>
< code>
</ code>
< code>
</ code>
</ li>
</ ul>
</ div>
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< code>
</ code>
</ li>
< li>
< code>
</ code>
</ li>
< li>
</ li>
< li>
</ li>
</ ul>
</ div>
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< b>
</ b>
< code>
</ code>
</ li>
< li>
< b>
</ b>
< code>
</ code>
< code>
</ code>
</ li>
< li>
< b>
</ b>
</ li>
< li>
< code>
</ code>
< code>
</ code>
</ li>
</ ul>
</ div>
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< code>
</ code>
</ li>
< li>
< code>
</ code>
</ li>
</ ul>
</ div>
< div class = " info-card" >
< h4>
</ h4>
< ul>
< li>
< b>
</ b>
</ li>
< li>
< b>
</ b>
< code>
</ code>
< code>
</ code>
</ li>
< li>
< b>
</ b>
</ li>
</ ul>
</ div>
</ div>
</ div>
< script>
function switchTab ( id ) {
document . querySelectorAll ( '.tab' ) . forEach ( t => t. classList . remove ( 'active' ) ) ;
document . querySelectorAll ( '.tab-pane' ) . forEach ( p => p. classList . remove ( 'active' ) ) ;
document . getElementById ( 'tab-' + id) . classList . add ( 'active' ) ;
event. target . classList . add ( 'active' ) ;
}
</ script>
</ body>
</ html>