@redocly/replay 0.27.0-next.9 → 0.27.0
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/{replay-AiChatProvider-B94RnQsz.js → replay-AiChatProvider-LQhrLIDL.js} +44 -44
- package/dist/{replay-AiChatProvider-P2u2MtTk.js → replay-AiChatProvider-Oms5CFgT.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-z_QUPu2M.js → replay-AiChatSqliteDBStorage-3-p1mthX.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-BtTa9KkQ.js → replay-AiChatSqliteDBStorage-GZibdHOQ.js} +1 -1
- package/dist/replay-AiPanel-BvwwBTh1.js +742 -0
- package/dist/{replay-AiPanel-BCkDovN_.js → replay-AiPanel-lcDNvgo0.js} +973 -1176
- package/dist/replay-FileWatcher-ClVd_wG0.js +1 -0
- package/dist/replay-FileWatcher-DR-wJLe2.js +343 -0
- package/dist/replay-Observable-D6wKbFwB.js +31 -0
- package/dist/replay-Observable-bjJ6wkRB.js +1 -0
- package/dist/replay-SemanticSearchService-CCqwCRo6.js +1 -0
- package/dist/replay-SemanticSearchService-U1eXQGfF.js +723 -0
- package/dist/{replay-SqliteDBStorage-DMxFWJQ7.js → replay-SqliteDBStorage-Dn6DoVWW.js} +1 -1
- package/dist/{replay-SqliteDBStorage-D9b6LAKr.js → replay-SqliteDBStorage-d_ZK6ScA.js} +1 -1
- package/dist/replay-TauriFileSystemAdapter-CpiUuG3T.js +99 -0
- package/dist/replay-TauriFileSystemAdapter-dwJ0xBYr.js +1 -0
- package/dist/replay-TauriRootStorage-CuVbYMXX.js +605 -0
- package/dist/replay-TauriRootStorage-DhzbAahU.js +1 -0
- package/dist/{replay-agent-loop-C2QNfRSA.js → replay-agent-loop-BLSu4v_O.js} +1 -1
- package/dist/{replay-agent-loop-C8ERLqB5.js → replay-agent-loop-DgEHdXUt.js} +11 -11
- package/dist/{replay-ai-chat-mappers-fViZvzIy.js → replay-ai-chat-mappers-BvfcEubB.js} +5 -5
- package/dist/{replay-ai-chat-mappers-BMhtm64Y.js → replay-ai-chat-mappers-Dy2kJ7ZG.js} +1 -1
- package/dist/replay-core-BJmXmoC5.js +1 -0
- package/dist/replay-core-B_hiOZZr.js +10 -0
- package/dist/{replay-create-model-BhuazQ2q.js → replay-create-model-DNPFcOIp.js} +579 -578
- package/dist/{replay-create-model-BgR6vFGV.js → replay-create-model-bOIDB-e8.js} +10 -10
- package/dist/{replay-db-DAiJFj0l.js → replay-db-BQGv3PGw.js} +1 -1
- package/dist/{replay-db-DKzJowQC.js → replay-db-CMXZZs9v.js} +1 -1
- package/dist/{replay-external-resolver-UONYkON2.js → replay-external-resolver-mrykFC2h.js} +2 -2
- package/dist/{replay-external-resolver-BY6AAeGp.js → replay-external-resolver-n5OvQMRF.js} +1 -1
- package/dist/replay-index-3lwhSmvi.js +1 -0
- package/dist/{replay-index-BowK-_3Z.js → replay-index-Bc5RHu5L.js} +23698 -25407
- package/dist/replay-index-CFLu-XMV.js +25 -0
- package/dist/{replay-index-DWKlhkdU.js → replay-index-CHGVyIdG.js} +1 -1
- package/dist/replay-index-CSR_qlua.js +1 -0
- package/dist/replay-index-CepJ5Z0m.js +6875 -0
- package/dist/{replay-index-amF_dPN8.js → replay-index-CgCGhu4l.js} +6 -6
- package/dist/replay-index-DDjmUXWm.js +1 -0
- package/dist/{replay-index-DM12kT-D.js → replay-index-DiSy_1OY.js} +1 -1
- package/dist/replay-index-Oct6Dygd.js +1 -0
- package/dist/{replay-index-BubK_s3I.js → replay-index-QXosJxRc.js} +18 -18
- package/dist/replay-index-jkDlU0Lx.js +32 -0
- package/dist/{replay-lint-CAN3a2zf.js → replay-lint-DoHQIATV.js} +3 -3
- package/dist/{replay-lint-a0aMVdOC.js → replay-lint-PWaLESz5.js} +3 -3
- package/dist/{replay-lint-graphql-C3aqm51r.js → replay-lint-graphql-xh8VoAwd.js} +1 -1
- package/dist/{replay-lint-graphql-DnztHI0i.js → replay-lint-graphql-zO8zunug.js} +1 -1
- package/dist/replay-periodic-revalidation-BoyLQHtg.js +1 -0
- package/dist/replay-periodic-revalidation-Dsp-n7ui.js +21 -0
- package/dist/replay-promise-map-limit-DRDkHc-b.js +1 -0
- package/dist/replay-promise-map-limit-Db_42GvV.js +14 -0
- package/dist/replay-resolve-B0AjmaE9.js +47 -0
- package/dist/{replay-resolve-LjvT95Yw.js → replay-resolve-MVe_8Ube.js} +1104 -1094
- package/dist/{replay-respect-run-DLSZ4d4p.js → replay-respect-run-BJsR4a4m.js} +1 -1
- package/dist/{replay-respect-run-wqqp8WHA.js → replay-respect-run-X4PSO6Fj.js} +3 -3
- package/dist/{replay-tauri-path-Bg-T0cwI.js → replay-tauri-path-CkGiQWsb.js} +2 -2
- package/dist/{replay-tauri-path-DHZlqqfb.js → replay-tauri-path-D8FJsoZb.js} +1 -1
- package/dist/replay-useAiChatQueries-BXL-_N2Q.js +215 -0
- package/dist/{replay-useAiChatQueries-Dy-kPGKF.js → replay-useAiChatQueries-D7sHNAfV.js} +1078 -1022
- package/dist/{replay-validate-key-B2N6AiQk.js → replay-validate-key-CmzSfORv.js} +1 -1
- package/dist/{replay-validate-key-B7RBY-6z.js → replay-validate-key-CtZEJRP7.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +12 -12
- package/package.json +5 -4
- package/dist/replay-AiPanel-COL9ADyD.js +0 -868
- package/dist/replay-index-ClVtMDHn.js +0 -6899
- package/dist/replay-index-F528jCaH.js +0 -1
- package/dist/replay-index-fpeoVNQb.js +0 -1
- package/dist/replay-resolve-BoryNVbu.js +0 -47
- package/dist/replay-useAiChatQueries-DuNxx5rQ.js +0 -215
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-create-model-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-create-model-bOIDB-e8.js"),n=require("./replay-index-CepJ5Z0m.js"),l=require("./replay-defaults-DVvOnvnR.js");async function s(t,a,o,i){try{const e=r.createModel({provider:t,modelId:o,apiKey:a});return await r.generateText({model:e,prompt:l.VALIDATION_PROMPT,maxOutputTokens:n.MAX_OUTPUT_TOKENS_FOR_VALIDATION,abortSignal:i?.abortSignal}),{valid:!0}}catch(e){if(e instanceof Error&&e.name==="AbortError")throw e;return{valid:!1,error:e instanceof Error&&e.message.length>0?e.message:"Validation failed. Please try again."}}}exports.validateApiKey=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as i, g as n } from "./replay-create-model-
|
|
2
|
-
import { M as s } from "./replay-index-
|
|
1
|
+
import { c as i, g as n } from "./replay-create-model-DNPFcOIp.js";
|
|
2
|
+
import { M as s } from "./replay-index-Bc5RHu5L.js";
|
|
3
3
|
import { V as l } from "./replay-defaults-CzR6jw9a.js";
|
|
4
4
|
async function g(a, e, t, o) {
|
|
5
5
|
try {
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-CepJ5Z0m.js"),t=require("./replay-oauth2-redirect-handler-Bqw5UUvl.js");exports.AI_PROVIDERS=e.AI_PROVIDERS;exports.AiPanelContext=e.AiPanelContext;exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.REUNITE_AI_PROVIDER=e.REUNITE_AI_PROVIDER;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;Object.defineProperty(exports,"SpanStatusCode",{enumerable:!0,get:()=>e.SpanStatusCode});exports.TelemetryClient=e.TelemetryClient;exports.applyThemeToDOM=e.applyThemeToDOM;exports.createResource=e.createResource;exports.getCurrentTheme=e.getCurrentTheme;exports.loadAgentLoop=e.loadAgentLoop;exports.makeProviderRecord=e.makeProviderRecord;exports.resolveTheme=e.resolveTheme;exports.useAiPanel=e.useAiPanel;exports.useTelemetry=e.useTelemetry;exports.useTelemetryClient=e.useTelemetryClient;exports.validateApiKey=e.validateApiKey;exports.OAuth2Error=t.OAuth2Error;exports.handleOAuth2Redirect=t.handleOAuth2Redirect;
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { V as s, G as r, bj as t, bk as l, F as o, bl as b, bm as d, d as m, bn as p, bo as R, b as n, bp as u, bq as y, br as i, bs as A, C as T, B as h, bt as O, bu as C } from "./replay-index-Bc5RHu5L.js";
|
|
2
2
|
import { O as I, h as P } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AI_PROVIDERS,
|
|
@@ -8,18 +8,18 @@ export {
|
|
|
8
8
|
I as OAuth2Error,
|
|
9
9
|
o as REUNITE_AI_PROVIDER,
|
|
10
10
|
b as Replay,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
d as ReplayOverlay,
|
|
12
|
+
m as SpanStatusCode,
|
|
13
|
+
p as TelemetryClient,
|
|
14
|
+
R as applyThemeToDOM,
|
|
15
15
|
n as createResource,
|
|
16
|
-
|
|
16
|
+
u as getCurrentTheme,
|
|
17
17
|
P as handleOAuth2Redirect,
|
|
18
18
|
y as loadAgentLoop,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
i as makeProviderRecord,
|
|
20
|
+
A as resolveTheme,
|
|
21
|
+
T as useAiPanel,
|
|
22
|
+
h as useTelemetry,
|
|
23
|
+
O as useTelemetryClient,
|
|
24
|
+
C as validateApiKey
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.27.0
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-dom": "^19.2.7",
|
|
22
22
|
"react-router": "^8.3.0",
|
|
23
23
|
"styled-components": "^6.4.2",
|
|
24
|
-
"@redocly/theme": "0.68.0
|
|
24
|
+
"@redocly/theme": "0.68.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@ai-sdk/anthropic": "4.0.4",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"@redocly/respect-core": "2.45.0",
|
|
58
58
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
59
59
|
"@tauri-apps/api": "2.4.1",
|
|
60
|
+
"@tauri-apps/plugin-deep-link": "^2.4.5",
|
|
60
61
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
61
62
|
"@tauri-apps/plugin-fs": "2.0.0-rc.2",
|
|
62
63
|
"@tauri-apps/plugin-opener": "^2.5.2",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
"fast-xml-parser": "5.7.3",
|
|
81
82
|
"idb": "^8.0.2",
|
|
82
83
|
"jest-styled-components": "7.2.0",
|
|
83
|
-
"js-yaml": "4.3.
|
|
84
|
+
"js-yaml": "4.3.1",
|
|
84
85
|
"json-pointer": "^0.6.2",
|
|
85
86
|
"json-schema-typed": "^8.0.1",
|
|
86
87
|
"marked": "^4.0.15",
|
|
@@ -91,7 +92,6 @@
|
|
|
91
92
|
"react-resizable-panels": "^3.0.6",
|
|
92
93
|
"react-select": "5.10.1",
|
|
93
94
|
"shellwords": "^1.1.1",
|
|
94
|
-
"ts-node": "10.9.2",
|
|
95
95
|
"typescript": "6.0.3",
|
|
96
96
|
"ulid": "^2.3.0",
|
|
97
97
|
"usehooks-ts": "^3.1.1",
|
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"copy-static": "cp src/oauth2-redirect-page/oauth2-redirect.html dist",
|
|
110
110
|
"preview": "vite preview",
|
|
111
111
|
"ts:check": "tsgo --noEmit --skipLibCheck",
|
|
112
|
+
"knip:check": "pnpm knip --directory ../.. -W packages/replay",
|
|
112
113
|
"test": "nx run vitest:test",
|
|
113
114
|
"watch": "tsgo --build --watch",
|
|
114
115
|
"clean": "rm -rf dist"
|