@elyracode/ai 0.9.26 → 0.9.28
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/image-models.generated.d.ts +15 -0
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +15 -0
- package/dist/image-models.generated.js.map +1 -1
- package/dist/models.generated.d.ts +164 -126
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +257 -209
- package/dist/models.generated.js.map +1 -1
- package/dist/utils/oauth/oauth-page.d.ts.map +1 -1
- package/dist/utils/oauth/oauth-page.js +2 -1
- package/dist/utils/oauth/oauth-page.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-page.d.ts","sourceRoot":"","sources":["../../../src/utils/oauth/oauth-page.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth-page.d.ts","sourceRoot":"","sources":["../../../src/utils/oauth/oauth-page.ts"],"names":[],"mappings":"AA8FA,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMxD;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAOxE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// Keep in sync with favicon.svg at the repo root (the Elyra constellation).
|
|
2
|
+
const LOGO_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" aria-hidden="true"><defs><radialGradient id="halo" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="#f97316" stop-opacity="0.55"/><stop offset="60%" stop-color="#f97316" stop-opacity="0.12"/><stop offset="100%" stop-color="#f97316" stop-opacity="0"/></radialGradient></defs><rect width="24" height="24" rx="5" fill="#0a0a0a"/><g stroke="#fb923c" stroke-width="1" stroke-linecap="round" opacity="0.45"><line x1="12" y1="3.5" x2="7" y2="10.5"/><line x1="12" y1="3.5" x2="16" y2="9.5"/><line x1="7" y1="10.5" x2="16" y2="9.5"/><line x1="7" y1="10.5" x2="9" y2="19"/><line x1="16" y1="9.5" x2="17.5" y2="18"/><line x1="9" y1="19" x2="17.5" y2="18"/></g><circle cx="12" cy="3.5" r="4" fill="url(#halo)"/><circle cx="12" cy="3.5" r="1.9" fill="#fb923c"/><g stroke="#fb923c" stroke-width="0.6" stroke-linecap="round" opacity="0.9"><line x1="12" y1="0.5" x2="12" y2="6.5"/><line x1="9" y1="3.5" x2="15" y2="3.5"/></g><circle cx="7" cy="10.5" r="1.15" fill="#fb923c"/><circle cx="16" cy="9.5" r="1.15" fill="#fb923c"/><circle cx="9" cy="19" r="1.15" fill="#fb923c"/><circle cx="17.5" cy="18" r="1.15" fill="#fb923c"/></svg>`;
|
|
2
3
|
function escapeHtml(value) {
|
|
3
4
|
return value
|
|
4
5
|
.replaceAll("&", "&")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-page.js","sourceRoot":"","sources":["../../../src/utils/oauth/oauth-page.ts"],"names":[],"mappings":"AAAA,MAAM,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"oauth-page.js","sourceRoot":"","sources":["../../../src/utils/oauth/oauth-page.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,MAAM,QAAQ,GAAG,2qCAA2qC,CAAC;AAE7rC,SAAS,UAAU,CAAC,KAAa;IAChC,OAAO,KAAK;SACV,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC;SACxB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;SACvB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;SACvB,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC;SACzB,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC5B,CAAC;AAED,SAAS,UAAU,CAAC,OAA8E;IACjG,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAE1E,OAAO;;;;;WAKG,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8DQ,QAAQ;UACtB,OAAO;SACR,OAAO;MACV,OAAO,CAAC,CAAC,CAAC,wBAAwB,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE;;;QAGpD,CAAC;AACT,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAe;IAC/C,OAAO,UAAU,CAAC;QACjB,KAAK,EAAE,2BAA2B;QAClC,OAAO,EAAE,2BAA2B;QACpC,OAAO;KACP,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,OAAe,EAAE,OAAgB;IAC/D,OAAO,UAAU,CAAC;QACjB,KAAK,EAAE,uBAAuB;QAC9B,OAAO,EAAE,uBAAuB;QAChC,OAAO;QACP,OAAO;KACP,CAAC,CAAC;AACJ,CAAC","sourcesContent":["// Keep in sync with favicon.svg at the repo root (the Elyra constellation).\nconst LOGO_SVG = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><defs><radialGradient id=\"halo\" cx=\"50%\" cy=\"50%\" r=\"50%\"><stop offset=\"0%\" stop-color=\"#f97316\" stop-opacity=\"0.55\"/><stop offset=\"60%\" stop-color=\"#f97316\" stop-opacity=\"0.12\"/><stop offset=\"100%\" stop-color=\"#f97316\" stop-opacity=\"0\"/></radialGradient></defs><rect width=\"24\" height=\"24\" rx=\"5\" fill=\"#0a0a0a\"/><g stroke=\"#fb923c\" stroke-width=\"1\" stroke-linecap=\"round\" opacity=\"0.45\"><line x1=\"12\" y1=\"3.5\" x2=\"7\" y2=\"10.5\"/><line x1=\"12\" y1=\"3.5\" x2=\"16\" y2=\"9.5\"/><line x1=\"7\" y1=\"10.5\" x2=\"16\" y2=\"9.5\"/><line x1=\"7\" y1=\"10.5\" x2=\"9\" y2=\"19\"/><line x1=\"16\" y1=\"9.5\" x2=\"17.5\" y2=\"18\"/><line x1=\"9\" y1=\"19\" x2=\"17.5\" y2=\"18\"/></g><circle cx=\"12\" cy=\"3.5\" r=\"4\" fill=\"url(#halo)\"/><circle cx=\"12\" cy=\"3.5\" r=\"1.9\" fill=\"#fb923c\"/><g stroke=\"#fb923c\" stroke-width=\"0.6\" stroke-linecap=\"round\" opacity=\"0.9\"><line x1=\"12\" y1=\"0.5\" x2=\"12\" y2=\"6.5\"/><line x1=\"9\" y1=\"3.5\" x2=\"15\" y2=\"3.5\"/></g><circle cx=\"7\" cy=\"10.5\" r=\"1.15\" fill=\"#fb923c\"/><circle cx=\"16\" cy=\"9.5\" r=\"1.15\" fill=\"#fb923c\"/><circle cx=\"9\" cy=\"19\" r=\"1.15\" fill=\"#fb923c\"/><circle cx=\"17.5\" cy=\"18\" r=\"1.15\" fill=\"#fb923c\"/></svg>`;\n\nfunction escapeHtml(value: string): string {\n\treturn value\n\t\t.replaceAll(\"&\", \"&\")\n\t\t.replaceAll(\"<\", \"<\")\n\t\t.replaceAll(\">\", \">\")\n\t\t.replaceAll('\"', \""\")\n\t\t.replaceAll(\"'\", \"'\");\n}\n\nfunction renderPage(options: { title: string; heading: string; message: string; details?: string }): string {\n\tconst title = escapeHtml(options.title);\n\tconst heading = escapeHtml(options.heading);\n\tconst message = escapeHtml(options.message);\n\tconst details = options.details ? escapeHtml(options.details) : undefined;\n\n\treturn `<!doctype html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>${title}</title>\n <style>\n :root {\n --text: #fafafa;\n --text-dim: #a1a1aa;\n --page-bg: #09090b;\n --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n }\n * { box-sizing: border-box; }\n html { color-scheme: dark; }\n body {\n margin: 0;\n min-height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 24px;\n background: var(--page-bg);\n color: var(--text);\n font-family: var(--font-sans);\n text-align: center;\n }\n main {\n width: 100%;\n max-width: 560px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n .logo {\n width: 72px;\n height: 72px;\n display: block;\n margin-bottom: 24px;\n }\n h1 {\n margin: 0 0 10px;\n font-size: 28px;\n line-height: 1.15;\n font-weight: 650;\n color: var(--text);\n }\n p {\n margin: 0;\n line-height: 1.7;\n color: var(--text-dim);\n font-size: 15px;\n }\n .details {\n margin-top: 16px;\n font-family: var(--font-mono);\n font-size: 13px;\n color: var(--text-dim);\n white-space: pre-wrap;\n word-break: break-word;\n }\n </style>\n</head>\n<body>\n <main>\n <div class=\"logo\">${LOGO_SVG}</div>\n <h1>${heading}</h1>\n <p>${message}</p>\n ${details ? `<div class=\"details\">${details}</div>` : \"\"}\n </main>\n</body>\n</html>`;\n}\n\nexport function oauthSuccessHtml(message: string): string {\n\treturn renderPage({\n\t\ttitle: \"Authentication successful\",\n\t\theading: \"Authentication successful\",\n\t\tmessage,\n\t});\n}\n\nexport function oauthErrorHtml(message: string, details?: string): string {\n\treturn renderPage({\n\t\ttitle: \"Authentication failed\",\n\t\theading: \"Authentication failed\",\n\t\tmessage,\n\t\tdetails,\n\t});\n}\n"]}
|