@amigo-ai/platform-sdk 0.4.4 → 0.4.5
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.
|
@@ -1,117 +1,103 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="480" viewBox="0 0 1200 480">
|
|
2
2
|
<defs>
|
|
3
|
-
<linearGradient id="bg" x1="0" y1="0" x2="
|
|
4
|
-
<stop offset="0%" stop-color="#
|
|
5
|
-
<stop offset="
|
|
6
|
-
<stop offset="100%" stop-color="#051822"/>
|
|
3
|
+
<linearGradient id="bg" x1="0" y1="0" x2="0.6" y2="1">
|
|
4
|
+
<stop offset="0%" stop-color="#083241"/>
|
|
5
|
+
<stop offset="100%" stop-color="#051A24"/>
|
|
7
6
|
</linearGradient>
|
|
8
|
-
<
|
|
9
|
-
<stop offset="0%" stop-color="
|
|
10
|
-
<stop offset="100%" stop-color="#
|
|
11
|
-
</radialGradient>
|
|
12
|
-
<radialGradient id="glowRight" cx="0.84" cy="0.16" r="0.55">
|
|
13
|
-
<stop offset="0%" stop-color="#7DE1B5" stop-opacity="0.12"/>
|
|
14
|
-
<stop offset="100%" stop-color="#7DE1B5" stop-opacity="0"/>
|
|
15
|
-
</radialGradient>
|
|
16
|
-
<linearGradient id="panelStroke" x1="0" y1="0" x2="1" y2="1">
|
|
17
|
-
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="0.14"/>
|
|
18
|
-
<stop offset="100%" stop-color="#92B4C3" stop-opacity="0.06"/>
|
|
7
|
+
<linearGradient id="strokeGrad" x1="0" y1="0" x2="1" y2="1">
|
|
8
|
+
<stop offset="0%" stop-color="white" stop-opacity="0.1"/>
|
|
9
|
+
<stop offset="100%" stop-color="#999" stop-opacity="0.04"/>
|
|
19
10
|
</linearGradient>
|
|
20
|
-
<linearGradient id="
|
|
21
|
-
<stop offset="0%" stop-color="
|
|
22
|
-
<stop offset="100%" stop-color="#
|
|
11
|
+
<linearGradient id="strokeGradSubtle" x1="0" y1="0" x2="1" y2="1">
|
|
12
|
+
<stop offset="0%" stop-color="white" stop-opacity="0.08"/>
|
|
13
|
+
<stop offset="100%" stop-color="#999" stop-opacity="0.03"/>
|
|
23
14
|
</linearGradient>
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
<stop offset="100%" stop-color="#7FC8FF"/>
|
|
27
|
-
</linearGradient>
|
|
28
|
-
<marker id="arrow" viewBox="0 0 12 12" refX="10.5" refY="6" markerWidth="8" markerHeight="8" orient="auto">
|
|
29
|
-
<path d="M 0 0 L 12 6 L 0 12 z" fill="#8EE4FF"/>
|
|
15
|
+
<marker id="arrow" viewBox="0 0 10 7" refX="9" refY="3.5" markerWidth="8" markerHeight="6" orient="auto-start-reverse">
|
|
16
|
+
<path d="M 0 0.5 L 9 3.5 L 0 6.5" fill="none" stroke="white" stroke-width="1" opacity="0.2"/>
|
|
30
17
|
</marker>
|
|
31
18
|
</defs>
|
|
32
19
|
|
|
33
|
-
<rect width="1200" height="
|
|
34
|
-
<rect width="1200" height="540" fill="url(#glowLeft)"/>
|
|
35
|
-
<rect width="1200" height="540" fill="url(#glowRight)"/>
|
|
36
|
-
|
|
37
|
-
<text x="68" y="62" font-family="'SFMono-Regular', Menlo, monospace" font-size="13" font-weight="600" fill="#BBD1DC" letter-spacing="2.4">PLATFORM CONTEXT</text>
|
|
38
|
-
<text x="68" y="98" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="30" font-weight="700" fill="white">How the TypeScript SDK fits into the stack</text>
|
|
39
|
-
<text x="68" y="126" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="15" fill="#A9C0CB">Your runtime calls the SDK, the SDK targets the workspace-scoped Platform API, and the API fronts the operational systems behind the product.</text>
|
|
40
|
-
|
|
41
|
-
<rect x="60" y="152" width="246" height="208" rx="22" fill="white" fill-opacity="0.045" stroke="url(#panelStroke)" stroke-width="1"/>
|
|
42
|
-
<text x="88" y="184" font-family="'SFMono-Regular', Menlo, monospace" font-size="12" font-weight="600" fill="#B4C9D4" letter-spacing="2">YOUR RUNTIME</text>
|
|
20
|
+
<rect width="1200" height="480" fill="url(#bg)"/>
|
|
43
21
|
|
|
44
|
-
|
|
45
|
-
<
|
|
22
|
+
<!-- ====== PLATFORM SYSTEMS (top) ====== -->
|
|
23
|
+
<rect x="32" y="32" width="880" height="260" rx="10" fill="white" fill-opacity="0.03" stroke="url(#strokeGrad)" stroke-width="0.75"/>
|
|
24
|
+
<text x="60" y="60" font-family="'Diatype Mono', 'SF Mono', monospace" font-size="13" font-weight="500" fill="white" fill-opacity="0.55" letter-spacing="2">PLATFORM SYSTEMS</text>
|
|
46
25
|
|
|
47
|
-
|
|
48
|
-
<
|
|
26
|
+
<!-- Row 1 -->
|
|
27
|
+
<rect x="52" y="78" width="200" height="60" rx="8" fill="white" fill-opacity="0.1" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
28
|
+
<text x="152" y="103" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Agent Engine</text>
|
|
29
|
+
<text x="152" y="121" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Phone, text, simulation</text>
|
|
49
30
|
|
|
50
|
-
<rect x="
|
|
51
|
-
<text x="
|
|
31
|
+
<rect x="268" y="78" width="200" height="60" rx="8" fill="white" fill-opacity="0.1" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
32
|
+
<text x="368" y="103" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Clinical Copilot</text>
|
|
33
|
+
<text x="368" y="121" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">SOAP, ICD-10, CDS</text>
|
|
52
34
|
|
|
53
|
-
<rect x="
|
|
54
|
-
<text x="
|
|
55
|
-
<text x="
|
|
56
|
-
<text x="394" y="245" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#C4D8E1">Typed workspace-scoped client for the Platform API.</text>
|
|
57
|
-
<text x="394" y="271" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#C4D8E1">It keeps auth, retries, webhooks, request control,</text>
|
|
58
|
-
<text x="394" y="295" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="16" fill="#C4D8E1">and generated types on the package surface.</text>
|
|
35
|
+
<rect x="484" y="78" width="200" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
36
|
+
<text x="584" y="103" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Emotion Engine</text>
|
|
37
|
+
<text x="584" y="121" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Acoustic intelligence</text>
|
|
59
38
|
|
|
60
|
-
<rect x="
|
|
61
|
-
<text x="
|
|
62
|
-
<
|
|
63
|
-
<text x="571" y="340" text-anchor="middle" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="13" font-weight="600" fill="#DFF4FF">ESM + CJS</text>
|
|
64
|
-
<rect x="394" y="360" width="110" height="30" rx="15" fill="#123D50" stroke="#7CCFFF" stroke-opacity="0.22"/>
|
|
65
|
-
<text x="449" y="379" text-anchor="middle" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="13" font-weight="600" fill="#DFF4FF">Webhooks</text>
|
|
66
|
-
<rect x="515" y="360" width="136" height="30" rx="15" fill="#123D50" stroke="#7CCFFF" stroke-opacity="0.22"/>
|
|
67
|
-
<text x="583" y="379" text-anchor="middle" font-family="'Inter', 'Helvetica Neue', Arial, sans-serif" font-size="13" font-weight="600" fill="#DFF4FF">Request control</text>
|
|
39
|
+
<rect x="700" y="78" width="192" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
40
|
+
<text x="796" y="103" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Connector Runner</text>
|
|
41
|
+
<text x="796" y="121" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">EHR, FHIR, CRM sync</text>
|
|
68
42
|
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
<text x="
|
|
43
|
+
<!-- Row 2 -->
|
|
44
|
+
<rect x="52" y="152" width="200" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
45
|
+
<text x="152" y="177" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Operators</text>
|
|
46
|
+
<text x="152" y="195" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Monitoring, escalation</text>
|
|
72
47
|
|
|
73
|
-
<rect x="
|
|
74
|
-
<text x="
|
|
75
|
-
<text x="
|
|
48
|
+
<rect x="268" y="152" width="200" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
49
|
+
<text x="368" y="177" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Metric Store</text>
|
|
50
|
+
<text x="368" y="195" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Config-driven analytics</text>
|
|
76
51
|
|
|
77
|
-
<rect x="
|
|
78
|
-
<text x="
|
|
79
|
-
<text x="
|
|
52
|
+
<rect x="484" y="152" width="200" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
53
|
+
<text x="584" y="177" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Surfaces</text>
|
|
54
|
+
<text x="584" y="195" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Forms, data capture</text>
|
|
80
55
|
|
|
81
|
-
<rect x="
|
|
82
|
-
<text x="
|
|
83
|
-
<text x="
|
|
56
|
+
<rect x="700" y="152" width="192" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
57
|
+
<text x="796" y="177" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Outbound Dispatch</text>
|
|
58
|
+
<text x="796" y="195" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Campaigns, follow-ups</text>
|
|
84
59
|
|
|
85
|
-
|
|
86
|
-
<text x="
|
|
87
|
-
<
|
|
60
|
+
<!-- Annotation: read + write -->
|
|
61
|
+
<text x="472" y="248" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="500" fill="white" fill-opacity="0.5">read + write</text>
|
|
62
|
+
<line x1="390" y1="254" x2="390" y2="280" stroke="white" stroke-width="1" stroke-opacity="0.15" marker-end="url(#arrow)"/>
|
|
63
|
+
<line x1="555" y1="254" x2="555" y2="280" stroke="white" stroke-width="1" stroke-opacity="0.15" marker-end="url(#arrow)"/>
|
|
88
64
|
|
|
89
|
-
|
|
90
|
-
<
|
|
91
|
-
<text x="
|
|
65
|
+
<!-- ====== CLASSIC API (top right) ====== -->
|
|
66
|
+
<rect x="940" y="32" width="228" height="260" rx="10" fill="white" fill-opacity="0.03" stroke="url(#strokeGrad)" stroke-width="0.75"/>
|
|
67
|
+
<text x="968" y="60" font-family="'Diatype Mono', 'SF Mono', monospace" font-size="13" font-weight="500" fill="white" fill-opacity="0.55" letter-spacing="2">CLASSIC API</text>
|
|
92
68
|
|
|
93
|
-
<rect x="
|
|
94
|
-
<text x="
|
|
95
|
-
<text x="
|
|
69
|
+
<rect x="960" y="78" width="188" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
70
|
+
<text x="1054" y="103" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Text Chat</text>
|
|
71
|
+
<text x="1054" y="121" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">WebSocket streaming</text>
|
|
96
72
|
|
|
97
|
-
<
|
|
73
|
+
<rect x="960" y="152" width="188" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
74
|
+
<text x="1054" y="177" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">User Models</text>
|
|
75
|
+
<text x="1054" y="195" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Memory, personalization</text>
|
|
98
76
|
|
|
99
|
-
|
|
77
|
+
<!-- Classic API annotation -->
|
|
78
|
+
<text x="1054" y="248" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="500" fill="white" fill-opacity="0.5">read + write</text>
|
|
79
|
+
<line x1="1054" y1="254" x2="1054" y2="280" stroke="white" stroke-width="1" stroke-opacity="0.15" marker-end="url(#arrow)"/>
|
|
100
80
|
|
|
101
|
-
|
|
81
|
+
<!-- ====== WORLD MODEL (bottom foundation) ====== -->
|
|
82
|
+
<rect x="32" y="290" width="1136" height="150" rx="10" fill="white" fill-opacity="0.05" stroke="url(#strokeGrad)" stroke-width="0.75"/>
|
|
83
|
+
<text x="60" y="318" font-family="'Diatype Mono', 'SF Mono', monospace" font-size="13" font-weight="500" fill="white" fill-opacity="0.55" letter-spacing="2">WORLD MODEL</text>
|
|
102
84
|
|
|
103
|
-
<rect x="
|
|
104
|
-
<text x="
|
|
85
|
+
<rect x="52" y="336" width="260" height="60" rx="8" fill="white" fill-opacity="0.1" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
86
|
+
<text x="182" y="361" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Event Store</text>
|
|
87
|
+
<text x="182" y="379" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Confidence-scored, immutable facts</text>
|
|
105
88
|
|
|
106
|
-
<rect x="
|
|
107
|
-
<text x="
|
|
89
|
+
<rect x="332" y="336" width="260" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
90
|
+
<text x="462" y="361" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Entity Projections</text>
|
|
91
|
+
<text x="462" y="379" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Entity state from events</text>
|
|
108
92
|
|
|
109
|
-
<rect x="
|
|
110
|
-
<text x="
|
|
93
|
+
<rect x="612" y="336" width="260" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
94
|
+
<text x="742" y="361" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Intelligence Projections</text>
|
|
95
|
+
<text x="742" y="379" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Memory, scheduling, clinical</text>
|
|
111
96
|
|
|
112
|
-
<rect x="
|
|
113
|
-
<text x="
|
|
97
|
+
<rect x="892" y="336" width="256" height="60" rx="8" fill="white" fill-opacity="0.08" stroke="url(#strokeGradSubtle)" stroke-width="0.75"/>
|
|
98
|
+
<text x="1020" y="361" text-anchor="middle" font-family="'Flecha S', Georgia, serif" font-size="16" fill="white" fill-opacity="0.95">Vector Search</text>
|
|
99
|
+
<text x="1020" y="379" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" fill="white" fill-opacity="0.7">Semantic queries</text>
|
|
114
100
|
|
|
115
|
-
|
|
116
|
-
<text x="
|
|
101
|
+
<!-- Footer -->
|
|
102
|
+
<text x="600" y="462" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="500" fill="white" fill-opacity="0.55">All systems read from and write to the world model - confidence propagates through every projection level</text>
|
|
117
103
|
</svg>
|