@pi-outpost/embed 0.62.3 → 0.63.1
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/{CodeEditor-C2mtBAxz.js → CodeEditor-BW8cShfE.js} +870 -869
- package/dist/CodeEditor-BZfOQyjO.cjs +9 -0
- package/dist/{conversationExport-jRLUX0kH.js → conversationExport-BHXWfKKh.js} +37 -37
- package/dist/{conversationExport-DXxmgLoF.cjs → conversationExport-CWUOyeJO.cjs} +2 -2
- package/dist/{conversationHistory-C6PqGsO9.cjs → conversationHistory-0ds9dEO5.cjs} +26 -4
- package/dist/{conversationHistory-3pDBlkZZ.js → conversationHistory-xEFHYA2a.js} +94 -61
- package/dist/{dist-B9wvGgxB.js → dist-B-n0qSdY.js} +134 -133
- package/dist/{dist-LBUs7dVk.js → dist-B53CIh_q.js} +62 -61
- package/dist/{dist-DeLxY4Ia.js → dist-BBPYf4ef.js} +30 -29
- package/dist/dist-BFbWWJdM.cjs +23 -0
- package/dist/dist-BLE5-Y8p.cjs +9 -0
- package/dist/dist-BQCPWecG.cjs +1 -0
- package/dist/dist-BmjjdWVL.cjs +1 -0
- package/dist/{dist-kpPXlS4A.cjs → dist-Bo7aGd2O.cjs} +2 -2
- package/dist/{dist-Bk3hLKgL.js → dist-BoHwBqKn.js} +49 -49
- package/dist/{dist-VWDOErn8.js → dist-BpRy8-Lq.js} +47 -47
- package/dist/dist-BzV3uXd3.js +2842 -0
- package/dist/dist-C3wOZTh_.cjs +1 -0
- package/dist/dist-C6485_TJ.cjs +1 -0
- package/dist/{dist-BIMxMB--.js → dist-CEPaeNz_.js} +57 -57
- package/dist/dist-CbNZ-oK_.cjs +11 -0
- package/dist/dist-CewGgiCl.cjs +1 -0
- package/dist/dist-Cgkuh5Wk.cjs +11 -0
- package/dist/dist-ChIJFFop.cjs +3 -0
- package/dist/dist-Cqy-WSUm.cjs +6 -0
- package/dist/{dist-Bg1-NGne.js → dist-D1XDfvdG.js} +17 -17
- package/dist/{dist-qeX2QqDc.js → dist-DAh__jUg.js} +6724 -9561
- package/dist/dist-DV7vb3Vn.cjs +1 -0
- package/dist/dist-DWOMmaS_.cjs +1 -0
- package/dist/{dist-BWAsFrsx.js → dist-DcevhA0K.js} +73 -73
- package/dist/dist-DdI6ugoG.cjs +1 -0
- package/dist/{dist-CpOA8cNn.js → dist-DhtR0qbm.js} +49 -49
- package/dist/{dist-CwPu13CG.js → dist-DlwWvZ4d.js} +46 -46
- package/dist/{dist-nQ2aeIgK.js → dist-DnmbmV7C.js} +495 -494
- package/dist/dist-DsOiUWHL.cjs +1 -0
- package/dist/dist-DuyBYmw-.cjs +1 -0
- package/dist/{dist-DUziszL2.js → dist-T7rNKseu.js} +32 -32
- package/dist/{dist-CcTOENSK.js → dist-XKeyr4Om.js} +26 -26
- package/dist/{dist-CvxwObne.js → dist-n29rG6c2.js} +117 -117
- package/dist/{dist-DCT8mdeU.js → dist-s8hmOD0A.js} +52 -52
- package/dist/pi-outpost-embed.cjs +46 -44
- package/dist/pi-outpost-embed.js +5022 -4147
- package/package.json +1 -1
- package/dist/CodeEditor-CHKp59kP.cjs +0 -9
- package/dist/dist-B9TXDASo.cjs +0 -1
- package/dist/dist-BMzIUMhf.cjs +0 -1
- package/dist/dist-BawiB8yE.cjs +0 -23
- package/dist/dist-BjxwUutQ.cjs +0 -6
- package/dist/dist-BlUoR-U1.cjs +0 -13
- package/dist/dist-Bnsp4Y3i.cjs +0 -9
- package/dist/dist-CM2l_BHt.cjs +0 -1
- package/dist/dist-CkDnvyBs.cjs +0 -1
- package/dist/dist-CpsCEkIr.cjs +0 -1
- package/dist/dist-DJYmQsI-.cjs +0 -1
- package/dist/dist-F6qtkv2Q.cjs +0 -11
- package/dist/dist-Lxxq5IH0.cjs +0 -1
- package/dist/dist-c-DRw6Dh.cjs +0 -1
- package/dist/dist-sM-IE5EO.cjs +0 -1
- package/dist/dist-vBlUeRrZ.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as c, r as re, t as ie } from "./dist-
|
|
3
|
-
import { a as l, i as ae, r as oe } from "./CodeEditor-
|
|
1
|
+
import { F as e, M as t, N as n, _ as r, a as i, f as a, h as o, k as s, n as ee, x as te, z as ne } from "./dist-BzV3uXd3.js";
|
|
2
|
+
import { n as c, r as re, t as ie } from "./dist-DcevhA0K.js";
|
|
3
|
+
import { a as l, i as ae, r as oe } from "./CodeEditor-BW8cShfE.js";
|
|
4
4
|
//#region ../node_modules/@lezer/python/dist/index.js
|
|
5
5
|
var se = 1, u = 194, d = 195, ce = 196, f = 197, le = 198, ue = 199, de = 200, fe = 2, p = 3, m = 201, h = 24, pe = 25, me = 49, he = 50, ge = 55, _e = 56, ve = 57, ye = 59, be = 60, xe = 61, Se = 62, Ce = 63, we = 65, Te = 238, Ee = 71, De = 241, Oe = 242, ke = 243, Ae = 244, g = 245, _ = 246, v = 247, y = 248, b = 72, x = 249, S = 250, C = 251, je = 252, Me = 253, Ne = 254, Pe = 255, Fe = 256, Ie = 73, Le = 77, Re = 263, ze = 112, Be = 130, Ve = 151, He = 152, Ue = 155, w = 10, T = 13, E = 32, D = 9, O = 35, We = 40, Ge = 46, k = 123, A = 125, j = 39, M = 34, N = 92, P = 111, Ke = 120, qe = 78, Je = 117, Ye = 85, Xe = /* @__PURE__ */ new Set([
|
|
6
6
|
pe,
|
|
@@ -149,38 +149,38 @@ function it(e, t) {
|
|
|
149
149
|
e.next == A && e.advance();
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
var at =
|
|
153
|
-
"async \"*\" \"**\" FormatConversion FormatSpec":
|
|
154
|
-
"for while if elif else try except finally return raise break continue with pass assert await yield match case":
|
|
155
|
-
"in not and or is del":
|
|
156
|
-
"from def class global nonlocal lambda":
|
|
157
|
-
import:
|
|
158
|
-
"with as print":
|
|
159
|
-
Boolean:
|
|
160
|
-
None:
|
|
161
|
-
VariableName:
|
|
162
|
-
"CallExpression/VariableName":
|
|
163
|
-
"FunctionDefinition/VariableName":
|
|
164
|
-
"ClassDefinition/VariableName":
|
|
165
|
-
PropertyName:
|
|
166
|
-
"CallExpression/MemberExpression/PropertyName":
|
|
167
|
-
Comment:
|
|
168
|
-
Number:
|
|
169
|
-
String:
|
|
170
|
-
FormatString:
|
|
171
|
-
Escape:
|
|
172
|
-
UpdateOp:
|
|
173
|
-
"ArithOp!":
|
|
174
|
-
BitOp:
|
|
175
|
-
CompareOp:
|
|
176
|
-
AssignOp:
|
|
177
|
-
Ellipsis:
|
|
178
|
-
At:
|
|
179
|
-
"( )":
|
|
180
|
-
"[ ]":
|
|
181
|
-
"{ }":
|
|
182
|
-
".":
|
|
183
|
-
", ;":
|
|
152
|
+
var at = t({
|
|
153
|
+
"async \"*\" \"**\" FormatConversion FormatSpec": n.modifier,
|
|
154
|
+
"for while if elif else try except finally return raise break continue with pass assert await yield match case": n.controlKeyword,
|
|
155
|
+
"in not and or is del": n.operatorKeyword,
|
|
156
|
+
"from def class global nonlocal lambda": n.definitionKeyword,
|
|
157
|
+
import: n.moduleKeyword,
|
|
158
|
+
"with as print": n.keyword,
|
|
159
|
+
Boolean: n.bool,
|
|
160
|
+
None: n.null,
|
|
161
|
+
VariableName: n.variableName,
|
|
162
|
+
"CallExpression/VariableName": n.function(n.variableName),
|
|
163
|
+
"FunctionDefinition/VariableName": n.function(n.definition(n.variableName)),
|
|
164
|
+
"ClassDefinition/VariableName": n.definition(n.className),
|
|
165
|
+
PropertyName: n.propertyName,
|
|
166
|
+
"CallExpression/MemberExpression/PropertyName": n.function(n.propertyName),
|
|
167
|
+
Comment: n.lineComment,
|
|
168
|
+
Number: n.number,
|
|
169
|
+
String: n.string,
|
|
170
|
+
FormatString: n.special(n.string),
|
|
171
|
+
Escape: n.escape,
|
|
172
|
+
UpdateOp: n.updateOperator,
|
|
173
|
+
"ArithOp!": n.arithmeticOperator,
|
|
174
|
+
BitOp: n.bitwiseOperator,
|
|
175
|
+
CompareOp: n.compareOperator,
|
|
176
|
+
AssignOp: n.definitionOperator,
|
|
177
|
+
Ellipsis: n.punctuation,
|
|
178
|
+
At: n.meta,
|
|
179
|
+
"( )": n.paren,
|
|
180
|
+
"[ ]": n.squareBracket,
|
|
181
|
+
"{ }": n.brace,
|
|
182
|
+
".": n.derefOperator,
|
|
183
|
+
", ;": n.separator
|
|
184
184
|
}), ot = {
|
|
185
185
|
__proto__: null,
|
|
186
186
|
await: 44,
|
|
@@ -347,7 +347,7 @@ var at = ne({
|
|
|
347
347
|
get: (e) => ot[e] || -1
|
|
348
348
|
}],
|
|
349
349
|
tokenPrec: 7668
|
|
350
|
-
}), G = /*@__PURE__*/ new
|
|
350
|
+
}), G = /*@__PURE__*/ new ne(), K = /*@__PURE__*/ new Set([
|
|
351
351
|
"Script",
|
|
352
352
|
"Body",
|
|
353
353
|
"FunctionDefinition",
|
|
@@ -387,24 +387,24 @@ var ct = {
|
|
|
387
387
|
AsPattern: /*@__PURE__*/ q("variable"),
|
|
388
388
|
__proto__: null
|
|
389
389
|
};
|
|
390
|
-
function J(
|
|
390
|
+
function J(t, n) {
|
|
391
391
|
let r = G.get(n);
|
|
392
392
|
if (r) return r;
|
|
393
393
|
let i = [], a = !0;
|
|
394
|
-
function o(
|
|
395
|
-
let r =
|
|
394
|
+
function o(e, n) {
|
|
395
|
+
let r = t.sliceString(e.from, e.to);
|
|
396
396
|
i.push({
|
|
397
397
|
label: r,
|
|
398
398
|
type: n
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
|
-
return n.cursor(
|
|
402
|
-
if (
|
|
403
|
-
let
|
|
404
|
-
if (
|
|
401
|
+
return n.cursor(e.IncludeAnonymous).iterate((e) => {
|
|
402
|
+
if (e.name) {
|
|
403
|
+
let t = ct[e.name];
|
|
404
|
+
if (t && t(e, o, a) || !a && K.has(e.name)) return !1;
|
|
405
405
|
a = !1;
|
|
406
|
-
} else if (
|
|
407
|
-
for (let n of J(
|
|
406
|
+
} else if (e.to - e.from > 8192) {
|
|
407
|
+
for (let n of J(t, e.node)) i.push(n);
|
|
408
408
|
return !1;
|
|
409
409
|
}
|
|
410
410
|
}), G.set(n, i), i;
|
|
@@ -555,7 +555,7 @@ var $ = /*@__PURE__*/ ee.define({
|
|
|
555
555
|
let t = Z(e);
|
|
556
556
|
return (t && Q(e, t)) ?? e.continue();
|
|
557
557
|
}
|
|
558
|
-
}), /*@__PURE__*/
|
|
558
|
+
}), /*@__PURE__*/ r.add({
|
|
559
559
|
"ArrayExpression DictionaryExpression SetExpression TupleExpression": o,
|
|
560
560
|
Body: (e, t) => ({
|
|
561
561
|
from: e.from + 1,
|
|
@@ -601,7 +601,7 @@ var $ = /*@__PURE__*/ ee.define({
|
|
|
601
601
|
}
|
|
602
602
|
});
|
|
603
603
|
function pt() {
|
|
604
|
-
return new
|
|
604
|
+
return new i($, [$.data.of({ autocomplete: lt }), $.data.of({ autocomplete: ft })]);
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
607
|
export { pt as python };
|