@smarter.sh/ui-widgets 0.36.0-alpha.4 → 0.36.0-alpha.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.
- package/dist/types/components/ResourceTree/Component.d.ts +15 -0
- package/dist/types/components/ResourceTree/ResourceCard.d.ts +8 -0
- package/dist/types/components/ResourceTree/kinds.d.ts +20 -0
- package/dist/types/components/ResourceTree/tree.d.ts +14 -0
- package/dist/types/components/ResourceTree/types.d.ts +23 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/mocks/resourceTree.d.ts +16 -0
- package/dist/ui-widgets.css +1 -1
- package/dist/ui-widgets.es.js +525 -227
- package/dist/ui-widgets.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-widgets.es.js
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import "./ui-widgets.css";
|
|
2
2
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import { Fragment as r } from "react";
|
|
3
|
+
import { Fragment as r, useState as i } from "react";
|
|
4
4
|
//#region ../smarter-common/dist/lib/i18n.js
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
let t =
|
|
5
|
+
var a = /%\(([A-Za-z_][A-Za-z0-9_]*)\)s/g, o = () => typeof window > "u" ? void 0 : window.django;
|
|
6
|
+
function s(e) {
|
|
7
|
+
let t = o();
|
|
8
8
|
return t?.gettext ? t.gettext(e) : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function c(e, t, n) {
|
|
11
|
+
let r = o();
|
|
12
|
+
return r?.ngettext ? r.ngettext(e, t, n) : n === 1 ? e : t;
|
|
13
|
+
}
|
|
14
|
+
function l(e, t) {
|
|
15
|
+
return e.replace(a, (e, n) => {
|
|
16
|
+
let r = t[n];
|
|
17
|
+
return r == null ? e : String(r);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function u(n, i) {
|
|
11
21
|
let o = [], s = 0;
|
|
12
|
-
for (let e of n.matchAll(
|
|
13
|
-
let [t, r] = e,
|
|
14
|
-
|
|
22
|
+
for (let e of n.matchAll(a)) {
|
|
23
|
+
let [t, r] = e, a = e.index ?? 0;
|
|
24
|
+
a > s && o.push(n.slice(s, a)), o.push(r in i ? i[r] : t), s = a + t.length;
|
|
15
25
|
}
|
|
16
26
|
return s < n.length && o.push(n.slice(s)), t(e, { children: o.map((e, n) => t(r, { children: e }, n)) });
|
|
17
27
|
}
|
|
18
|
-
var
|
|
28
|
+
var d = {
|
|
19
29
|
name: "@smarter/common",
|
|
20
30
|
private: !0,
|
|
21
31
|
version: "0.2.0",
|
|
@@ -64,24 +74,24 @@ var c = {
|
|
|
64
74
|
"typescript-eslint": "^8.71.0",
|
|
65
75
|
vitest: "^5.0.3"
|
|
66
76
|
}
|
|
67
|
-
},
|
|
68
|
-
`${
|
|
77
|
+
}, f = d.name, p = d.version;
|
|
78
|
+
`${f}${p}`, `${f}${p}`, `${f}${p}`;
|
|
69
79
|
//#endregion
|
|
70
80
|
//#region src/components/Cli/Component.tsx
|
|
71
|
-
var
|
|
81
|
+
var m = [
|
|
72
82
|
{
|
|
73
83
|
command: "brew install smarter",
|
|
74
|
-
comment:
|
|
84
|
+
comment: s("or apt, choco, docker")
|
|
75
85
|
},
|
|
76
86
|
{ command: "smarter configure" },
|
|
77
87
|
{ command: "smarter apply -f llmclient.yaml" },
|
|
78
88
|
{ command: "smarter deploy llmclient customer_support" },
|
|
79
89
|
{ command: "smarter get llmclients" }
|
|
80
90
|
];
|
|
81
|
-
function
|
|
91
|
+
function h({ className: r = "col-xl-4" }) {
|
|
82
92
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
83
93
|
id: "cli",
|
|
84
|
-
"aria-label":
|
|
94
|
+
"aria-label": s("CLI"),
|
|
85
95
|
className: `${r} mb-5 mb-xl-10`,
|
|
86
96
|
children: /* @__PURE__ */ t("div", {
|
|
87
97
|
className: "card border-transparent h-100 cli-card",
|
|
@@ -91,18 +101,18 @@ function f({ className: r = "col-xl-4" }) {
|
|
|
91
101
|
children: [
|
|
92
102
|
/* @__PURE__ */ t("div", {
|
|
93
103
|
className: "fs-2x fw-bold text-white mb-2",
|
|
94
|
-
children: s(
|
|
104
|
+
children: u(s("Smarter %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
95
105
|
className: "position-relative d-inline-block",
|
|
96
|
-
children: s(
|
|
106
|
+
children: u(s("CLI%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute opacity-50 bottom-0 start-0 border-4 border-success border-bottom w-100" }) })
|
|
97
107
|
}) })
|
|
98
108
|
}),
|
|
99
109
|
/* @__PURE__ */ t("p", {
|
|
100
110
|
className: "text-gray-400 fs-6 mb-7",
|
|
101
|
-
children:
|
|
111
|
+
children: s("Powerful tools for managing your AI resources.")
|
|
102
112
|
}),
|
|
103
113
|
/* @__PURE__ */ n("div", {
|
|
104
114
|
className: "cli-terminal",
|
|
105
|
-
"aria-label":
|
|
115
|
+
"aria-label": s("Example CLI session"),
|
|
106
116
|
children: [/* @__PURE__ */ n("div", {
|
|
107
117
|
className: "cli-terminal-bar",
|
|
108
118
|
children: [
|
|
@@ -112,7 +122,7 @@ function f({ className: r = "col-xl-4" }) {
|
|
|
112
122
|
]
|
|
113
123
|
}), /* @__PURE__ */ n("pre", {
|
|
114
124
|
className: "cli-terminal-body",
|
|
115
|
-
children: [
|
|
125
|
+
children: [m.map((e) => /* @__PURE__ */ n("div", { children: [
|
|
116
126
|
/* @__PURE__ */ t("span", {
|
|
117
127
|
className: "cli-prompt",
|
|
118
128
|
children: "$ "
|
|
@@ -134,12 +144,12 @@ function f({ className: r = "col-xl-4" }) {
|
|
|
134
144
|
href: "https://smarter.sh/cli/",
|
|
135
145
|
target: "_blank",
|
|
136
146
|
className: "btn btn-sm btn-success fw-semibold me-2",
|
|
137
|
-
children:
|
|
147
|
+
children: s("Download")
|
|
138
148
|
}), /* @__PURE__ */ t("a", {
|
|
139
149
|
href: "https://docs.smarter.sh/en/latest/smarter-framework/smarter-cli.html",
|
|
140
150
|
target: "_blank",
|
|
141
151
|
className: "btn btn-sm btn-light fw-semibold",
|
|
142
|
-
children:
|
|
152
|
+
children: s("Documentation")
|
|
143
153
|
})]
|
|
144
154
|
})
|
|
145
155
|
]
|
|
@@ -149,32 +159,32 @@ function f({ className: r = "col-xl-4" }) {
|
|
|
149
159
|
}
|
|
150
160
|
//#endregion
|
|
151
161
|
//#region src/components/Contribute/Component.tsx
|
|
152
|
-
var
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
],
|
|
162
|
+
var g = [
|
|
163
|
+
s("Fix a bug"),
|
|
164
|
+
s("Improve the docs"),
|
|
165
|
+
s("Write a test"),
|
|
166
|
+
s("Build an extension")
|
|
167
|
+
], _ = [
|
|
158
168
|
{
|
|
159
169
|
href: "https://github.com/smarter-sh/smarter/releases",
|
|
160
170
|
src: "https://img.shields.io/github/v/release/smarter-sh/smarter?style=flat&color=ea580c",
|
|
161
|
-
alt:
|
|
171
|
+
alt: s("Latest Release")
|
|
162
172
|
},
|
|
163
173
|
{
|
|
164
174
|
href: "https://github.com/smarter-sh/smarter/stargazers",
|
|
165
175
|
src: "https://img.shields.io/github/stars/smarter-sh/smarter?style=flat&color=ea580c",
|
|
166
|
-
alt:
|
|
176
|
+
alt: s("GitHub Stars")
|
|
167
177
|
},
|
|
168
178
|
{
|
|
169
179
|
href: "https://github.com/smarter-sh/smarter/network/members",
|
|
170
180
|
src: "https://img.shields.io/github/forks/smarter-sh/smarter?style=flat&color=ea580c",
|
|
171
|
-
alt:
|
|
181
|
+
alt: s("GitHub Forks")
|
|
172
182
|
}
|
|
173
183
|
];
|
|
174
|
-
function
|
|
184
|
+
function ee() {
|
|
175
185
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
176
186
|
id: "contribute",
|
|
177
|
-
"aria-label":
|
|
187
|
+
"aria-label": s("Contribute"),
|
|
178
188
|
className: "card border-transparent h-100 contribute-card",
|
|
179
189
|
"data-bs-theme": "light",
|
|
180
190
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -187,26 +197,26 @@ function h() {
|
|
|
187
197
|
}),
|
|
188
198
|
/* @__PURE__ */ t("div", {
|
|
189
199
|
className: "position-relative fs-2x fw-bold text-gray-900 mb-2 z-index-2",
|
|
190
|
-
children: s(
|
|
200
|
+
children: u(s("Contribute to %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
191
201
|
className: "position-relative d-inline-block",
|
|
192
|
-
children: s(
|
|
202
|
+
children: u(s("Smarter%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 contribute-underline" }) })
|
|
193
203
|
}) })
|
|
194
204
|
}),
|
|
195
205
|
/* @__PURE__ */ t("p", {
|
|
196
206
|
className: "text-gray-700 fs-6 mb-5 z-index-2 contribute-lede",
|
|
197
|
-
children:
|
|
207
|
+
children: s("Start small, learn by doing, and help improve Smarter while you discover how real Python projects work.")
|
|
198
208
|
}),
|
|
199
209
|
/* @__PURE__ */ t("ul", {
|
|
200
210
|
className: "contribute-chips z-index-2",
|
|
201
|
-
"aria-label":
|
|
202
|
-
children:
|
|
211
|
+
"aria-label": s("Ways to help"),
|
|
212
|
+
children: g.map((e) => /* @__PURE__ */ t("li", {
|
|
203
213
|
className: "contribute-chip",
|
|
204
214
|
children: e
|
|
205
215
|
}, e))
|
|
206
216
|
}),
|
|
207
217
|
/* @__PURE__ */ t("ul", {
|
|
208
218
|
className: "contribute-badges z-index-2",
|
|
209
|
-
children:
|
|
219
|
+
children: _.map((e) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("a", {
|
|
210
220
|
href: e.href,
|
|
211
221
|
target: "_blank",
|
|
212
222
|
rel: "noopener noreferrer",
|
|
@@ -222,12 +232,12 @@ function h() {
|
|
|
222
232
|
href: "https://docs.smarter.sh/en/latest/smarter-framework/guides/contributing.html",
|
|
223
233
|
target: "_blank",
|
|
224
234
|
className: "btn btn-sm fw-semibold me-2 contribute-btn",
|
|
225
|
-
children:
|
|
235
|
+
children: s("Contributing guide")
|
|
226
236
|
}), /* @__PURE__ */ t("a", {
|
|
227
237
|
href: "https://github.com/smarter-sh/smarter/issues",
|
|
228
238
|
target: "_blank",
|
|
229
239
|
className: "btn btn-sm btn-light fw-semibold",
|
|
230
|
-
children:
|
|
240
|
+
children: s("Open issues")
|
|
231
241
|
})]
|
|
232
242
|
})
|
|
233
243
|
]
|
|
@@ -236,35 +246,36 @@ function h() {
|
|
|
236
246
|
}
|
|
237
247
|
//#endregion
|
|
238
248
|
//#region src/components/Extensions/Component.tsx
|
|
239
|
-
var
|
|
249
|
+
var v = "https://docs.smarter.sh/en/latest", y = [
|
|
240
250
|
{
|
|
241
251
|
slug: "weather",
|
|
242
252
|
name: "Weather",
|
|
243
|
-
description:
|
|
253
|
+
description: s("Current weather and a 24-hour forecast for any location."),
|
|
244
254
|
icon: "ki-cloud"
|
|
245
255
|
},
|
|
246
256
|
{
|
|
247
257
|
slug: "calculator",
|
|
248
258
|
name: "Calculator",
|
|
249
|
-
description:
|
|
259
|
+
description: s("Evaluates math expressions exactly, so that LLMs don't guess."),
|
|
250
260
|
icon: "ki-calculator"
|
|
251
261
|
},
|
|
252
262
|
{
|
|
253
263
|
slug: "date-calculator",
|
|
254
264
|
name: "Date Calculator",
|
|
255
|
-
description:
|
|
265
|
+
description: s("Date arithmetic: differences, adding and subtracting days."),
|
|
256
266
|
icon: "ki-calendar"
|
|
257
267
|
}
|
|
258
|
-
],
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
268
|
+
], b = [
|
|
269
|
+
s("Browse the registry"),
|
|
270
|
+
s("Install, signature-checked"),
|
|
271
|
+
s("Enable, then list it in a manifest")
|
|
262
272
|
];
|
|
263
|
-
function
|
|
273
|
+
function x() {
|
|
264
274
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
265
275
|
id: "extensions",
|
|
266
|
-
"aria-label":
|
|
267
|
-
className: "card border-transparent extensions-card",
|
|
276
|
+
"aria-label": s("Extensions"),
|
|
277
|
+
className: "card border-transparent h-100 extensions-card",
|
|
278
|
+
"data-bs-theme": "light",
|
|
268
279
|
children: /* @__PURE__ */ t("div", {
|
|
269
280
|
className: "card-body ps-xl-15",
|
|
270
281
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -274,22 +285,22 @@ function y() {
|
|
|
274
285
|
children: [
|
|
275
286
|
/* @__PURE__ */ t("span", {
|
|
276
287
|
className: "extensions-eyebrow",
|
|
277
|
-
children:
|
|
288
|
+
children: s("New in 0.27")
|
|
278
289
|
}),
|
|
279
290
|
/* @__PURE__ */ t("div", {
|
|
280
291
|
className: "fs-2x fw-bold text-gray-900 mt-3 mb-2",
|
|
281
|
-
children: s(
|
|
292
|
+
children: u(s("Add tools with %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
282
293
|
className: "position-relative d-inline-block",
|
|
283
|
-
children: s(
|
|
294
|
+
children: u(s("Extensions%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 extensions-underline" }) })
|
|
284
295
|
}) })
|
|
285
296
|
}),
|
|
286
297
|
/* @__PURE__ */ t("p", {
|
|
287
298
|
className: "text-gray-700 fs-6 mb-4",
|
|
288
|
-
children:
|
|
299
|
+
children: s("Python packages that give your LLMs new tools, installed from the signed Smarter Extension registry without a redeploy.")
|
|
289
300
|
}),
|
|
290
301
|
/* @__PURE__ */ t("ol", {
|
|
291
302
|
className: "extensions-steps",
|
|
292
|
-
children:
|
|
303
|
+
children: b.map((e, r) => /* @__PURE__ */ n("li", { children: [/* @__PURE__ */ t("span", {
|
|
293
304
|
className: "extensions-step-number",
|
|
294
305
|
children: r + 1
|
|
295
306
|
}), e] }, e))
|
|
@@ -298,22 +309,22 @@ function y() {
|
|
|
298
309
|
className: "d-flex flex-wrap gap-2 mt-5",
|
|
299
310
|
children: [
|
|
300
311
|
/* @__PURE__ */ t("a", {
|
|
301
|
-
href: `${
|
|
312
|
+
href: `${v}/smarter-platform/extensions.html`,
|
|
302
313
|
target: "_blank",
|
|
303
314
|
className: "btn btn-sm fw-semibold extensions-btn",
|
|
304
|
-
children:
|
|
315
|
+
children: s("How extensions work")
|
|
305
316
|
}),
|
|
306
317
|
/* @__PURE__ */ t("a", {
|
|
307
318
|
href: "https://github.com/smarter-sh/extensions-registry",
|
|
308
319
|
target: "_blank",
|
|
309
320
|
className: "btn btn-sm btn-light fw-semibold",
|
|
310
|
-
children:
|
|
321
|
+
children: s("Browse the registry")
|
|
311
322
|
}),
|
|
312
323
|
/* @__PURE__ */ t("a", {
|
|
313
|
-
href: `${
|
|
324
|
+
href: `${v}/smarter-framework/smarter-extensions.html`,
|
|
314
325
|
target: "_blank",
|
|
315
326
|
className: "align-self-center fw-semibold extensions-link",
|
|
316
|
-
children:
|
|
327
|
+
children: s("Build one →")
|
|
317
328
|
})
|
|
318
329
|
]
|
|
319
330
|
})
|
|
@@ -322,8 +333,8 @@ function y() {
|
|
|
322
333
|
className: "col-md-6",
|
|
323
334
|
children: [/* @__PURE__ */ t("ul", {
|
|
324
335
|
className: "extensions-list",
|
|
325
|
-
"aria-label":
|
|
326
|
-
children:
|
|
336
|
+
"aria-label": s("Official extensions"),
|
|
337
|
+
children: y.map((e) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ n("a", {
|
|
327
338
|
href: `https://github.com/smarter-sh/smarter-extension-${e.slug}`,
|
|
328
339
|
target: "_blank",
|
|
329
340
|
rel: "noreferrer",
|
|
@@ -337,7 +348,7 @@ function y() {
|
|
|
337
348
|
className: "extensions-name",
|
|
338
349
|
children: [e.name, /* @__PURE__ */ t("span", {
|
|
339
350
|
className: "extensions-badge",
|
|
340
|
-
children:
|
|
351
|
+
children: s("Official")
|
|
341
352
|
})]
|
|
342
353
|
}), /* @__PURE__ */ t("span", {
|
|
343
354
|
className: "extensions-description",
|
|
@@ -347,7 +358,7 @@ function y() {
|
|
|
347
358
|
}) }, e.slug))
|
|
348
359
|
}), /* @__PURE__ */ n("pre", {
|
|
349
360
|
className: "extensions-manifest",
|
|
350
|
-
"aria-label":
|
|
361
|
+
"aria-label": s("An LLMClient manifest that uses an extension"),
|
|
351
362
|
children: [
|
|
352
363
|
/* @__PURE__ */ t("span", {
|
|
353
364
|
className: "extensions-key",
|
|
@@ -387,34 +398,34 @@ function y() {
|
|
|
387
398
|
}
|
|
388
399
|
//#endregion
|
|
389
400
|
//#region src/components/Instructors/Component.tsx
|
|
390
|
-
var
|
|
401
|
+
var S = "https://docs.smarter.sh", C = `${S}/smarter-instructors/example-courses`, w = [
|
|
391
402
|
{
|
|
392
403
|
value: "21",
|
|
393
|
-
label:
|
|
404
|
+
label: s("course designs")
|
|
394
405
|
},
|
|
395
406
|
{
|
|
396
407
|
value: "19",
|
|
397
|
-
label:
|
|
408
|
+
label: s("micro courses")
|
|
398
409
|
},
|
|
399
410
|
{
|
|
400
411
|
value: "2",
|
|
401
|
-
label:
|
|
412
|
+
label: s("master classes")
|
|
402
413
|
},
|
|
403
414
|
{
|
|
404
415
|
value: "$0",
|
|
405
|
-
label:
|
|
416
|
+
label: s("license fees")
|
|
406
417
|
}
|
|
407
|
-
],
|
|
418
|
+
], T = [
|
|
408
419
|
{
|
|
409
|
-
name:
|
|
420
|
+
name: s("Prompt Engineering"),
|
|
410
421
|
path: "micro-courses/prompt-engineering"
|
|
411
422
|
},
|
|
412
423
|
{
|
|
413
|
-
name:
|
|
424
|
+
name: s("Building AI Applications"),
|
|
414
425
|
path: "micro-courses/ai-applications"
|
|
415
426
|
},
|
|
416
427
|
{
|
|
417
|
-
name:
|
|
428
|
+
name: s("Agentic Development"),
|
|
418
429
|
path: "micro-courses/agentic-development"
|
|
419
430
|
},
|
|
420
431
|
{
|
|
@@ -422,23 +433,23 @@ var b = "https://docs.smarter.sh", x = `${b}/smarter-instructors/example-courses
|
|
|
422
433
|
path: "micro-courses/kubernetes"
|
|
423
434
|
},
|
|
424
435
|
{
|
|
425
|
-
name:
|
|
436
|
+
name: s("Django Master Class"),
|
|
426
437
|
path: "master-classes/django-master-class"
|
|
427
438
|
},
|
|
428
439
|
{
|
|
429
|
-
name:
|
|
440
|
+
name: s("The Economics of AI"),
|
|
430
441
|
path: "micro-courses/ai-economics"
|
|
431
442
|
},
|
|
432
443
|
{
|
|
433
|
-
name:
|
|
444
|
+
name: s("AI Governance"),
|
|
434
445
|
path: "micro-courses/ai-governance"
|
|
435
446
|
},
|
|
436
447
|
{
|
|
437
|
-
name:
|
|
448
|
+
name: s("API Design"),
|
|
438
449
|
path: "micro-courses/api-design"
|
|
439
450
|
},
|
|
440
451
|
{
|
|
441
|
-
name:
|
|
452
|
+
name: s("Backend Development"),
|
|
442
453
|
path: "micro-courses/backend-development"
|
|
443
454
|
},
|
|
444
455
|
{
|
|
@@ -446,69 +457,69 @@ var b = "https://docs.smarter.sh", x = `${b}/smarter-instructors/example-courses
|
|
|
446
457
|
path: "micro-courses/docker"
|
|
447
458
|
},
|
|
448
459
|
{
|
|
449
|
-
name:
|
|
460
|
+
name: s("AI Application Development Master Class"),
|
|
450
461
|
path: "master-classes/ai-application-development"
|
|
451
462
|
},
|
|
452
463
|
{
|
|
453
|
-
name:
|
|
464
|
+
name: s("Extension Development"),
|
|
454
465
|
path: "micro-courses/extension-development"
|
|
455
466
|
},
|
|
456
467
|
{
|
|
457
|
-
name:
|
|
468
|
+
name: s("Front End Development"),
|
|
458
469
|
path: "micro-courses/frontend-development"
|
|
459
470
|
},
|
|
460
471
|
{
|
|
461
|
-
name:
|
|
472
|
+
name: s("Full Stack Development"),
|
|
462
473
|
path: "micro-courses/full-stack-development"
|
|
463
474
|
},
|
|
464
475
|
{
|
|
465
|
-
name:
|
|
476
|
+
name: s("Infrastructure as Code"),
|
|
466
477
|
path: "micro-courses/infrastructure-as-code"
|
|
467
478
|
},
|
|
468
479
|
{
|
|
469
|
-
name:
|
|
480
|
+
name: s("Open Source Participation"),
|
|
470
481
|
path: "micro-courses/open-source"
|
|
471
482
|
},
|
|
472
483
|
{
|
|
473
|
-
name:
|
|
484
|
+
name: s("Secure Software"),
|
|
474
485
|
path: "micro-courses/secure-software"
|
|
475
486
|
},
|
|
476
487
|
{
|
|
477
|
-
name:
|
|
488
|
+
name: s("Self-Hosting Open Models"),
|
|
478
489
|
path: "micro-courses/self-hosted-models"
|
|
479
490
|
},
|
|
480
491
|
{
|
|
481
|
-
name:
|
|
492
|
+
name: s("Software Architecture"),
|
|
482
493
|
path: "micro-courses/software-architecture"
|
|
483
494
|
},
|
|
484
495
|
{
|
|
485
|
-
name:
|
|
496
|
+
name: s("Software Quality"),
|
|
486
497
|
path: "micro-courses/software-quality"
|
|
487
498
|
},
|
|
488
499
|
{
|
|
489
|
-
name:
|
|
500
|
+
name: s("Documentation with Sphinx"),
|
|
490
501
|
path: "micro-courses/sphinx-documentation"
|
|
491
502
|
}
|
|
492
|
-
],
|
|
503
|
+
], te = [
|
|
493
504
|
{
|
|
494
505
|
value: "8 hours",
|
|
495
|
-
label:
|
|
506
|
+
label: s("classroom bootcamp")
|
|
496
507
|
},
|
|
497
508
|
{
|
|
498
509
|
value: "2 weeks",
|
|
499
|
-
label:
|
|
510
|
+
label: s("online course")
|
|
500
511
|
},
|
|
501
512
|
{
|
|
502
513
|
value: "4 weeks",
|
|
503
|
-
label:
|
|
514
|
+
label: s("online course")
|
|
504
515
|
}
|
|
505
516
|
];
|
|
506
|
-
function
|
|
517
|
+
function E({ courses: e, hidden: n }) {
|
|
507
518
|
return /* @__PURE__ */ t("ul", {
|
|
508
519
|
className: "instructors-ribbon-set",
|
|
509
520
|
"aria-hidden": n || void 0,
|
|
510
521
|
children: e.map((e) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("a", {
|
|
511
|
-
href: `${
|
|
522
|
+
href: `${C}/${e.path}.html`,
|
|
512
523
|
target: "_blank",
|
|
513
524
|
className: "instructors-chip",
|
|
514
525
|
tabIndex: n ? -1 : void 0,
|
|
@@ -516,10 +527,10 @@ function T({ courses: e, hidden: n }) {
|
|
|
516
527
|
}) }, e.path))
|
|
517
528
|
});
|
|
518
529
|
}
|
|
519
|
-
function
|
|
530
|
+
function ne({ className: r = "col-xl-6" }) {
|
|
520
531
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
521
532
|
id: "instructors",
|
|
522
|
-
"aria-label":
|
|
533
|
+
"aria-label": s("Instructors"),
|
|
523
534
|
className: `${r} mb-5 mb-xl-10`,
|
|
524
535
|
children: /* @__PURE__ */ t("div", {
|
|
525
536
|
className: "card border-transparent h-100 instructors-card",
|
|
@@ -534,34 +545,34 @@ function E({ className: r = "col-xl-6" }) {
|
|
|
534
545
|
}),
|
|
535
546
|
/* @__PURE__ */ t("span", {
|
|
536
547
|
className: "instructors-eyebrow z-index-2",
|
|
537
|
-
children:
|
|
548
|
+
children: s("Free for instructors")
|
|
538
549
|
}),
|
|
539
550
|
/* @__PURE__ */ t("div", {
|
|
540
551
|
className: "fs-2x fw-bold text-white mt-3 mb-2 z-index-2 instructors-headline",
|
|
541
|
-
children: s(
|
|
552
|
+
children: u(s("Teach AI with a %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
542
553
|
className: "position-relative d-inline-block",
|
|
543
|
-
children: s(
|
|
554
|
+
children: u(s("real platform%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 instructors-underline" }) })
|
|
544
555
|
}) })
|
|
545
556
|
}),
|
|
546
557
|
/* @__PURE__ */ t("p", {
|
|
547
558
|
className: "fs-6 mb-6 z-index-2 instructors-lede",
|
|
548
|
-
children:
|
|
559
|
+
children: s("Ready-to-teach course designs, from prompt engineering for non-programmers to Kubernetes for platform engineers, with schedules, graded assignments, rubrics and capstone projects.")
|
|
549
560
|
}),
|
|
550
561
|
/* @__PURE__ */ t("dl", {
|
|
551
562
|
className: "instructors-stats z-index-2",
|
|
552
|
-
children:
|
|
563
|
+
children: w.map((e) => /* @__PURE__ */ n("div", {
|
|
553
564
|
className: "instructors-stat",
|
|
554
565
|
children: [/* @__PURE__ */ t("dt", { children: e.label }), /* @__PURE__ */ t("dd", { children: e.value })]
|
|
555
566
|
}, e.label))
|
|
556
567
|
}),
|
|
557
568
|
/* @__PURE__ */ t("nav", {
|
|
558
569
|
className: "instructors-ribbons z-index-2",
|
|
559
|
-
"aria-label":
|
|
560
|
-
children: [
|
|
570
|
+
"aria-label": s("Free courses"),
|
|
571
|
+
children: [T.slice(0, 11), T.slice(11)].map((e, r) => /* @__PURE__ */ t("div", {
|
|
561
572
|
className: "instructors-ribbon",
|
|
562
573
|
children: /* @__PURE__ */ n("div", {
|
|
563
574
|
className: `instructors-ribbon-track${r ? " instructors-ribbon-reverse" : ""}`,
|
|
564
|
-
children: [/* @__PURE__ */ t(
|
|
575
|
+
children: [/* @__PURE__ */ t(E, { courses: e }), /* @__PURE__ */ t(E, {
|
|
565
576
|
courses: e,
|
|
566
577
|
hidden: !0
|
|
567
578
|
})]
|
|
@@ -572,8 +583,8 @@ function E({ className: r = "col-xl-6" }) {
|
|
|
572
583
|
className: "instructors-formats z-index-2",
|
|
573
584
|
children: [/* @__PURE__ */ t("span", {
|
|
574
585
|
className: "instructors-formats-label",
|
|
575
|
-
children:
|
|
576
|
-
}), /* @__PURE__ */ t("ul", { children:
|
|
586
|
+
children: s("Every micro course, three ways")
|
|
587
|
+
}), /* @__PURE__ */ t("ul", { children: te.map((e) => /* @__PURE__ */ n("li", { children: [
|
|
577
588
|
/* @__PURE__ */ t("strong", { children: e.value }),
|
|
578
589
|
" ",
|
|
579
590
|
e.label
|
|
@@ -582,15 +593,15 @@ function E({ className: r = "col-xl-6" }) {
|
|
|
582
593
|
/* @__PURE__ */ n("div", {
|
|
583
594
|
className: "mt-auto pt-7 z-index-2",
|
|
584
595
|
children: [/* @__PURE__ */ t("a", {
|
|
585
|
-
href: `${
|
|
596
|
+
href: `${C}/index.html`,
|
|
586
597
|
target: "_blank",
|
|
587
598
|
className: "btn btn-sm fw-semibold me-2 instructors-btn",
|
|
588
|
-
children:
|
|
599
|
+
children: s("Browse the free courses")
|
|
589
600
|
}), /* @__PURE__ */ t("a", {
|
|
590
|
-
href: `${
|
|
601
|
+
href: `${S}/smarter-instructor.html`,
|
|
591
602
|
target: "_blank",
|
|
592
603
|
className: "btn btn-sm btn-light fw-semibold",
|
|
593
|
-
children:
|
|
604
|
+
children: s("Instructor Guide")
|
|
594
605
|
})]
|
|
595
606
|
})
|
|
596
607
|
]
|
|
@@ -600,52 +611,52 @@ function E({ className: r = "col-xl-6" }) {
|
|
|
600
611
|
}
|
|
601
612
|
//#endregion
|
|
602
613
|
//#region src/assets/docusaurus.svg
|
|
603
|
-
var D = "data:image/svg+xml,%3csvg%20fill='%233ECC5F'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDocusaurus%3c/title%3e%3cpath%20d='M2.462%2022.201h12.321a2.466%202.466%200%200%200%202.369-1.854c.026.004.052.008.079.008a.621.621%200%200%200%20.615-.615.621.621%200%200%200-.615-.615c-.027%200-.053.004-.079.007l-.014-.055a.62.62%200%200%200%20.378-.568.621.621%200%200%200-.615-.615.608.608%200%200%200-.371.127l-.042-.041a.606.606%200%200%200%20.125-.368c0-.67-.919-.858-1.181-.241l-.055-.014c.003-.026.008-.052.008-.079a.622.622%200%200%200-.616-.615.621.621%200%200%200-.615.615h-.096a.617.617%200%200%200-1.033%200h-.717v-2.461h2.461c.115%200%20.226-.017.331-.047a.307.307%200%201%200%20.529-.304l.02-.021c.052.04.116.064.186.064h.002c.337%200%20.428-.463.117-.591l.007-.028c.013.001.026.004.039.004a.31.31%200%200%200%20.308-.308.31.31%200%200%200-.308-.308c-.013%200-.026.003-.039.004a.28.28%200%200%201-.007-.027c.327-.13-.028-.745-.305-.528l-.02-.021a.307.307%200%200%200%20.062-.184c-.011-.326-.454-.416-.591-.12a1.238%201.238%200%200%200-.32-.047h-2.143a2.465%202.465%200%200%201%202.132-1.23h7.385V9.894l-8.618-.539a1.315%201.315%200%200%201-1.229-1.308c0-.688.542-1.265%201.229-1.307l8.618-.539v-1.23a2.473%202.473%200%200%200-2.462-2.462H8.615l-.307-.533a.356.356%200%200%200-.616%200l-.307.533-.308-.533a.355.355%200%200%200-.615%200l-.308.533-.308-.533a.355.355%200%200%200-.615%200l-.308.533-.008.001-.51-.51a.354.354%200%200%200-.594.159l-.168.628-.639-.171a.357.357%200%200%200-.436.435l.172.639-.628.169a.356.356%200%200%200-.16.594l.51.51v.008l-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308a2.463%202.463%200%200%201-2.13-1.231A2.465%202.465%200%200%200%200%2019.74c0%201.35%201.112%202.46%202.462%202.461zm19.692-5.204v2.743a2.473%202.473%200%200%201-2.461%202.461h-.001%201.231a2.466%202.466%200%200%200%202.383-1.854c.026.004.052.008.079.008A.621.621%200%200%200%2024%2019.74a.621.621%200%200%200-.615-.615c-.027%200-.053.004-.079.007l-.014-.055a.62.62%200%200%200%20.378-.568.621.621%200%200%200-.615-.615.608.608%200%200%200-.371.127l-.042-.041a.612.612%200%200%200%20.125-.368.623.623%200%200%200-.613-.615zm-4.067%202.62h2.223c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-2.223a.845.845%200%200%200%200-.246zm-.33-1.231h2.553c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-2.553a.845.845%200%200%200%200-.246zm-1.026-1.231h3.579c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-3.474a.85.85%200%200%200-.105-.246zm3.579-.984h-6.159a.126.126%200%200%201-.123-.123c0-.068.056-.123.123-.123h6.159c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123zm1.844-3.816v2.462c.115%200%20.225-.017.331-.047a.308.308%200%201%200%20.528-.304l.021-.021c.052.04.116.064.186.064a.312.312%200%200%200%20.307-.308.306.306%200%200%200-.189-.283l.007-.028c.013.001.026.004.04.004a.312.312%200%200%200%20.307-.308.312.312%200%200%200-.307-.308c-.014%200-.027.003-.04.004l-.007-.027a.31.31%200%200%200-.118-.592.306.306%200%200%200-.186.064l-.021-.021a.3.3%200%200%200%20.063-.184c-.011-.326-.454-.416-.591-.12a1.24%201.24%200%200%200-.321-.047zm-6.059%202.339h4.215c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-4.451a.564.564%200%200%200%20.073-.19.553.553%200%200%200%20.163-.056zm.454-1.208h3.761c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-3.772a.552.552%200%200%200%20.011-.246zm5.605-6.225h-.004c-.381.013-.561.393-.719.729-.166.35-.294.578-.504.572-.233-.009-.366-.271-.506-.549-.162-.32-.347-.682-.734-.668-.375.013-.556.344-.715.636-.169.311-.285.5-.507.491-.237-.008-.363-.222-.509-.469-.163-.275-.351-.585-.731-.574-.368.013-.549.294-.709.542-.169.262-.287.421-.513.412-.243-.009-.368-.186-.513-.391-.163-.231-.347-.491-.726-.479-.36.013-.541.243-.701.446-.151.192-.27.344-.52.335h-.005a.126.126%200%200%200-.123.123c0%20.066.053.121.119.123.371.012.559-.222.723-.429.145-.184.27-.343.516-.352.237-.01.348.138.516.375.16.226.341.482.705.495.382.013.566-.273.729-.525.145-.226.271-.421.511-.429.22-.008.34.166.51.453.159.271.34.577.712.59.385.014.57-.322.732-.619.14-.257.273-.5.507-.508.221-.005.336.196.506.533.159.314.339.67.717.684h.021c.377%200%20.556-.378.714-.713.14-.297.273-.576.501-.588zM7.385%206.509a.312.312%200%200%201-.308-.308c-.01-.532-.378-.911-.927-.922-.528-.011-.888.432-.919.922-.011.168-.139.307-.308.308a.31.31%200%200%201-.308-.308c0-.848.69-1.538%201.539-1.538.848%200%201.538.69%201.538%201.538a.312.312%200%200%201-.307.308zm9.846-2.308a.31.31%200%200%201%20.308.308.31.31%200%200%201-.308.308.31.31%200%200%201-.308-.308.31.31%200%200%201%20.308-.308zm2.461-.153a.31.31%200%200%201%20.307.308.31.31%200%200%201-.308.308h-.001a.31.31%200%200%201-.307-.308.31.31%200%200%201%20.308-.308z'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20fill='%230678BE'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDrupal%3c/title%3e%3cpath%20d='M15.78%205.113C14.09%203.425%2012.48%201.815%2011.998%200c-.48%201.815-2.09%203.425-3.778%205.113-2.534%202.53-5.405%205.4-5.405%209.702a9.184%209.185%200%201018.368%200c0-4.303-2.871-7.171-5.405-9.702M6.72%2016.954c-.563-.019-2.64-3.6%201.215-7.416l2.55%202.788a.218.218%200%2001-.016.325c-.61.625-3.204%203.227-3.527%204.126-.066.186-.164.18-.222.177M12%2021.677a3.158%203.158%200%2001-3.158-3.159%203.291%203.291%200%2001.787-2.087c.57-.696%202.37-2.655%202.37-2.655s1.774%201.988%202.367%202.649a3.09%203.09%200%2001.792%202.093A3.158%203.158%200%200112%2021.677m6.046-5.123c-.068.15-.223.398-.431.405-.371.014-.411-.177-.686-.583-.604-.892-5.864-6.39-6.848-7.455-.866-.935-.122-1.595.223-1.94C10.736%206.547%2012%205.285%2012%205.285s3.766%203.574%205.336%206.016c1.57%202.443%201.029%204.556.71%205.253'/%3e%3c/svg%3e", k = "data:image/svg+xml,%3csvg%20fill='%23526CFE'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eMaterial%20for%20MkDocs%3c/title%3e%3cpath%20d='m17.029%2018.772.777%201.166-5.417%202.709L0%2016.451V4.063l5.417-2.709%205.298%207.948%207.867-5.24L24%201.354V16.84l-5.417%202.709zm2.023-13.827v13.253l3.949-1.975V2.97zM5.076%202.642%201.458%204.45%2012.73%2021.358l3.618-1.809z'/%3e%3c/svg%3e", A = "data:image/svg+xml,%3csvg%20fill='%237AB55C'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eShopify%3c/title%3e%3cpath%20d='M15.337%2023.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914%2021.104h.023zM11.71%2011.305s-.81-.424-1.774-.424c-1.447%200-1.504.906-1.504%201.141%200%201.232%203.24%201.715%203.24%204.629%200%202.295-1.44%203.76-3.406%203.76-2.354%200-3.54-1.465-3.54-1.465l.646-2.086s1.245%201.066%202.28%201.066c.675%200%20.975-.545.975-.932%200-1.619-2.654-1.694-2.654-4.359-.034-2.237%201.571-4.416%204.827-4.416%201.257%200%201.875.361%201.875.361l-.945%202.715-.02.01zM11.17.83c.136%200%20.271.038.405.135-.984.465-2.064%201.639-2.508%203.992-.656.213-1.293.405-1.889.578C7.697%203.75%208.951.84%2011.17.84V.83zm1.235%202.949v.135c-.754.232-1.583.484-2.394.736.466-1.777%201.333-2.645%202.085-2.971.193.501.309%201.176.309%202.1zm.539-2.234c.694.074%201.141.867%201.429%201.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992%201.289c-.02%200-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209%2011.669%200%2011.265%200%208.159%200%206.675%203.877%206.21%205.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83%2014.063-1.83%2014.063L15.009%2024l.927-21.166z'/%3e%3c/svg%3e", j = "data:image/svg+xml,%3csvg%20fill='%23000000'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eSphinx%3c/title%3e%3cpath%20d='M16.284%2019.861c0-.654.177-1.834.393-2.623.499-1.822.774-4.079.497-4.079-.116%200-.959.762-1.873%201.694-3.472%203.54-7.197%205.543-10.312%205.543-1.778%200-2.987-.45-4.154-1.545C.128%2018.186%200%2017.858%200%2016.703c0-1.188.117-1.468.909-2.175.718-.642%201.171-.813%202.157-.813.76.171%201.21.16%201.457.461.251.296.338%201.265.035%201.832-.162.303-.585.491-1.105.491-.49%200-.77-.116-.669-.278.315-.511-.135-.857-.713-.548-.699.374-.711%201.698-.021%202.322.969.878%203.65%201.208%205.262.648%201.743-.605%204.022-2.061%205.841-3.732l1.6-1.469-2.088-.013c-2.186-.012-3.608-.273-8.211-1.506-1.531-.41-3.003-.765-3.271-.789-.304-.026-.503-.274-.487-.656.027-.646.378-1.127.793-1.308.249-.109%201.977-.274%203.809-.761%207.136-1.898%207.569-1.629%2012.323-.426%201.553.393%203.351.821%204.147.835%201.227.022%201.493.124%201.74.666.16.351.291.686.291.745%200%20.058-.695.424-1.545.813-3.12%201.428-4.104%202.185-3.088%203.635.421.602.412.666-.14%201.052-.323.227-.59.687-.593%201.022-.009.908-.583%202.856-1.417%203.624l-.732.675v-1.189Zm1.594-8.328c1.242-.346%201.994-.738%203.539-1.562-1.272-.372-4.462-.895-4.462-.895-2.354-.472-2.108-.448-2.214.071a3.475%203.475%200%200%201-.45%201.105c-.541.848-2.521%201.026-3.656.483-.356-.171-.714-.821-.709-1.283.007-.65-.362-.801-.598-.714-.191.07-.813.079-2.179.448-4.514%201.217-5.132%201.078-2.189%201.495.353.05%202.223.572%203.136.815%202.239.597%202.658.641%205.556.581%202.015-.042%202.858-.163%204.226-.544ZM.732%206.258c.056-.577.088-.702%201.692-1.025.919-.185%203.185-.785%205.036-1.333%204.254-1.26%205.462-1.263%209.873-.026%201.904.535%204.037.973%204.74.975%201.097.002%201.668.487%201.668.487.505%201.16.412%201.24-1.558%201.24-1.374%200-2.558-.232-4.385-.857-1.389-.476-3.369-.923-4.451-1.004-1.974-.149-1.971-.15-8.072%201.529-1.072.295-2.553.624-3.29.732l-1.342.196.089-.914Z'/%3e%3c/svg%3e", M = "data:image/svg+xml,%3csvg%20fill='%235C73E7'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eVitePress%3c/title%3e%3cpath%20d='M17.029.0014a1.8382%201.8382%200%200%200-.1875.0176L4.0845%201.8334C3.0779%201.9767%202.3767%202.9196%202.518%203.939l2.5604%2018.457c.1415%201.0193%201.0735%201.7292%202.08%201.586l12.757-1.8165c1.0066-.1433%201.7078-1.0861%201.5664-2.1054L18.9215%201.6049C18.7889.6493%2017.961-.035%2017.029.0014Zm.127.9316c.4271.027.7915.3549.8534.8008l2.5604%2018.457c.0707.5097-.28.9812-.7831%201.0528L7.0296%2023.058c-.5033.0717-.9683-.2833-1.039-.793L3.4302%203.81c-.0707-.5097.2799-.9811.7832-1.0528L16.9704.9408A.9066.9066%200%200%201%2017.156.933zm-3.6443%205.3541L9.9668%207.5215a.1364.1364%200%200%200-.0898.1406l.3183%203.8692c.0075.0911.0994.1497.1836.1171l.9824-.3789c.092-.0355.1894.0373.1836.1368l-.0898%201.539c-.006.1036.1005.1763.1933.1328l.5997-.2812c.093-.0435.1976.031.1914.1347l-.1465%202.418c-.0092.1513.195.2037.2578.0664l.041-.0918%202.123-6.4238c.0355-.1076-.0658-.2104-.1718-.1738l-1.0176.3515c-.0955.033-.1917-.0491-.1777-.1504l.3437-2.4902a.1368.1368%200%200%200-.1426-.1562c-.016-.001-.0422.0084-.037.0058zm2.8223.7988a.2717.2717%200%200%200-.0801.0137L14%207.8496l-.0762.5606.4551-.1563c.5074-.1627.973.2955.8106.8027l-2.131%206.4493-.0526.1171c-.1268.2776-.4416.4304-.7383.3516-.2904-.077-.4911-.353-.4727-.6562l.1094-1.8086c-.5057.2578-.9731-.1473-.9473-.5938l.0567-.9765-.4532.1757c-.4144.1536-.8298-.1366-.8632-.543L9.453%208.5997l-3.0625-.123c-.2294-.0093-.3635.2552-.2226.4394l6.291%208.2305c.1293.169.391.1302.4668-.0684l3.668-9.6191c.072-.1889-.0765-.377-.2598-.373z'/%3e%3c/svg%3e", N = "data:image/svg+xml,%3csvg%20fill='%2321759B'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eWordPress%3c/title%3e%3cpath%20d='M21.469%206.825c.84%201.537%201.318%203.3%201.318%205.175%200%203.979-2.156%207.456-5.363%209.325l3.295-9.527c.615-1.54.82-2.771.82-3.864%200-.405-.026-.78-.07-1.11m-7.981.105c.647-.03%201.232-.105%201.232-.105.582-.075.514-.93-.067-.899%200%200-1.755.135-2.88.135-1.064%200-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885%200%200%20.54.061%201.125.09l1.68%204.605-2.37%207.08L5.354%206.9c.649-.03%201.234-.1%201.234-.1.585-.075.516-.93-.065-.896%200%200-1.746.138-2.874.138-.2%200-.438-.008-.69-.015C4.911%203.15%208.235%201.215%2012%201.215c2.809%200%205.365%201.072%207.286%202.833-.046-.003-.091-.009-.141-.009-1.06%200-1.812.923-1.812%201.914%200%20.89.513%201.643%201.06%202.531.411.72.89%201.643.89%202.977%200%20.915-.354%201.994-.821%203.479l-1.075%203.585-3.9-11.61.001.014zM12%2022.784c-1.059%200-2.081-.153-3.048-.437l3.237-9.406%203.315%209.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211%2012c0-1.564.336-3.05.935-4.39L7.29%2021.709C3.694%2019.96%201.212%2016.271%201.211%2012M12%200C5.385%200%200%205.385%200%2012s5.385%2012%2012%2012%2012-5.385%2012-12S18.615%200%2012%200'/%3e%3c/svg%3e", P = "https://docs.smarter.sh/en/latest/smarter-framework", F = [
|
|
614
|
+
var re = "data:image/svg+xml,%3csvg%20fill='%233ECC5F'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDocusaurus%3c/title%3e%3cpath%20d='M2.462%2022.201h12.321a2.466%202.466%200%200%200%202.369-1.854c.026.004.052.008.079.008a.621.621%200%200%200%20.615-.615.621.621%200%200%200-.615-.615c-.027%200-.053.004-.079.007l-.014-.055a.62.62%200%200%200%20.378-.568.621.621%200%200%200-.615-.615.608.608%200%200%200-.371.127l-.042-.041a.606.606%200%200%200%20.125-.368c0-.67-.919-.858-1.181-.241l-.055-.014c.003-.026.008-.052.008-.079a.622.622%200%200%200-.616-.615.621.621%200%200%200-.615.615h-.096a.617.617%200%200%200-1.033%200h-.717v-2.461h2.461c.115%200%20.226-.017.331-.047a.307.307%200%201%200%20.529-.304l.02-.021c.052.04.116.064.186.064h.002c.337%200%20.428-.463.117-.591l.007-.028c.013.001.026.004.039.004a.31.31%200%200%200%20.308-.308.31.31%200%200%200-.308-.308c-.013%200-.026.003-.039.004a.28.28%200%200%201-.007-.027c.327-.13-.028-.745-.305-.528l-.02-.021a.307.307%200%200%200%20.062-.184c-.011-.326-.454-.416-.591-.12a1.238%201.238%200%200%200-.32-.047h-2.143a2.465%202.465%200%200%201%202.132-1.23h7.385V9.894l-8.618-.539a1.315%201.315%200%200%201-1.229-1.308c0-.688.542-1.265%201.229-1.307l8.618-.539v-1.23a2.473%202.473%200%200%200-2.462-2.462H8.615l-.307-.533a.356.356%200%200%200-.616%200l-.307.533-.308-.533a.355.355%200%200%200-.615%200l-.308.533-.308-.533a.355.355%200%200%200-.615%200l-.308.533-.008.001-.51-.51a.354.354%200%200%200-.594.159l-.168.628-.639-.171a.357.357%200%200%200-.436.435l.172.639-.628.169a.356.356%200%200%200-.16.594l.51.51v.008l-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.307a.356.356%200%200%200%200%20.616l.533.307-.533.308a.355.355%200%200%200%200%20.615l.533.308-.533.308a.355.355%200%200%200%200%20.615l.533.308a2.463%202.463%200%200%201-2.13-1.231A2.465%202.465%200%200%200%200%2019.74c0%201.35%201.112%202.46%202.462%202.461zm19.692-5.204v2.743a2.473%202.473%200%200%201-2.461%202.461h-.001%201.231a2.466%202.466%200%200%200%202.383-1.854c.026.004.052.008.079.008A.621.621%200%200%200%2024%2019.74a.621.621%200%200%200-.615-.615c-.027%200-.053.004-.079.007l-.014-.055a.62.62%200%200%200%20.378-.568.621.621%200%200%200-.615-.615.608.608%200%200%200-.371.127l-.042-.041a.612.612%200%200%200%20.125-.368.623.623%200%200%200-.613-.615zm-4.067%202.62h2.223c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-2.223a.845.845%200%200%200%200-.246zm-.33-1.231h2.553c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-2.553a.845.845%200%200%200%200-.246zm-1.026-1.231h3.579c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-3.474a.85.85%200%200%200-.105-.246zm3.579-.984h-6.159a.126.126%200%200%201-.123-.123c0-.068.056-.123.123-.123h6.159c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123zm1.844-3.816v2.462c.115%200%20.225-.017.331-.047a.308.308%200%201%200%20.528-.304l.021-.021c.052.04.116.064.186.064a.312.312%200%200%200%20.307-.308.306.306%200%200%200-.189-.283l.007-.028c.013.001.026.004.04.004a.312.312%200%200%200%20.307-.308.312.312%200%200%200-.307-.308c-.014%200-.027.003-.04.004l-.007-.027a.31.31%200%200%200-.118-.592.306.306%200%200%200-.186.064l-.021-.021a.3.3%200%200%200%20.063-.184c-.011-.326-.454-.416-.591-.12a1.24%201.24%200%200%200-.321-.047zm-6.059%202.339h4.215c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-4.451a.564.564%200%200%200%20.073-.19.553.553%200%200%200%20.163-.056zm.454-1.208h3.761c.067%200%20.123.056.123.123a.124.124%200%200%201-.123.123h-3.772a.552.552%200%200%200%20.011-.246zm5.605-6.225h-.004c-.381.013-.561.393-.719.729-.166.35-.294.578-.504.572-.233-.009-.366-.271-.506-.549-.162-.32-.347-.682-.734-.668-.375.013-.556.344-.715.636-.169.311-.285.5-.507.491-.237-.008-.363-.222-.509-.469-.163-.275-.351-.585-.731-.574-.368.013-.549.294-.709.542-.169.262-.287.421-.513.412-.243-.009-.368-.186-.513-.391-.163-.231-.347-.491-.726-.479-.36.013-.541.243-.701.446-.151.192-.27.344-.52.335h-.005a.126.126%200%200%200-.123.123c0%20.066.053.121.119.123.371.012.559-.222.723-.429.145-.184.27-.343.516-.352.237-.01.348.138.516.375.16.226.341.482.705.495.382.013.566-.273.729-.525.145-.226.271-.421.511-.429.22-.008.34.166.51.453.159.271.34.577.712.59.385.014.57-.322.732-.619.14-.257.273-.5.507-.508.221-.005.336.196.506.533.159.314.339.67.717.684h.021c.377%200%20.556-.378.714-.713.14-.297.273-.576.501-.588zM7.385%206.509a.312.312%200%200%201-.308-.308c-.01-.532-.378-.911-.927-.922-.528-.011-.888.432-.919.922-.011.168-.139.307-.308.308a.31.31%200%200%201-.308-.308c0-.848.69-1.538%201.539-1.538.848%200%201.538.69%201.538%201.538a.312.312%200%200%201-.307.308zm9.846-2.308a.31.31%200%200%201%20.308.308.31.31%200%200%201-.308.308.31.31%200%200%201-.308-.308.31.31%200%200%201%20.308-.308zm2.461-.153a.31.31%200%200%201%20.307.308.31.31%200%200%201-.308.308h-.001a.31.31%200%200%201-.307-.308.31.31%200%200%201%20.308-.308z'/%3e%3c/svg%3e", ie = "data:image/svg+xml,%3csvg%20fill='%230678BE'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDrupal%3c/title%3e%3cpath%20d='M15.78%205.113C14.09%203.425%2012.48%201.815%2011.998%200c-.48%201.815-2.09%203.425-3.778%205.113-2.534%202.53-5.405%205.4-5.405%209.702a9.184%209.185%200%201018.368%200c0-4.303-2.871-7.171-5.405-9.702M6.72%2016.954c-.563-.019-2.64-3.6%201.215-7.416l2.55%202.788a.218.218%200%2001-.016.325c-.61.625-3.204%203.227-3.527%204.126-.066.186-.164.18-.222.177M12%2021.677a3.158%203.158%200%2001-3.158-3.159%203.291%203.291%200%2001.787-2.087c.57-.696%202.37-2.655%202.37-2.655s1.774%201.988%202.367%202.649a3.09%203.09%200%2001.792%202.093A3.158%203.158%200%200112%2021.677m6.046-5.123c-.068.15-.223.398-.431.405-.371.014-.411-.177-.686-.583-.604-.892-5.864-6.39-6.848-7.455-.866-.935-.122-1.595.223-1.94C10.736%206.547%2012%205.285%2012%205.285s3.766%203.574%205.336%206.016c1.57%202.443%201.029%204.556.71%205.253'/%3e%3c/svg%3e", D = "data:image/svg+xml,%3csvg%20fill='%23526CFE'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eMaterial%20for%20MkDocs%3c/title%3e%3cpath%20d='m17.029%2018.772.777%201.166-5.417%202.709L0%2016.451V4.063l5.417-2.709%205.298%207.948%207.867-5.24L24%201.354V16.84l-5.417%202.709zm2.023-13.827v13.253l3.949-1.975V2.97zM5.076%202.642%201.458%204.45%2012.73%2021.358l3.618-1.809z'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20fill='%237AB55C'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eShopify%3c/title%3e%3cpath%20d='M15.337%2023.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914%2021.104h.023zM11.71%2011.305s-.81-.424-1.774-.424c-1.447%200-1.504.906-1.504%201.141%200%201.232%203.24%201.715%203.24%204.629%200%202.295-1.44%203.76-3.406%203.76-2.354%200-3.54-1.465-3.54-1.465l.646-2.086s1.245%201.066%202.28%201.066c.675%200%20.975-.545.975-.932%200-1.619-2.654-1.694-2.654-4.359-.034-2.237%201.571-4.416%204.827-4.416%201.257%200%201.875.361%201.875.361l-.945%202.715-.02.01zM11.17.83c.136%200%20.271.038.405.135-.984.465-2.064%201.639-2.508%203.992-.656.213-1.293.405-1.889.578C7.697%203.75%208.951.84%2011.17.84V.83zm1.235%202.949v.135c-.754.232-1.583.484-2.394.736.466-1.777%201.333-2.645%202.085-2.971.193.501.309%201.176.309%202.1zm.539-2.234c.694.074%201.141.867%201.429%201.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992%201.289c-.02%200-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209%2011.669%200%2011.265%200%208.159%200%206.675%203.877%206.21%205.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83%2014.063-1.83%2014.063L15.009%2024l.927-21.166z'/%3e%3c/svg%3e", k = "data:image/svg+xml,%3csvg%20fill='%23000000'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eSphinx%3c/title%3e%3cpath%20d='M16.284%2019.861c0-.654.177-1.834.393-2.623.499-1.822.774-4.079.497-4.079-.116%200-.959.762-1.873%201.694-3.472%203.54-7.197%205.543-10.312%205.543-1.778%200-2.987-.45-4.154-1.545C.128%2018.186%200%2017.858%200%2016.703c0-1.188.117-1.468.909-2.175.718-.642%201.171-.813%202.157-.813.76.171%201.21.16%201.457.461.251.296.338%201.265.035%201.832-.162.303-.585.491-1.105.491-.49%200-.77-.116-.669-.278.315-.511-.135-.857-.713-.548-.699.374-.711%201.698-.021%202.322.969.878%203.65%201.208%205.262.648%201.743-.605%204.022-2.061%205.841-3.732l1.6-1.469-2.088-.013c-2.186-.012-3.608-.273-8.211-1.506-1.531-.41-3.003-.765-3.271-.789-.304-.026-.503-.274-.487-.656.027-.646.378-1.127.793-1.308.249-.109%201.977-.274%203.809-.761%207.136-1.898%207.569-1.629%2012.323-.426%201.553.393%203.351.821%204.147.835%201.227.022%201.493.124%201.74.666.16.351.291.686.291.745%200%20.058-.695.424-1.545.813-3.12%201.428-4.104%202.185-3.088%203.635.421.602.412.666-.14%201.052-.323.227-.59.687-.593%201.022-.009.908-.583%202.856-1.417%203.624l-.732.675v-1.189Zm1.594-8.328c1.242-.346%201.994-.738%203.539-1.562-1.272-.372-4.462-.895-4.462-.895-2.354-.472-2.108-.448-2.214.071a3.475%203.475%200%200%201-.45%201.105c-.541.848-2.521%201.026-3.656.483-.356-.171-.714-.821-.709-1.283.007-.65-.362-.801-.598-.714-.191.07-.813.079-2.179.448-4.514%201.217-5.132%201.078-2.189%201.495.353.05%202.223.572%203.136.815%202.239.597%202.658.641%205.556.581%202.015-.042%202.858-.163%204.226-.544ZM.732%206.258c.056-.577.088-.702%201.692-1.025.919-.185%203.185-.785%205.036-1.333%204.254-1.26%205.462-1.263%209.873-.026%201.904.535%204.037.973%204.74.975%201.097.002%201.668.487%201.668.487.505%201.16.412%201.24-1.558%201.24-1.374%200-2.558-.232-4.385-.857-1.389-.476-3.369-.923-4.451-1.004-1.974-.149-1.971-.15-8.072%201.529-1.072.295-2.553.624-3.29.732l-1.342.196.089-.914Z'/%3e%3c/svg%3e", A = "data:image/svg+xml,%3csvg%20fill='%235C73E7'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eVitePress%3c/title%3e%3cpath%20d='M17.029.0014a1.8382%201.8382%200%200%200-.1875.0176L4.0845%201.8334C3.0779%201.9767%202.3767%202.9196%202.518%203.939l2.5604%2018.457c.1415%201.0193%201.0735%201.7292%202.08%201.586l12.757-1.8165c1.0066-.1433%201.7078-1.0861%201.5664-2.1054L18.9215%201.6049C18.7889.6493%2017.961-.035%2017.029.0014Zm.127.9316c.4271.027.7915.3549.8534.8008l2.5604%2018.457c.0707.5097-.28.9812-.7831%201.0528L7.0296%2023.058c-.5033.0717-.9683-.2833-1.039-.793L3.4302%203.81c-.0707-.5097.2799-.9811.7832-1.0528L16.9704.9408A.9066.9066%200%200%201%2017.156.933zm-3.6443%205.3541L9.9668%207.5215a.1364.1364%200%200%200-.0898.1406l.3183%203.8692c.0075.0911.0994.1497.1836.1171l.9824-.3789c.092-.0355.1894.0373.1836.1368l-.0898%201.539c-.006.1036.1005.1763.1933.1328l.5997-.2812c.093-.0435.1976.031.1914.1347l-.1465%202.418c-.0092.1513.195.2037.2578.0664l.041-.0918%202.123-6.4238c.0355-.1076-.0658-.2104-.1718-.1738l-1.0176.3515c-.0955.033-.1917-.0491-.1777-.1504l.3437-2.4902a.1368.1368%200%200%200-.1426-.1562c-.016-.001-.0422.0084-.037.0058zm2.8223.7988a.2717.2717%200%200%200-.0801.0137L14%207.8496l-.0762.5606.4551-.1563c.5074-.1627.973.2955.8106.8027l-2.131%206.4493-.0526.1171c-.1268.2776-.4416.4304-.7383.3516-.2904-.077-.4911-.353-.4727-.6562l.1094-1.8086c-.5057.2578-.9731-.1473-.9473-.5938l.0567-.9765-.4532.1757c-.4144.1536-.8298-.1366-.8632-.543L9.453%208.5997l-3.0625-.123c-.2294-.0093-.3635.2552-.2226.4394l6.291%208.2305c.1293.169.391.1302.4668-.0684l3.668-9.6191c.072-.1889-.0765-.377-.2598-.373z'/%3e%3c/svg%3e", j = "data:image/svg+xml,%3csvg%20fill='%2321759B'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eWordPress%3c/title%3e%3cpath%20d='M21.469%206.825c.84%201.537%201.318%203.3%201.318%205.175%200%203.979-2.156%207.456-5.363%209.325l3.295-9.527c.615-1.54.82-2.771.82-3.864%200-.405-.026-.78-.07-1.11m-7.981.105c.647-.03%201.232-.105%201.232-.105.582-.075.514-.93-.067-.899%200%200-1.755.135-2.88.135-1.064%200-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885%200%200%20.54.061%201.125.09l1.68%204.605-2.37%207.08L5.354%206.9c.649-.03%201.234-.1%201.234-.1.585-.075.516-.93-.065-.896%200%200-1.746.138-2.874.138-.2%200-.438-.008-.69-.015C4.911%203.15%208.235%201.215%2012%201.215c2.809%200%205.365%201.072%207.286%202.833-.046-.003-.091-.009-.141-.009-1.06%200-1.812.923-1.812%201.914%200%20.89.513%201.643%201.06%202.531.411.72.89%201.643.89%202.977%200%20.915-.354%201.994-.821%203.479l-1.075%203.585-3.9-11.61.001.014zM12%2022.784c-1.059%200-2.081-.153-3.048-.437l3.237-9.406%203.315%209.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211%2012c0-1.564.336-3.05.935-4.39L7.29%2021.709C3.694%2019.96%201.212%2016.271%201.211%2012M12%200C5.385%200%200%205.385%200%2012s5.385%2012%2012%2012%2012-5.385%2012-12S18.615%200%2012%200'/%3e%3c/svg%3e", M = "https://docs.smarter.sh/en/latest/smarter-framework", N = [
|
|
604
615
|
{
|
|
605
616
|
name: "WordPress",
|
|
606
|
-
logo:
|
|
607
|
-
docs: `${
|
|
617
|
+
logo: j,
|
|
618
|
+
docs: `${M}/smarter-wordpress.html`
|
|
608
619
|
},
|
|
609
620
|
{
|
|
610
621
|
name: "Drupal",
|
|
611
|
-
logo:
|
|
612
|
-
docs: `${
|
|
622
|
+
logo: ie,
|
|
623
|
+
docs: `${M}/smarter-drupal.html`
|
|
613
624
|
},
|
|
614
625
|
{
|
|
615
626
|
name: "Shopify",
|
|
616
|
-
logo:
|
|
617
|
-
docs: `${
|
|
627
|
+
logo: O,
|
|
628
|
+
docs: `${M}/smarter-shopify.html`
|
|
618
629
|
},
|
|
619
630
|
{
|
|
620
631
|
name: "Google Tag Manager",
|
|
621
632
|
logo: "/static/assets/media/svg/brand-logos/google-tag-manager.svg",
|
|
622
|
-
docs: `${
|
|
633
|
+
docs: `${M}/smarter-gtm.html`
|
|
623
634
|
},
|
|
624
635
|
{
|
|
625
636
|
name: "Docusaurus",
|
|
626
|
-
logo:
|
|
627
|
-
docs: `${
|
|
637
|
+
logo: re,
|
|
638
|
+
docs: `${M}/smarter-docs-sites.html`
|
|
628
639
|
},
|
|
629
640
|
{
|
|
630
641
|
name: "MkDocs",
|
|
631
|
-
logo:
|
|
632
|
-
docs: `${
|
|
642
|
+
logo: D,
|
|
643
|
+
docs: `${M}/smarter-docs-sites.html`
|
|
633
644
|
},
|
|
634
645
|
{
|
|
635
646
|
name: "Sphinx",
|
|
636
|
-
logo:
|
|
637
|
-
docs: `${
|
|
647
|
+
logo: k,
|
|
648
|
+
docs: `${M}/smarter-docs-sites.html`
|
|
638
649
|
},
|
|
639
650
|
{
|
|
640
651
|
name: "VitePress",
|
|
641
|
-
logo:
|
|
642
|
-
docs: `${
|
|
652
|
+
logo: A,
|
|
653
|
+
docs: `${M}/smarter-docs-sites.html`
|
|
643
654
|
}
|
|
644
655
|
];
|
|
645
|
-
function
|
|
656
|
+
function P({ className: r = "col-xl-4" }) {
|
|
646
657
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
647
658
|
id: "integrations",
|
|
648
|
-
"aria-label":
|
|
659
|
+
"aria-label": s("Integrations"),
|
|
649
660
|
className: `${r} mb-5 mb-xl-10`,
|
|
650
661
|
children: /* @__PURE__ */ t("div", {
|
|
651
662
|
className: "card border-transparent h-100 integrations-card",
|
|
@@ -660,18 +671,18 @@ function I({ className: r = "col-xl-4" }) {
|
|
|
660
671
|
}),
|
|
661
672
|
/* @__PURE__ */ t("div", {
|
|
662
673
|
className: "position-relative fs-2x fw-bold text-white mb-2 z-index-2",
|
|
663
|
-
children: s(
|
|
674
|
+
children: u(s("Put your chatbot %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
664
675
|
className: "position-relative d-inline-block",
|
|
665
|
-
children: s(
|
|
676
|
+
children: u(s("everywhere%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute opacity-50 bottom-0 start-0 border-4 border-warning border-bottom w-100" }) })
|
|
666
677
|
}) })
|
|
667
678
|
}),
|
|
668
679
|
/* @__PURE__ */ t("p", {
|
|
669
680
|
className: "text-white opacity-75 fs-6 mb-7 z-index-2 integrations-lede",
|
|
670
|
-
children:
|
|
681
|
+
children: s("Add Smarter Chat to the sites your users already visit, with one setting.")
|
|
671
682
|
}),
|
|
672
683
|
/* @__PURE__ */ t("ul", {
|
|
673
684
|
className: "integrations-grid z-index-2",
|
|
674
|
-
children:
|
|
685
|
+
children: N.map((e) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ n("a", {
|
|
675
686
|
href: e.docs,
|
|
676
687
|
target: "_blank",
|
|
677
688
|
className: "integrations-tile hover-elevate-up",
|
|
@@ -691,16 +702,16 @@ function I({ className: r = "col-xl-4" }) {
|
|
|
691
702
|
/* @__PURE__ */ n("div", {
|
|
692
703
|
className: "mt-auto pt-7 z-index-2",
|
|
693
704
|
children: [/* @__PURE__ */ t("a", {
|
|
694
|
-
href: `${
|
|
705
|
+
href: `${M}/smarter-chat/embedding.html`,
|
|
695
706
|
target: "_blank",
|
|
696
707
|
className: "btn btn-sm btn-warning fw-semibold me-2",
|
|
697
|
-
children:
|
|
708
|
+
children: s("Embedding guide")
|
|
698
709
|
}), /* @__PURE__ */ t("a", {
|
|
699
710
|
href: "https://github.com/smarter-sh",
|
|
700
711
|
target: "_blank",
|
|
701
712
|
className: "btn btn-sm btn-light fw-semibold",
|
|
702
|
-
"aria-label":
|
|
703
|
-
children:
|
|
713
|
+
"aria-label": s("Integrations source code"),
|
|
714
|
+
children: s("GitHub")
|
|
704
715
|
})]
|
|
705
716
|
})
|
|
706
717
|
]
|
|
@@ -710,37 +721,37 @@ function I({ className: r = "col-xl-4" }) {
|
|
|
710
721
|
}
|
|
711
722
|
//#endregion
|
|
712
723
|
//#region src/components/McpServer/Component.tsx
|
|
713
|
-
var
|
|
724
|
+
var F = "/api/v1/mcp/smarter-project/", I = [
|
|
714
725
|
"search_documentation",
|
|
715
726
|
"search_code",
|
|
716
727
|
"read_file"
|
|
717
|
-
],
|
|
718
|
-
function
|
|
728
|
+
], L = () => typeof window > "u" ? F : `${window.location.origin}${F}`;
|
|
729
|
+
function R({ serverUrl: r = L() }) {
|
|
719
730
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
720
731
|
id: "mcp-server",
|
|
721
|
-
"aria-label":
|
|
732
|
+
"aria-label": s("MCP Server"),
|
|
722
733
|
className: "card border-transparent h-100 mcp-card",
|
|
723
734
|
children: /* @__PURE__ */ n("div", {
|
|
724
735
|
className: "card-body d-flex flex-column ps-xl-15 h-100",
|
|
725
736
|
children: [
|
|
726
737
|
/* @__PURE__ */ t("span", {
|
|
727
738
|
className: "mcp-eyebrow",
|
|
728
|
-
children:
|
|
739
|
+
children: s("Smarter MCP Server")
|
|
729
740
|
}),
|
|
730
741
|
/* @__PURE__ */ t("div", {
|
|
731
742
|
className: "fs-2x fw-bold mt-3 mb-2 mcp-headline",
|
|
732
|
-
children: s(
|
|
743
|
+
children: u(s("Ask your %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
733
744
|
className: "position-relative d-inline-block",
|
|
734
|
-
children: s(
|
|
745
|
+
children: u(s("AI assistant%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 mcp-underline" }) })
|
|
735
746
|
}) })
|
|
736
747
|
}),
|
|
737
748
|
/* @__PURE__ */ t("p", {
|
|
738
749
|
className: "fs-6 mb-5 mcp-lede",
|
|
739
|
-
children:
|
|
750
|
+
children: s("This platform answers questions about itself from its own code and docs, for any MCP client.")
|
|
740
751
|
}),
|
|
741
752
|
/* @__PURE__ */ n("pre", {
|
|
742
753
|
className: "mcp-command",
|
|
743
|
-
"aria-label":
|
|
754
|
+
"aria-label": s("Add this platform's MCP server to Claude Code"),
|
|
744
755
|
children: [
|
|
745
756
|
/* @__PURE__ */ t("span", {
|
|
746
757
|
className: "mcp-prompt",
|
|
@@ -752,8 +763,8 @@ function B({ serverUrl: r = z() }) {
|
|
|
752
763
|
}),
|
|
753
764
|
/* @__PURE__ */ t("ul", {
|
|
754
765
|
className: "mcp-tools",
|
|
755
|
-
"aria-label":
|
|
756
|
-
children:
|
|
766
|
+
"aria-label": s("Tools"),
|
|
767
|
+
children: I.map((e) => /* @__PURE__ */ t("li", { children: e }, e))
|
|
757
768
|
}),
|
|
758
769
|
/* @__PURE__ */ t("div", {
|
|
759
770
|
className: "mt-auto pt-6",
|
|
@@ -761,7 +772,7 @@ function B({ serverUrl: r = z() }) {
|
|
|
761
772
|
href: "https://docs.smarter.sh/en/latest/smarter-platform/smarter-project-mcp-server.html",
|
|
762
773
|
target: "_blank",
|
|
763
774
|
className: "btn btn-sm fw-semibold mcp-btn",
|
|
764
|
-
children:
|
|
775
|
+
children: s("Documentation")
|
|
765
776
|
})
|
|
766
777
|
})
|
|
767
778
|
]
|
|
@@ -770,7 +781,7 @@ function B({ serverUrl: r = z() }) {
|
|
|
770
781
|
}
|
|
771
782
|
//#endregion
|
|
772
783
|
//#region src/assets/go.svg
|
|
773
|
-
var
|
|
784
|
+
var z = "data:image/svg+xml,%3csvg%20fill='%2300ADD8'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGo%3c/title%3e%3cpath%20d='M1.811%2010.231c-.047%200-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046%200%20.058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047%2011.306c-.047%200-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047%200%20.07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828%201.075c-.047%200-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047%200%20.07.035.07.082l-.023.28c0%20.047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204%201.274-1.192%202.22.011.935.654%201.706%201.577%201.835.795.105%201.46-.175%201.987-.77.105-.13.198-.27.315-.434H10.47c-.245%200-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315%200%2001.292-.187h4.253c-.023.316-.023.631-.07.947a4.983%204.983%200%2001-.958%202.29c-.841%201.11-1.94%201.8-3.33%201.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086%201.928-1.776%203.272-2.02%201.098-.2%202.15-.07%203.096.571.62.41%201.063.97%201.356%201.648.07.105.023.164-.117.2m3.868%206.461c-1.064-.024-2.034-.328-2.852-1.029a3.665%203.665%200%2001-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122%201.881-1.706%203.272-1.95%201.192-.21%202.314-.095%203.33.595.923.63%201.496%201.484%201.648%202.605.198%201.578-.257%202.863-1.344%203.962-.771.783-1.718%201.273-2.805%201.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045%202.033-.21.912.234%201.835%201.075%202.21.643.28%201.285.244%201.905-.07.923-.48%201.425-1.228%201.484-2.233z'/%3e%3c/svg%3e", B = "data:image/svg+xml,%3csvg%20fill='%235FA04E'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eNode.js%3c/title%3e%3cpath%20d='M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383%20c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076%20c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0%20L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392%20c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021%20c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921%20c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603%20v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z%20M19.099,13.993%20c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233%20c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081%20c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833%20c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402%20c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253%20c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z'/%3e%3c/svg%3e", V = "/docs/openapi/", H = [
|
|
774
785
|
{
|
|
775
786
|
name: "smarter-chat NPM Package",
|
|
776
787
|
href: "https://www.npmjs.com/package/@smarter.sh/ui-chat",
|
|
@@ -780,7 +791,7 @@ var V = "data:image/svg+xml,%3csvg%20fill='%2300ADD8'%20role='img'%20viewBox='0%
|
|
|
780
791
|
{
|
|
781
792
|
name: "Node.js SDK",
|
|
782
793
|
href: "https://www.npmjs.com/package/@smarter.sh/api",
|
|
783
|
-
logo:
|
|
794
|
+
logo: B,
|
|
784
795
|
install: "npm install @smarter.sh/api"
|
|
785
796
|
},
|
|
786
797
|
{
|
|
@@ -792,14 +803,14 @@ var V = "data:image/svg+xml,%3csvg%20fill='%2300ADD8'%20role='img'%20viewBox='0%
|
|
|
792
803
|
{
|
|
793
804
|
name: "Go SDK",
|
|
794
805
|
href: "https://pkg.go.dev/github.com/smarter-sh/smarter-golang",
|
|
795
|
-
logo:
|
|
806
|
+
logo: z,
|
|
796
807
|
install: "go get github.com/smarter-sh/smarter-golang"
|
|
797
808
|
}
|
|
798
809
|
];
|
|
799
|
-
function
|
|
810
|
+
function ae({ openapiUrl: r = V, className: i = "col-xl-4" }) {
|
|
800
811
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
801
812
|
id: "sdk",
|
|
802
|
-
"aria-label":
|
|
813
|
+
"aria-label": s("SDK"),
|
|
803
814
|
className: `${i} mb-5 mb-xl-10`,
|
|
804
815
|
children: /* @__PURE__ */ t("div", {
|
|
805
816
|
className: "card border-transparent h-100 sdk-card",
|
|
@@ -814,18 +825,18 @@ function G({ openapiUrl: r = U, className: i = "col-xl-4" }) {
|
|
|
814
825
|
}),
|
|
815
826
|
/* @__PURE__ */ t("div", {
|
|
816
827
|
className: "position-relative fs-2x fw-bold text-gray-900 mb-2 z-index-2",
|
|
817
|
-
children: s(
|
|
828
|
+
children: u(s("Build with the %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
818
829
|
className: "position-relative d-inline-block",
|
|
819
|
-
children: s(
|
|
830
|
+
children: u(s("SDKs%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute opacity-50 bottom-0 start-0 border-4 border-danger border-bottom w-100" }) })
|
|
820
831
|
}) })
|
|
821
832
|
}),
|
|
822
833
|
/* @__PURE__ */ t("p", {
|
|
823
834
|
className: "text-gray-700 fs-6 mb-7 z-index-2 sdk-lede",
|
|
824
|
-
children:
|
|
835
|
+
children: s("Typed access to your Smarter resources, in the language you already use.")
|
|
825
836
|
}),
|
|
826
837
|
/* @__PURE__ */ t("ul", {
|
|
827
838
|
className: "sdk-list z-index-2",
|
|
828
|
-
children:
|
|
839
|
+
children: H.map((e) => /* @__PURE__ */ n("li", {
|
|
829
840
|
className: "sdk-item",
|
|
830
841
|
children: [/* @__PURE__ */ t("span", {
|
|
831
842
|
className: "sdk-logo",
|
|
@@ -854,19 +865,19 @@ function G({ openapiUrl: r = U, className: i = "col-xl-4" }) {
|
|
|
854
865
|
href: "https://docs.smarter.sh/en/latest/smarter-framework/apis-and-sdks.html",
|
|
855
866
|
target: "_blank",
|
|
856
867
|
className: "btn btn-sm btn-danger fw-semibold",
|
|
857
|
-
children:
|
|
868
|
+
children: s("Documentation")
|
|
858
869
|
}),
|
|
859
870
|
/* @__PURE__ */ t("a", {
|
|
860
871
|
href: r,
|
|
861
872
|
className: "btn btn-sm btn-light-danger fw-semibold",
|
|
862
|
-
children:
|
|
873
|
+
children: s("API reference")
|
|
863
874
|
}),
|
|
864
875
|
/* @__PURE__ */ t("a", {
|
|
865
876
|
href: "https://github.com/smarter-sh",
|
|
866
877
|
target: "_blank",
|
|
867
878
|
className: "btn btn-sm btn-dark fw-semibold",
|
|
868
|
-
"aria-label":
|
|
869
|
-
children:
|
|
879
|
+
"aria-label": s("SDK source code"),
|
|
880
|
+
children: s("GitHub")
|
|
870
881
|
})
|
|
871
882
|
]
|
|
872
883
|
})
|
|
@@ -876,34 +887,321 @@ function G({ openapiUrl: r = U, className: i = "col-xl-4" }) {
|
|
|
876
887
|
}) });
|
|
877
888
|
}
|
|
878
889
|
//#endregion
|
|
890
|
+
//#region src/components/ResourceTree/kinds.ts
|
|
891
|
+
var U = "https://docs.smarter.sh/en/latest", W = `${U}/smarter-resources`, G = [
|
|
892
|
+
"Plugin",
|
|
893
|
+
"StaticPlugin",
|
|
894
|
+
"ApiPlugin",
|
|
895
|
+
"SkillPlugin",
|
|
896
|
+
"SqlPlugin",
|
|
897
|
+
"WebsearchPlugin",
|
|
898
|
+
"ImageSearchPlugin"
|
|
899
|
+
];
|
|
900
|
+
function K(e) {
|
|
901
|
+
if (G.includes(e)) return {
|
|
902
|
+
tone: "success",
|
|
903
|
+
role: s("A tool that the LLM can call"),
|
|
904
|
+
docsUrl: `${W}/smarter-llmtool.html`
|
|
905
|
+
};
|
|
906
|
+
switch (e) {
|
|
907
|
+
case "LLMClient": return {
|
|
908
|
+
tone: "primary",
|
|
909
|
+
role: s("A chat with an LLM, its tools, and its rules"),
|
|
910
|
+
docsUrl: `${W}/smarter-llmclient.html`
|
|
911
|
+
};
|
|
912
|
+
case "Provider": return {
|
|
913
|
+
tone: "info",
|
|
914
|
+
role: s("The LLM provider whose models it prompts"),
|
|
915
|
+
docsUrl: `${W}/smarter-provider.html`
|
|
916
|
+
};
|
|
917
|
+
case "MCPClient": return {
|
|
918
|
+
tone: "info",
|
|
919
|
+
role: s("The tools of a remote MCP server"),
|
|
920
|
+
docsUrl: `${W}/smarter-mcpclient.html`
|
|
921
|
+
};
|
|
922
|
+
case "Extension": return {
|
|
923
|
+
tone: "success",
|
|
924
|
+
role: s("Tools installed from an extension package"),
|
|
925
|
+
docsUrl: `${U}/smarter-framework/smarter-extensions.html`
|
|
926
|
+
};
|
|
927
|
+
case "Guardrail": return {
|
|
928
|
+
tone: "dark",
|
|
929
|
+
role: s("Screens prompts and responses"),
|
|
930
|
+
docsUrl: `${W}/smarter-guardrail.html`
|
|
931
|
+
};
|
|
932
|
+
case "ApiConnection": return {
|
|
933
|
+
tone: "warning",
|
|
934
|
+
role: s("How a plugin reaches a remote api"),
|
|
935
|
+
docsUrl: `${W}/smarter-connection.html`
|
|
936
|
+
};
|
|
937
|
+
case "SqlConnection": return {
|
|
938
|
+
tone: "warning",
|
|
939
|
+
role: s("How a plugin reaches a database"),
|
|
940
|
+
docsUrl: `${W}/smarter-connection.html`
|
|
941
|
+
};
|
|
942
|
+
case "Secret": return {
|
|
943
|
+
tone: "danger",
|
|
944
|
+
role: s("An encrypted credential"),
|
|
945
|
+
docsUrl: `${W}/smarter-secret.html`
|
|
946
|
+
};
|
|
947
|
+
case "SmarterAuthToken": return {
|
|
948
|
+
tone: "warning",
|
|
949
|
+
role: s("The api key that its url requires"),
|
|
950
|
+
docsUrl: `${W}/smarter-authtoken.html`
|
|
951
|
+
};
|
|
952
|
+
case "CustomDomain": return {
|
|
953
|
+
tone: "info",
|
|
954
|
+
role: s("The domain that it is served from"),
|
|
955
|
+
docsUrl: `${W}/smarter-custom-domain.html`
|
|
956
|
+
};
|
|
957
|
+
case "LLMHost":
|
|
958
|
+
case "LLMHostCompute": return {
|
|
959
|
+
tone: "secondary",
|
|
960
|
+
role: s("Compute that hosts an LLM"),
|
|
961
|
+
docsUrl: `${W}/smarter-llmhost.html`
|
|
962
|
+
};
|
|
963
|
+
case "Orchestrator": return {
|
|
964
|
+
tone: "primary",
|
|
965
|
+
role: s("Coordinates several LLMClients"),
|
|
966
|
+
docsUrl: `${W}/smarter-orchestrator.html`
|
|
967
|
+
};
|
|
968
|
+
case "Proxy": return {
|
|
969
|
+
tone: "secondary",
|
|
970
|
+
role: s("Forwards requests to an LLM provider"),
|
|
971
|
+
docsUrl: `${W}/smarter-proxy.html`
|
|
972
|
+
};
|
|
973
|
+
case "Vectorstore": return {
|
|
974
|
+
tone: "info",
|
|
975
|
+
role: s("Documents, indexed for search"),
|
|
976
|
+
docsUrl: `${W}/smarter-vectorstore.html`
|
|
977
|
+
};
|
|
978
|
+
case "Vectorsearch": return {
|
|
979
|
+
tone: "info",
|
|
980
|
+
role: s("Searches a vector store"),
|
|
981
|
+
docsUrl: `${W}/smarter-vectorsearch.html`
|
|
982
|
+
};
|
|
983
|
+
case "Budget": return {
|
|
984
|
+
tone: "secondary",
|
|
985
|
+
role: s("Limits what it may spend"),
|
|
986
|
+
docsUrl: `${W}/smarter-budget.html`
|
|
987
|
+
};
|
|
988
|
+
default: return {
|
|
989
|
+
tone: "secondary",
|
|
990
|
+
role: s("A SAM resource"),
|
|
991
|
+
docsUrl: `${U}/smarter-framework/smarter-manifests.html`
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
//#endregion
|
|
996
|
+
//#region src/components/ResourceTree/ResourceCard.tsx
|
|
997
|
+
function q({ node: r, isRoot: i = !1 }) {
|
|
998
|
+
let a = K(r.kind), o = !r.readable, c = !o && !!r.url, u = r.name ?? r.recordLocator ?? r.kind, d = [
|
|
999
|
+
"architecture-card",
|
|
1000
|
+
`architecture-card-${a.tone}`,
|
|
1001
|
+
i ? "architecture-card-root" : "",
|
|
1002
|
+
o ? "architecture-card-locked" : "",
|
|
1003
|
+
c ? "architecture-card-link" : ""
|
|
1004
|
+
].filter(Boolean).join(" ");
|
|
1005
|
+
return /* @__PURE__ */ n("article", {
|
|
1006
|
+
className: d,
|
|
1007
|
+
"aria-label": `${r.kind} ${u}`,
|
|
1008
|
+
children: [
|
|
1009
|
+
/* @__PURE__ */ t("span", {
|
|
1010
|
+
className: `architecture-card-icon text-${a.tone} bg-light-${a.tone}`,
|
|
1011
|
+
"aria-hidden": "true",
|
|
1012
|
+
children: /* @__PURE__ */ t("i", {
|
|
1013
|
+
className: `ki-outline ki-${o ? "lock-3" : r.icon}`,
|
|
1014
|
+
"data-testid": "architecture-card-icon"
|
|
1015
|
+
})
|
|
1016
|
+
}),
|
|
1017
|
+
/* @__PURE__ */ n("div", {
|
|
1018
|
+
className: "architecture-card-body",
|
|
1019
|
+
children: [/* @__PURE__ */ n("div", {
|
|
1020
|
+
className: "d-flex align-items-center gap-2",
|
|
1021
|
+
children: [/* @__PURE__ */ t("span", {
|
|
1022
|
+
className: `architecture-card-kind text-${a.tone}`,
|
|
1023
|
+
children: r.kind
|
|
1024
|
+
}), /* @__PURE__ */ n("a", {
|
|
1025
|
+
href: a.docsUrl,
|
|
1026
|
+
target: "_blank",
|
|
1027
|
+
rel: "noopener noreferrer",
|
|
1028
|
+
className: "architecture-card-docs text-gray-500 text-hover-primary",
|
|
1029
|
+
title: l(s("About %(kind)s, in the documentation"), { kind: r.kind }),
|
|
1030
|
+
children: [/* @__PURE__ */ t("i", {
|
|
1031
|
+
className: "ki-outline ki-information-5 fs-7",
|
|
1032
|
+
"aria-hidden": "true"
|
|
1033
|
+
}), /* @__PURE__ */ t("span", {
|
|
1034
|
+
className: "visually-hidden",
|
|
1035
|
+
children: l(s("About %(kind)s, in the documentation"), { kind: r.kind })
|
|
1036
|
+
})]
|
|
1037
|
+
})]
|
|
1038
|
+
}), o ? /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
|
|
1039
|
+
className: "architecture-card-name text-gray-600",
|
|
1040
|
+
children: s("You can't read this resource")
|
|
1041
|
+
}), /* @__PURE__ */ t("div", {
|
|
1042
|
+
className: "architecture-card-meta",
|
|
1043
|
+
children: /* @__PURE__ */ t("code", {
|
|
1044
|
+
className: "architecture-card-locator",
|
|
1045
|
+
children: r.recordLocator
|
|
1046
|
+
})
|
|
1047
|
+
})] }) : /* @__PURE__ */ n(e, { children: [
|
|
1048
|
+
c ? /* @__PURE__ */ t("a", {
|
|
1049
|
+
href: r.url ?? void 0,
|
|
1050
|
+
target: "_blank",
|
|
1051
|
+
rel: "noopener noreferrer",
|
|
1052
|
+
className: "architecture-card-name stretched-link",
|
|
1053
|
+
title: l(s("Open the manifest of %(name)s in a new tab"), { name: u }),
|
|
1054
|
+
children: u
|
|
1055
|
+
}) : /* @__PURE__ */ t("div", {
|
|
1056
|
+
className: "architecture-card-name",
|
|
1057
|
+
children: u
|
|
1058
|
+
}),
|
|
1059
|
+
/* @__PURE__ */ t("div", {
|
|
1060
|
+
className: "architecture-card-meta",
|
|
1061
|
+
title: a.role,
|
|
1062
|
+
children: /* @__PURE__ */ t("span", {
|
|
1063
|
+
className: "text-truncate",
|
|
1064
|
+
children: a.role
|
|
1065
|
+
})
|
|
1066
|
+
}),
|
|
1067
|
+
r.owner && /* @__PURE__ */ n("div", {
|
|
1068
|
+
className: "architecture-card-meta",
|
|
1069
|
+
children: [
|
|
1070
|
+
/* @__PURE__ */ t("i", {
|
|
1071
|
+
className: "ki-outline ki-profile-circle fs-7 me-1",
|
|
1072
|
+
"aria-hidden": "true"
|
|
1073
|
+
}),
|
|
1074
|
+
/* @__PURE__ */ n("span", {
|
|
1075
|
+
className: "visually-hidden",
|
|
1076
|
+
children: [s("Owner"), ": "]
|
|
1077
|
+
}),
|
|
1078
|
+
/* @__PURE__ */ t("span", {
|
|
1079
|
+
className: "text-truncate",
|
|
1080
|
+
children: r.owner
|
|
1081
|
+
})
|
|
1082
|
+
]
|
|
1083
|
+
})
|
|
1084
|
+
] })]
|
|
1085
|
+
}),
|
|
1086
|
+
c && /* @__PURE__ */ t("span", {
|
|
1087
|
+
className: "architecture-card-open text-gray-400",
|
|
1088
|
+
"aria-hidden": "true",
|
|
1089
|
+
children: /* @__PURE__ */ t("i", { className: "ki-outline ki-arrow-up-right" })
|
|
1090
|
+
})
|
|
1091
|
+
]
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
//#endregion
|
|
1095
|
+
//#region src/components/ResourceTree/tree.ts
|
|
1096
|
+
var J = (e, t) => `${e}.${t}`, oe = "0";
|
|
1097
|
+
function se(e) {
|
|
1098
|
+
let t = /* @__PURE__ */ new Set(), n = 0, r = (e) => {
|
|
1099
|
+
e.recordLocator ? t.add(e.recordLocator) : n += 1, e.children.forEach(r);
|
|
1100
|
+
};
|
|
1101
|
+
return r(e), t.size + n;
|
|
1102
|
+
}
|
|
1103
|
+
function Y(e) {
|
|
1104
|
+
return e.children.length ? 1 + Math.max(...e.children.map(Y)) : 0;
|
|
1105
|
+
}
|
|
1106
|
+
function X(e) {
|
|
1107
|
+
let t = [], n = (e, r) => {
|
|
1108
|
+
r !== "0" && e.children.length && t.push(r), e.children.forEach((e, t) => n(e, J(r, t)));
|
|
1109
|
+
};
|
|
1110
|
+
return n(e, "0"), t;
|
|
1111
|
+
}
|
|
1112
|
+
//#endregion
|
|
1113
|
+
//#region src/components/ResourceTree/Component.tsx
|
|
1114
|
+
function Z({ node: e, id: r, collapsed: i, onToggle: a }) {
|
|
1115
|
+
let o = r === "0", u = e.children.length > 0, d = o || !i.has(r), f = e.name ?? e.kind, p = `architecture-children-${r.replaceAll(".", "-")}`;
|
|
1116
|
+
return /* @__PURE__ */ n("li", {
|
|
1117
|
+
className: `architecture-node${o ? " architecture-node-root" : ""}`,
|
|
1118
|
+
children: [/* @__PURE__ */ n("div", {
|
|
1119
|
+
className: "architecture-row",
|
|
1120
|
+
children: [
|
|
1121
|
+
!o && (u ? /* @__PURE__ */ n("button", {
|
|
1122
|
+
type: "button",
|
|
1123
|
+
className: "architecture-toggle btn btn-icon btn-sm btn-light",
|
|
1124
|
+
"aria-expanded": d,
|
|
1125
|
+
"aria-controls": p,
|
|
1126
|
+
title: l(s(d ? "Hide what %(name)s uses" : "Show what %(name)s uses"), { name: f }),
|
|
1127
|
+
onClick: () => a(r),
|
|
1128
|
+
children: [/* @__PURE__ */ t("i", {
|
|
1129
|
+
className: `ki-outline ki-${d ? "minus-square" : "plus-square"} fs-4`,
|
|
1130
|
+
"aria-hidden": "true"
|
|
1131
|
+
}), /* @__PURE__ */ t("span", {
|
|
1132
|
+
className: "visually-hidden",
|
|
1133
|
+
children: l(s(d ? "Hide what %(name)s uses" : "Show what %(name)s uses"), { name: f })
|
|
1134
|
+
})]
|
|
1135
|
+
}) : /* @__PURE__ */ t("span", {
|
|
1136
|
+
className: "architecture-toggle-spacer",
|
|
1137
|
+
"aria-hidden": "true"
|
|
1138
|
+
})),
|
|
1139
|
+
/* @__PURE__ */ t(q, {
|
|
1140
|
+
node: e,
|
|
1141
|
+
isRoot: o
|
|
1142
|
+
}),
|
|
1143
|
+
u && !d && /* @__PURE__ */ t("span", {
|
|
1144
|
+
className: "architecture-hidden-count badge badge-light-secondary text-gray-700",
|
|
1145
|
+
children: l(c("%(count)s more", "%(count)s more", e.children.length), { count: e.children.length })
|
|
1146
|
+
})
|
|
1147
|
+
]
|
|
1148
|
+
}), u && d && /* @__PURE__ */ t("ul", {
|
|
1149
|
+
className: "architecture-children",
|
|
1150
|
+
id: p,
|
|
1151
|
+
children: e.children.map((e, n) => /* @__PURE__ */ t(Z, {
|
|
1152
|
+
node: e,
|
|
1153
|
+
id: J(r, n),
|
|
1154
|
+
collapsed: i,
|
|
1155
|
+
onToggle: a
|
|
1156
|
+
}, J(r, n)))
|
|
1157
|
+
})]
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
function Q({ tree: e, collapsed: n, onToggle: r, label: a, defaultCollapsed: o = !1 }) {
|
|
1161
|
+
let [c, l] = i(() => new Set(o ? X(e) : []));
|
|
1162
|
+
return /* @__PURE__ */ t("ul", {
|
|
1163
|
+
className: "architecture-tree",
|
|
1164
|
+
"aria-label": a ?? s("The resources that this LLMClient is built from"),
|
|
1165
|
+
children: /* @__PURE__ */ t(Z, {
|
|
1166
|
+
node: e,
|
|
1167
|
+
id: "0",
|
|
1168
|
+
collapsed: n ?? c,
|
|
1169
|
+
onToggle: r ?? ((e) => l((t) => {
|
|
1170
|
+
let n = new Set(t);
|
|
1171
|
+
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
1172
|
+
}))
|
|
1173
|
+
})
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
//#endregion
|
|
879
1177
|
//#region src/components/SelfHost/Component.tsx
|
|
880
|
-
var
|
|
1178
|
+
var ce = [
|
|
881
1179
|
{
|
|
882
1180
|
name: "Docker",
|
|
883
|
-
where:
|
|
884
|
-
description:
|
|
1181
|
+
where: s("Your laptop"),
|
|
1182
|
+
description: s("Quick Start with Docker Compose"),
|
|
885
1183
|
logo: "data:image/svg+xml,%3csvg%20fill='%232496ED'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDocker%3c/title%3e%3cpath%20d='M13.983%2011.078h2.119a.186.186%200%2000.186-.185V9.006a.186.186%200%2000-.186-.186h-2.119a.185.185%200%2000-.185.185v1.888c0%20.102.083.185.185.185m-2.954-5.43h2.118a.186.186%200%2000.186-.186V3.574a.186.186%200%2000-.186-.185h-2.118a.185.185%200%2000-.185.185v1.888c0%20.102.082.185.185.185m0%202.716h2.118a.187.187%200%2000.186-.186V6.29a.186.186%200%2000-.186-.185h-2.118a.185.185%200%2000-.185.185v1.887c0%20.102.082.185.185.186m-2.93%200h2.12a.186.186%200%2000.184-.186V6.29a.185.185%200%2000-.185-.185H8.1a.185.185%200%2000-.185.185v1.887c0%20.102.083.185.185.186m-2.964%200h2.119a.186.186%200%2000.185-.186V6.29a.185.185%200%2000-.185-.185H5.136a.186.186%200%2000-.186.185v1.887c0%20.102.084.185.186.186m5.893%202.715h2.118a.186.186%200%2000.186-.185V9.006a.186.186%200%2000-.186-.186h-2.118a.185.185%200%2000-.185.185v1.888c0%20.102.082.185.185.185m-2.93%200h2.12a.185.185%200%2000.184-.185V9.006a.185.185%200%2000-.184-.186h-2.12a.185.185%200%2000-.184.185v1.888c0%20.102.083.185.185.185m-2.964%200h2.119a.185.185%200%2000.185-.185V9.006a.185.185%200%2000-.184-.186h-2.12a.186.186%200%2000-.186.186v1.887c0%20.102.084.185.186.185m-2.92%200h2.12a.185.185%200%2000.184-.185V9.006a.185.185%200%2000-.184-.186h-2.12a.185.185%200%2000-.184.185v1.888c0%20.102.082.185.185.185M23.763%209.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612%201.43-.23.97-.09%201.882.403%202.661-.595.332-1.55.413-1.744.42H.751a.751.751%200%2000-.75.748%2011.376%2011.376%200%2000.692%204.062c.545%201.428%201.355%202.48%202.41%203.124%201.18.723%203.1%201.137%205.275%201.137.983.003%201.963-.086%202.93-.266a12.248%2012.248%200%20003.823-1.389c.98-.567%201.86-1.288%202.61-2.136%201.252-1.418%201.998-2.997%202.553-4.4h.221c1.372%200%202.215-.549%202.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z'/%3e%3c/svg%3e",
|
|
886
1184
|
href: "https://github.com/smarter-sh/smarter-deploy"
|
|
887
1185
|
},
|
|
888
1186
|
{
|
|
889
1187
|
name: "Kubernetes",
|
|
890
|
-
where:
|
|
891
|
-
description:
|
|
1188
|
+
where: s("Your cluster"),
|
|
1189
|
+
description: s("The official Helm chart"),
|
|
892
1190
|
logo: "data:image/svg+xml,%3csvg%20fill='%23326CE5'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKubernetes%3c/title%3e%3cpath%20d='M10.204%2014.35l.007.01-.999%202.413a5.171%205.171%200%200%201-2.075-2.597l2.578-.437.004.005a.44.44%200%200%201%20.484.606zm-.833-2.129a.44.44%200%200%200%20.173-.756l.002-.011L7.585%209.7a5.143%205.143%200%200%200-.73%203.255l2.514-.725.002-.009zm1.145-1.98a.44.44%200%200%200%20.699-.337l.01-.005.15-2.62a5.144%205.144%200%200%200-3.01%201.442l2.147%201.523.004-.002zm.76%202.75l.723.349.722-.347.18-.78-.5-.623h-.804l-.5.623.179.779zm1.5-3.095a.44.44%200%200%200%20.7.336l.008.003%202.134-1.513a5.188%205.188%200%200%200-2.992-1.442l.148%202.615.002.001zm10.876%205.97l-5.773%207.181a1.6%201.6%200%200%201-1.248.594l-9.261.003a1.6%201.6%200%200%201-1.247-.596l-5.776-7.18a1.583%201.583%200%200%201-.307-1.34L2.1%205.573c.108-.47.425-.864.863-1.073L11.305.513a1.606%201.606%200%200%201%201.385%200l8.345%203.985c.438.209.755.604.863%201.073l2.062%208.955c.108.47-.005.963-.308%201.34zm-3.289-2.057c-.042-.01-.103-.026-.145-.034-.174-.033-.315-.025-.479-.038-.35-.037-.638-.067-.895-.148-.105-.04-.18-.165-.216-.216l-.201-.059a6.45%206.45%200%200%200-.105-2.332%206.465%206.465%200%200%200-.936-2.163c.052-.047.15-.133.177-.159.008-.09.001-.183.094-.282.197-.185.444-.338.743-.522.142-.084.273-.137.415-.242.032-.024.076-.062.11-.089.24-.191.295-.52.123-.736-.172-.216-.506-.236-.745-.045-.034.027-.08.062-.111.088-.134.116-.217.23-.33.35-.246.25-.45.458-.673.609-.097.056-.239.037-.303.033l-.19.135a6.545%206.545%200%200%200-4.146-2.003l-.012-.223c-.065-.062-.143-.115-.163-.25-.022-.268.015-.557.057-.905.023-.163.061-.298.068-.475.001-.04-.001-.099-.001-.142%200-.306-.224-.555-.5-.555-.275%200-.499.249-.499.555l.001.014c0%20.041-.002.092%200%20.128.006.177.044.312.067.475.042.348.078.637.056.906a.545.545%200%200%201-.162.258l-.012.211a6.424%206.424%200%200%200-4.166%202.003%208.373%208.373%200%200%201-.18-.128c-.09.012-.18.04-.297-.029-.223-.15-.427-.358-.673-.608-.113-.12-.195-.234-.329-.349-.03-.026-.077-.062-.111-.088a.594.594%200%200%200-.348-.132.481.481%200%200%200-.398.176c-.172.216-.117.546.123.737l.007.005.104.083c.142.105.272.159.414.242.299.185.546.338.743.522.076.082.09.226.1.288l.16.143a6.462%206.462%200%200%200-1.02%204.506l-.208.06c-.055.072-.133.184-.215.217-.257.081-.546.11-.895.147-.164.014-.305.006-.48.039-.037.007-.09.02-.133.03l-.004.002-.007.002c-.295.071-.484.342-.423.608.061.267.349.429.645.365l.007-.001.01-.003.129-.029c.17-.046.294-.113.448-.172.33-.118.604-.217.87-.256.112-.009.23.069.288.101l.217-.037a6.5%206.5%200%200%200%202.88%203.596l-.09.218c.033.084.069.199.044.282-.097.252-.263.517-.452.813-.091.136-.185.242-.268.399-.02.037-.045.095-.064.134-.128.275-.034.591.213.71.248.12.556-.007.69-.282v-.002c.02-.039.046-.09.062-.127.07-.162.094-.301.144-.458.132-.332.205-.68.387-.897.05-.06.13-.082.215-.105l.113-.205a6.453%206.453%200%200%200%204.609.012l.106.192c.086.028.18.042.256.155.136.232.229.507.342.84.05.156.074.295.145.457.016.037.043.09.062.129.133.276.442.402.69.282.247-.118.341-.435.213-.71-.02-.039-.045-.096-.065-.134-.083-.156-.177-.261-.268-.398-.19-.296-.346-.541-.443-.793-.04-.13.007-.21.038-.294-.018-.022-.059-.144-.083-.202a6.499%206.499%200%200%200%202.88-3.622c.064.01.176.03.213.038.075-.05.144-.114.28-.104.266.039.54.138.87.256.154.06.277.128.448.173.036.01.088.019.13.028l.009.003.007.001c.297.064.584-.098.645-.365.06-.266-.128-.537-.423-.608zM16.4%209.701l-1.95%201.746v.005a.44.44%200%200%200%20.173.757l.003.01%202.526.728a5.199%205.199%200%200%200-.108-1.674A5.208%205.208%200%200%200%2016.4%209.7zm-4.013%205.325a.437.437%200%200%200-.404-.232.44.44%200%200%200-.372.233h-.002l-1.268%202.292a5.164%205.164%200%200%200%203.326.003l-1.27-2.296h-.01zm1.888-1.293a.44.44%200%200%200-.27.036.44.44%200%200%200-.214.572l-.003.004%201.01%202.438a5.15%205.15%200%200%200%202.081-2.615l-2.6-.44-.004.005z'/%3e%3c/svg%3e",
|
|
893
1191
|
href: "https://artifacthub.io/packages/helm/project-smarter/smarter"
|
|
894
1192
|
},
|
|
895
1193
|
{
|
|
896
1194
|
name: "Terraform",
|
|
897
|
-
where:
|
|
898
|
-
description:
|
|
1195
|
+
where: s("Your AWS cloud"),
|
|
1196
|
+
description: s("The official Terraform modules"),
|
|
899
1197
|
logo: "data:image/svg+xml,%3csvg%20fill='%23844FBA'%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eTerraform%3c/title%3e%3cpath%20d='M1.44%200v7.575l6.561%203.79V3.787zm21.12%204.227l-6.561%203.791v7.574l6.56-3.787zM8.72%204.23v7.575l6.561%203.787V8.018zm0%208.405v7.575L15.28%2024v-7.578z'/%3e%3c/svg%3e",
|
|
900
1198
|
href: "https://github.com/smarter-sh/smarter-infrastructure"
|
|
901
1199
|
}
|
|
902
1200
|
];
|
|
903
|
-
function
|
|
1201
|
+
function le() {
|
|
904
1202
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("section", {
|
|
905
1203
|
id: "self-host",
|
|
906
|
-
"aria-label":
|
|
1204
|
+
"aria-label": s("Self Host"),
|
|
907
1205
|
className: "card border-transparent h-100 selfhost-card",
|
|
908
1206
|
"data-bs-theme": "light",
|
|
909
1207
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -911,22 +1209,22 @@ function q() {
|
|
|
911
1209
|
children: [
|
|
912
1210
|
/* @__PURE__ */ t("span", {
|
|
913
1211
|
className: "selfhost-eyebrow",
|
|
914
|
-
children:
|
|
1212
|
+
children: s("Self-host Smarter")
|
|
915
1213
|
}),
|
|
916
1214
|
/* @__PURE__ */ t("div", {
|
|
917
1215
|
className: "fs-2x fw-bold text-white mt-3 mb-2",
|
|
918
|
-
children: s(
|
|
1216
|
+
children: u(s("Run it %(span)s"), { span: /* @__PURE__ */ t("span", {
|
|
919
1217
|
className: "position-relative d-inline-block",
|
|
920
|
-
children: s(
|
|
1218
|
+
children: u(s("anywhere%(span)s"), { span: /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 selfhost-underline" }) })
|
|
921
1219
|
}) })
|
|
922
1220
|
}),
|
|
923
1221
|
/* @__PURE__ */ t("p", {
|
|
924
1222
|
className: "fs-6 mb-7 selfhost-lede",
|
|
925
|
-
children:
|
|
1223
|
+
children: s("The same open source platform, from your laptop to production. No license fees, no seat counts.")
|
|
926
1224
|
}),
|
|
927
1225
|
/* @__PURE__ */ t("ol", {
|
|
928
1226
|
className: "selfhost-steps",
|
|
929
|
-
children:
|
|
1227
|
+
children: ce.map((e, r) => /* @__PURE__ */ t("li", {
|
|
930
1228
|
className: "selfhost-step",
|
|
931
1229
|
children: /* @__PURE__ */ n("a", {
|
|
932
1230
|
href: e.href,
|
|
@@ -965,10 +1263,10 @@ function q() {
|
|
|
965
1263
|
href: "https://docs.smarter.sh/en/latest/smarter-platform/installation.html",
|
|
966
1264
|
target: "_blank",
|
|
967
1265
|
className: "btn btn-sm fw-semibold selfhost-btn",
|
|
968
|
-
children:
|
|
1266
|
+
children: s("Installation Guide")
|
|
969
1267
|
}), /* @__PURE__ */ t("span", {
|
|
970
1268
|
className: "selfhost-license",
|
|
971
|
-
children:
|
|
1269
|
+
children: s("Open source · AGPL-3.0")
|
|
972
1270
|
})]
|
|
973
1271
|
})
|
|
974
1272
|
]
|
|
@@ -977,16 +1275,16 @@ function q() {
|
|
|
977
1275
|
}
|
|
978
1276
|
//#endregion
|
|
979
1277
|
//#region src/components/VSCodeExtension/Component.tsx
|
|
980
|
-
var
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
1278
|
+
var $ = "https://marketplace.visualstudio.com/items?itemName=Querium.smarter-manifest", ue = [
|
|
1279
|
+
s("Validation as you type"),
|
|
1280
|
+
s("Quick fixes for misspelled keys"),
|
|
1281
|
+
s("Completion and hover help"),
|
|
1282
|
+
s("Apply and deploy from the editor")
|
|
985
1283
|
];
|
|
986
|
-
function
|
|
1284
|
+
function de() {
|
|
987
1285
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t("div", {
|
|
988
1286
|
id: "vscode-extension",
|
|
989
|
-
"aria-label":
|
|
1287
|
+
"aria-label": s("VS Code Extension"),
|
|
990
1288
|
className: "card border-transparent h-100 vscode-card",
|
|
991
1289
|
"data-bs-theme": "light",
|
|
992
1290
|
children: /* @__PURE__ */ t("div", {
|
|
@@ -998,26 +1296,26 @@ function X() {
|
|
|
998
1296
|
children: [
|
|
999
1297
|
/* @__PURE__ */ t("div", {
|
|
1000
1298
|
className: "fs-2x fw-bold text-white mb-2",
|
|
1001
|
-
children: s(
|
|
1299
|
+
children: u(s("Get the %(span)s"), { span: /* @__PURE__ */ n("span", {
|
|
1002
1300
|
className: "position-relative d-inline-block",
|
|
1003
1301
|
children: [/* @__PURE__ */ t("a", {
|
|
1004
|
-
href:
|
|
1302
|
+
href: $,
|
|
1005
1303
|
className: "vscode-title-link",
|
|
1006
|
-
children:
|
|
1304
|
+
children: s("VS Code Extension")
|
|
1007
1305
|
}), /* @__PURE__ */ t("span", { className: "position-absolute bottom-0 start-0 border-4 border-bottom w-100 vscode-underline" })]
|
|
1008
1306
|
}) })
|
|
1009
1307
|
}),
|
|
1010
1308
|
/* @__PURE__ */ t("p", {
|
|
1011
1309
|
className: "text-gray-400 fs-6 mb-5",
|
|
1012
|
-
children: s(
|
|
1310
|
+
children: u(s("Write Smarter manifests with the same validation that %(code)s uses, before you apply them."), { code: /* @__PURE__ */ t("code", {
|
|
1013
1311
|
className: "vscode-inline",
|
|
1014
1312
|
children: "smarter apply"
|
|
1015
1313
|
}) })
|
|
1016
1314
|
}),
|
|
1017
1315
|
/* @__PURE__ */ t("ul", {
|
|
1018
1316
|
className: "vscode-features",
|
|
1019
|
-
"aria-label":
|
|
1020
|
-
children:
|
|
1317
|
+
"aria-label": s("Features"),
|
|
1318
|
+
children: ue.map((e) => /* @__PURE__ */ n("li", { children: [/* @__PURE__ */ t("span", {
|
|
1021
1319
|
className: "vscode-check",
|
|
1022
1320
|
children: "✓"
|
|
1023
1321
|
}), e] }, e))
|
|
@@ -1026,24 +1324,24 @@ function X() {
|
|
|
1026
1324
|
className: "d-flex flex-wrap align-items-center gap-2 mt-6",
|
|
1027
1325
|
children: [
|
|
1028
1326
|
/* @__PURE__ */ t("a", {
|
|
1029
|
-
href:
|
|
1327
|
+
href: $,
|
|
1030
1328
|
target: "_blank",
|
|
1031
1329
|
className: "btn btn-sm fw-semibold vscode-btn",
|
|
1032
|
-
children:
|
|
1330
|
+
children: s("Install")
|
|
1033
1331
|
}),
|
|
1034
1332
|
/* @__PURE__ */ t("a", {
|
|
1035
1333
|
href: "https://docs.smarter.sh/en/latest/smarter-framework/vs-code-extension.html",
|
|
1036
1334
|
target: "_blank",
|
|
1037
1335
|
className: "btn btn-sm btn-light fw-semibold",
|
|
1038
|
-
children:
|
|
1336
|
+
children: s("Documentation")
|
|
1039
1337
|
}),
|
|
1040
1338
|
/* @__PURE__ */ t("a", {
|
|
1041
|
-
href:
|
|
1339
|
+
href: $,
|
|
1042
1340
|
target: "_blank",
|
|
1043
1341
|
className: "ms-2",
|
|
1044
1342
|
children: /* @__PURE__ */ t("img", {
|
|
1045
1343
|
src: "https://vsmarketplacebadges.dev/installs-short/Querium.smarter-manifest.svg",
|
|
1046
|
-
alt:
|
|
1344
|
+
alt: s("Installs")
|
|
1047
1345
|
})
|
|
1048
1346
|
})
|
|
1049
1347
|
]
|
|
@@ -1053,7 +1351,7 @@ function X() {
|
|
|
1053
1351
|
className: "col-md-6",
|
|
1054
1352
|
children: /* @__PURE__ */ n("div", {
|
|
1055
1353
|
className: "vscode-editor",
|
|
1056
|
-
"aria-label":
|
|
1354
|
+
"aria-label": s("Example manifest with a validation problem"),
|
|
1057
1355
|
children: [/* @__PURE__ */ n("div", {
|
|
1058
1356
|
className: "vscode-editor-bar",
|
|
1059
1357
|
children: [
|
|
@@ -1065,7 +1363,7 @@ function X() {
|
|
|
1065
1363
|
children: [/* @__PURE__ */ t("img", {
|
|
1066
1364
|
src: "/static/images/vs-code-logo.png",
|
|
1067
1365
|
alt: ""
|
|
1068
|
-
}),
|
|
1366
|
+
}), s("secret.yaml")]
|
|
1069
1367
|
})
|
|
1070
1368
|
]
|
|
1071
1369
|
}), /* @__PURE__ */ n("pre", {
|
|
@@ -1187,84 +1485,84 @@ function X() {
|
|
|
1187
1485
|
}
|
|
1188
1486
|
//#endregion
|
|
1189
1487
|
//#region src/components/WhatsNew/Component.tsx
|
|
1190
|
-
var
|
|
1488
|
+
var fe = "https://docs.smarter.sh", pe = [
|
|
1191
1489
|
{
|
|
1192
|
-
name:
|
|
1490
|
+
name: s("Extensions"),
|
|
1193
1491
|
version: "0.27",
|
|
1194
|
-
description:
|
|
1492
|
+
description: s("Install signed, third-party LLM tools from the Smarter Extension registry"),
|
|
1195
1493
|
docsPath: "smarter-platform/extensions.html"
|
|
1196
1494
|
},
|
|
1197
1495
|
{
|
|
1198
1496
|
name: "Smarter MCP Server",
|
|
1199
1497
|
version: "0.24",
|
|
1200
|
-
description:
|
|
1498
|
+
description: s("Answers about The Smarter Project, from its own code and docs, for any MCP client"),
|
|
1201
1499
|
docsPath: "smarter-platform/smarter-project-mcp-server.html"
|
|
1202
1500
|
},
|
|
1203
1501
|
{
|
|
1204
1502
|
name: "OpenAPI",
|
|
1205
1503
|
version: "0.22",
|
|
1206
|
-
description:
|
|
1504
|
+
description: s("An OpenAPI document and JSON Schemas for the Smarter api, served by every platform"),
|
|
1207
1505
|
docsPath: "smarter-framework/smarter-openapi.html"
|
|
1208
1506
|
},
|
|
1209
1507
|
{
|
|
1210
|
-
name:
|
|
1508
|
+
name: s("Themable Chat"),
|
|
1211
1509
|
version: "0.21",
|
|
1212
|
-
description:
|
|
1510
|
+
description: s("Brand your LLMClient's chat with your own logo, colors, fonts and avatar"),
|
|
1213
1511
|
docsPath: "smarter-resources/llmclient/styles.html"
|
|
1214
1512
|
},
|
|
1215
1513
|
{
|
|
1216
1514
|
name: "ImageSearchPlugin",
|
|
1217
1515
|
version: "0.19",
|
|
1218
|
-
description:
|
|
1516
|
+
description: s("Let LLMs find and show images from the web"),
|
|
1219
1517
|
docsPath: "smarter-resources/llmtool/plugin/image-search.html"
|
|
1220
1518
|
},
|
|
1221
1519
|
{
|
|
1222
|
-
name:
|
|
1520
|
+
name: s("Infrastructure Manager"),
|
|
1223
1521
|
version: "0.18",
|
|
1224
|
-
description:
|
|
1522
|
+
description: s("Manage and monitor your cloud infrastructure from the web console"),
|
|
1225
1523
|
docsPath: "smarter-framework/technologies/infrastructure.html"
|
|
1226
1524
|
},
|
|
1227
1525
|
{
|
|
1228
|
-
name:
|
|
1526
|
+
name: s("Custom Domains"),
|
|
1229
1527
|
version: "0.18",
|
|
1230
|
-
description:
|
|
1528
|
+
description: s("Serve LLMClients from your own branded domain, managed with a SAM manifest"),
|
|
1231
1529
|
docsPath: "smarter-resources/smarter-custom-domain.html"
|
|
1232
1530
|
},
|
|
1233
1531
|
{
|
|
1234
|
-
name:
|
|
1532
|
+
name: s("Manifest Editor"),
|
|
1235
1533
|
version: "0.17",
|
|
1236
|
-
description:
|
|
1534
|
+
description: s("Edit, validate, save, clone and delete manifests in the web console"),
|
|
1237
1535
|
docsPath: "smarter-platform/smarter-web-console.html"
|
|
1238
1536
|
},
|
|
1239
1537
|
{
|
|
1240
|
-
name:
|
|
1538
|
+
name: s("Budgets"),
|
|
1241
1539
|
version: "0.16",
|
|
1242
|
-
description:
|
|
1540
|
+
description: s("Enforce spending limits on any resource, with budget vs actual charts"),
|
|
1243
1541
|
docsPath: "smarter-resources/smarter-budget.html"
|
|
1244
1542
|
},
|
|
1245
1543
|
{
|
|
1246
1544
|
name: "LLMHosts",
|
|
1247
1545
|
version: "0.16",
|
|
1248
|
-
description:
|
|
1546
|
+
description: s("Run open-weight LLMs on your own Kubernetes cluster"),
|
|
1249
1547
|
docsPath: "smarter-resources/smarter-llmhost.html"
|
|
1250
1548
|
},
|
|
1251
1549
|
{
|
|
1252
|
-
name:
|
|
1550
|
+
name: s("Proxies"),
|
|
1253
1551
|
version: "0.16",
|
|
1254
|
-
description:
|
|
1552
|
+
description: s("Pass requests through to LLM provider APIs, with keys kept as Smarter Secrets"),
|
|
1255
1553
|
docsPath: "smarter-resources/smarter-proxy.html"
|
|
1256
1554
|
},
|
|
1257
1555
|
{
|
|
1258
1556
|
name: "VectorStores",
|
|
1259
1557
|
version: "0.16",
|
|
1260
|
-
description:
|
|
1558
|
+
description: s("Manage RAG vector databases: self-hosted Qdrant, Qdrant Cloud and Pinecone"),
|
|
1261
1559
|
docsPath: "smarter-resources/smarter-vectorstore.html"
|
|
1262
1560
|
}
|
|
1263
1561
|
];
|
|
1264
|
-
function
|
|
1562
|
+
function me() {
|
|
1265
1563
|
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ n("section", {
|
|
1266
1564
|
id: "whats-new",
|
|
1267
|
-
"aria-label":
|
|
1565
|
+
"aria-label": s("What's New"),
|
|
1268
1566
|
className: "card border-transparent h-xl-100",
|
|
1269
1567
|
children: [/* @__PURE__ */ t("div", {
|
|
1270
1568
|
className: "card-header border-0 pt-5",
|
|
@@ -1272,23 +1570,23 @@ function $() {
|
|
|
1272
1570
|
className: "card-title align-items-start flex-column",
|
|
1273
1571
|
children: [/* @__PURE__ */ t("span", {
|
|
1274
1572
|
className: "card-label fw-bold text-gray-900",
|
|
1275
|
-
children:
|
|
1573
|
+
children: s("What's New")
|
|
1276
1574
|
}), /* @__PURE__ */ t("span", {
|
|
1277
1575
|
className: "text-muted mt-1 fw-semibold fs-7",
|
|
1278
|
-
children:
|
|
1576
|
+
children: s("Recently added Smarter features")
|
|
1279
1577
|
})]
|
|
1280
1578
|
})
|
|
1281
1579
|
}), /* @__PURE__ */ t("div", {
|
|
1282
1580
|
className: "card-body pt-3",
|
|
1283
1581
|
children: /* @__PURE__ */ t("ul", {
|
|
1284
1582
|
className: "whats-new-list list-unstyled row g-4 mb-0",
|
|
1285
|
-
children:
|
|
1583
|
+
children: pe.map((e) => /* @__PURE__ */ n("li", {
|
|
1286
1584
|
className: "col-md-6 d-flex align-items-start",
|
|
1287
1585
|
children: [/* @__PURE__ */ t("span", {
|
|
1288
1586
|
className: "badge badge-light-primary fw-bold me-3 mt-1",
|
|
1289
1587
|
children: e.version
|
|
1290
1588
|
}), /* @__PURE__ */ n("div", { children: [/* @__PURE__ */ t("a", {
|
|
1291
|
-
href: `${
|
|
1589
|
+
href: `${fe}/${e.docsPath}`,
|
|
1292
1590
|
target: "_blank",
|
|
1293
1591
|
rel: "noopener noreferrer",
|
|
1294
1592
|
className: "text-gray-900 text-hover-primary fw-bold fs-6",
|
|
@@ -1303,6 +1601,6 @@ function $() {
|
|
|
1303
1601
|
}) });
|
|
1304
1602
|
}
|
|
1305
1603
|
//#endregion
|
|
1306
|
-
export {
|
|
1604
|
+
export { h as Cli, ee as Contribute, x as Extensions, ne as Instructors, P as Integrations, R as McpServer, G as PLUGIN_KINDS, oe as ROOT_ID, q as ResourceCard, Q as ResourceTree, ae as Sdk, le as SelfHost, de as VSCodeExtension, me as WhatsNew, X as branchIds, J as childId, se as countResources, Y as depth, K as kindInfo };
|
|
1307
1605
|
|
|
1308
1606
|
//# sourceMappingURL=ui-widgets.es.js.map
|