@jixo/cli 0.25.0 → 0.26.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/assets/bundle/google-aistudio.browser.js +562 -2433
- package/assets/bundle/google-aistudio.jixo.js +63655 -0
- package/assets/prompt.json +1 -1
- package/assets/tools.json +1 -0
- package/bundle/{acorn-CU7YmuGp.js → acorn-BJF4qA9z.js} +17 -39
- package/bundle/acorn-BJF4qA9z.js.map +1 -0
- package/bundle/{angular-BZFEnvyh.js → angular-Cu7-vCtW.js} +44 -207
- package/bundle/angular-Cu7-vCtW.js.map +1 -0
- package/bundle/{babel-BC5Ty8sN.js → babel-ZTOL0_x6.js} +109 -125
- package/bundle/babel-ZTOL0_x6.js.map +1 -0
- package/bundle/{estree-DZTSfOv_.js → estree-5JRlNokb.js} +9 -10
- package/bundle/estree-5JRlNokb.js.map +1 -0
- package/bundle/file-replacer-CQZSjZXb.js +3 -0
- package/bundle/{file-replacer-cUUAxJ6b.js → file-replacer-CZhq6MJJ.js} +1543 -1127
- package/bundle/file-replacer-CZhq6MJJ.js.map +1 -0
- package/bundle/{flow-CNTeHoxv.js → flow-Cd3L1dMY.js} +482 -680
- package/bundle/flow-Cd3L1dMY.js.map +1 -0
- package/bundle/{gen-prompt-qt1W8jAy.js → gen-prompt-3bZp8K__.js} +5610 -526
- package/bundle/gen-prompt-3bZp8K__.js.map +1 -0
- package/bundle/gen-prompt-IINGP6mf.js +4 -0
- package/bundle/{glimmer-DYkbcawC.js → glimmer-N8tyHqy2.js} +29 -47
- package/bundle/glimmer-N8tyHqy2.js.map +1 -0
- package/bundle/{graphql-fCaNVuM0.js → graphql-BsfPfzVT.js} +8 -8
- package/bundle/graphql-BsfPfzVT.js.map +1 -0
- package/bundle/{html-Bb8ztcZq.js → html-CV8zEM7F.js} +8 -10
- package/bundle/html-CV8zEM7F.js.map +1 -0
- package/bundle/index.js +16415 -7240
- package/bundle/index.js.map +1 -0
- package/bundle/{markdown-ChusAllR.js → markdown-Cq8CRcxA.js} +5 -89
- package/bundle/markdown-Cq8CRcxA.js.map +1 -0
- package/bundle/{meriyah-9NeL3We4.js → meriyah-f8qRdfjZ.js} +10 -16
- package/bundle/meriyah-f8qRdfjZ.js.map +1 -0
- package/bundle/{postcss-DXCUuMfC.js → postcss-CtnQb9ad.js} +69 -159
- package/bundle/postcss-CtnQb9ad.js.map +1 -0
- package/bundle/{typescript-C2HFEnMP.js → typescript-BQw1QTVg.js} +55 -106
- package/bundle/typescript-BQw1QTVg.js.map +1 -0
- package/bundle/{yaml-ByEZ6gmG.js → yaml-B5kqwurc.js} +55 -127
- package/bundle/yaml-B5kqwurc.js.map +1 -0
- package/dist/commands/google-aistudio.d.ts.map +1 -1
- package/dist/commands/google-aistudio.js +6 -16
- package/dist/commands/google-aistudio.js.map +1 -1
- package/dist/commands/groq.js +1 -1
- package/dist/commands/groq.js.map +1 -1
- package/dist/prompts.json +2 -14
- package/dist/runCli.js +3 -3
- package/dist/runCli.js.map +1 -1
- package/package.json +9 -8
- package/assets/bundle/groq.browser.js +0 -3714
- package/bundle/external-CS43xY0F.js +0 -285
- package/bundle/file-replacer-nbB4NnrU.js +0 -3
- package/bundle/gen-prompt-BxI7DHUD.js +0 -4
- package/dist/cli.d.ts +0 -2
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -83
- package/dist/cli.js.map +0 -1
- package/dist/commands/daemon.d.ts +0 -5
- package/dist/commands/daemon.d.ts.map +0 -1
- package/dist/commands/daemon.js +0 -20
- package/dist/commands/daemon.js.map +0 -1
- package/dist/commands/doctor/config.d.ts +0 -3
- package/dist/commands/doctor/config.d.ts.map +0 -1
- package/dist/commands/doctor/config.js +0 -17
- package/dist/commands/doctor/config.js.map +0 -1
- package/dist/commands/doctor/doctor.d.ts +0 -3
- package/dist/commands/doctor/doctor.d.ts.map +0 -1
- package/dist/commands/doctor/doctor.js +0 -158
- package/dist/commands/doctor/doctor.js.map +0 -1
- package/dist/commands/doctor/doctor.test.d.ts +0 -2
- package/dist/commands/doctor/doctor.test.d.ts.map +0 -1
- package/dist/commands/doctor/doctor.test.js +0 -14
- package/dist/commands/doctor/doctor.test.js.map +0 -1
- package/dist/commands/doctor/index.d.ts +0 -2
- package/dist/commands/doctor/index.d.ts.map +0 -1
- package/dist/commands/doctor/index.js +0 -8
- package/dist/commands/doctor/index.js.map +0 -1
- package/dist/commands/doctor/types.d.ts +0 -45
- package/dist/commands/doctor/types.d.ts.map +0 -1
- package/dist/commands/doctor/types.js +0 -3
- package/dist/commands/doctor/types.js.map +0 -1
- package/dist/commands/init.d.ts +0 -2
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -40
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/tasks/run.d.ts +0 -10
- package/dist/commands/tasks/run.d.ts.map +0 -1
- package/dist/commands/tasks/run.js +0 -44
- package/dist/commands/tasks/run.js.map +0 -1
- package/dist/config.d.ts +0 -15
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -23
- package/dist/config.js.map +0 -1
- package/dist/env.d.ts +0 -6
- package/dist/env.d.ts.map +0 -1
- package/dist/env.js +0 -16
- package/dist/env.js.map +0 -1
|
@@ -309,8 +309,7 @@ function on(e, t = "type") {
|
|
|
309
309
|
}
|
|
310
310
|
return r;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
var Gr = {
|
|
312
|
+
var ln = on({
|
|
314
313
|
Template: ["body"],
|
|
315
314
|
Block: ["body"],
|
|
316
315
|
MustacheStatement: [
|
|
@@ -354,8 +353,7 @@ var Gr = {
|
|
|
354
353
|
UndefinedLiteral: [],
|
|
355
354
|
Hash: ["pairs"],
|
|
356
355
|
HashPair: ["value"]
|
|
357
|
-
};
|
|
358
|
-
var ln = Yr(Gr), Kr = ln;
|
|
356
|
+
}), Kr = ln;
|
|
359
357
|
function St(e) {
|
|
360
358
|
return e.loc.start.offset;
|
|
361
359
|
}
|
|
@@ -809,7 +807,8 @@ var Bn = Object.freeze([]);
|
|
|
809
807
|
function fs() {
|
|
810
808
|
return Bn;
|
|
811
809
|
}
|
|
812
|
-
|
|
810
|
+
fs();
|
|
811
|
+
fs();
|
|
813
812
|
var Ze = Object.assign;
|
|
814
813
|
var ps = console;
|
|
815
814
|
function ms(e, t = "unexpected unreachable branch") {
|
|
@@ -2052,20 +2051,17 @@ var In = function() {
|
|
|
2052
2051
|
}
|
|
2053
2052
|
},
|
|
2054
2053
|
parse: function(d) {
|
|
2055
|
-
var k = this, g = [0],
|
|
2054
|
+
var k = this, g = [0], N = [null], l = [], Pt = this.table, u = "", at = 0, Yt = 0, Ar = 0, Hs = 2, Lr = 1, Fs = l.slice.call(arguments, 1), P = Object.create(this.lexer), dt = { yy: {} };
|
|
2056
2055
|
for (var Oe in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Oe) && (dt.yy[Oe] = this.yy[Oe]);
|
|
2057
2056
|
P.setInput(d, dt.yy), dt.yy.lexer = P, dt.yy.parser = this, typeof P.yylloc > "u" && (P.yylloc = {});
|
|
2058
2057
|
var Be = P.yylloc;
|
|
2059
2058
|
l.push(Be);
|
|
2060
2059
|
var Us = P.options && P.options.ranges;
|
|
2061
2060
|
typeof dt.yy.parseError == "function" ? this.parseError = dt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
2062
|
-
function wi(W) {
|
|
2063
|
-
g.length = g.length - 2 * W, N.length = N.length - W, l.length = l.length - W;
|
|
2064
|
-
}
|
|
2065
2061
|
for (var Ms = function() {
|
|
2066
2062
|
var W;
|
|
2067
2063
|
return W = P.lex() || Lr, typeof W != "number" && (W = k.symbols_[W] || W), W;
|
|
2068
|
-
}, O, Ie, gt, M,
|
|
2064
|
+
}, O, Ie, gt, M, Re, At = {}, he, Z, Dr, pe;;) {
|
|
2069
2065
|
if (gt = g[g.length - 1], this.defaultActions[gt] ? M = this.defaultActions[gt] : ((O === null || typeof O > "u") && (O = Ms()), M = Pt[gt] && Pt[gt][O]), typeof M > "u" || !M.length || !M[0]) {
|
|
2070
2066
|
var qe = "";
|
|
2071
2067
|
pe = [];
|
|
@@ -2107,8 +2103,9 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[O] || O) + "'" : qe =
|
|
|
2107
2103
|
}
|
|
2108
2104
|
return !0;
|
|
2109
2105
|
}
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2106
|
+
};
|
|
2107
|
+
De.lexer = function() {
|
|
2108
|
+
return {
|
|
2112
2109
|
EOF: 1,
|
|
2113
2110
|
parseError: function(k, g) {
|
|
2114
2111
|
if (this.yy.parser) this.yy.parser.parseError(k, g);
|
|
@@ -2125,8 +2122,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[O] || O) + "'" : qe =
|
|
|
2125
2122
|
input: function() {
|
|
2126
2123
|
var d = this._input[0];
|
|
2127
2124
|
this.yytext += d, this.yyleng++, this.offset++, this.match += d, this.matched += d;
|
|
2128
|
-
|
|
2129
|
-
return k ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), d;
|
|
2125
|
+
return d.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), d;
|
|
2130
2126
|
},
|
|
2131
2127
|
unput: function(d) {
|
|
2132
2128
|
var k = d.length, g = d.split(/(?:\r\n?|\n)/g);
|
|
@@ -2225,15 +2221,13 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[O] || O) + "'" : qe =
|
|
|
2225
2221
|
});
|
|
2226
2222
|
},
|
|
2227
2223
|
lex: function() {
|
|
2228
|
-
|
|
2229
|
-
return k || this.lex();
|
|
2224
|
+
return this.next() || this.lex();
|
|
2230
2225
|
},
|
|
2231
2226
|
begin: function(k) {
|
|
2232
2227
|
this.conditionStack.push(k);
|
|
2233
2228
|
},
|
|
2234
2229
|
popState: function() {
|
|
2235
|
-
|
|
2236
|
-
return k > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
2230
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
2237
2231
|
},
|
|
2238
2232
|
_currentRules: function() {
|
|
2239
2233
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
@@ -2252,7 +2246,6 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[O] || O) + "'" : qe =
|
|
|
2252
2246
|
function l(u, at) {
|
|
2253
2247
|
return g.yytext = g.yytext.substring(u, g.yyleng - at + u);
|
|
2254
2248
|
}
|
|
2255
|
-
var Pt = N;
|
|
2256
2249
|
switch (b) {
|
|
2257
2250
|
case 0:
|
|
2258
2251
|
if (g.yytext.slice(-2) === "\\\\" ? (l(0, 1), this.begin("mu")) : g.yytext.slice(-1) === "\\" ? (l(0, 1), this.begin("emu")) : this.begin("mu"), g.yytext) return 15;
|
|
@@ -2422,9 +2415,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[O] || O) + "'" : qe =
|
|
|
2422
2415
|
}
|
|
2423
2416
|
}
|
|
2424
2417
|
};
|
|
2425
|
-
return it;
|
|
2426
2418
|
}();
|
|
2427
|
-
De.lexer = Vs;
|
|
2428
2419
|
function _e() {
|
|
2429
2420
|
this.yy = {};
|
|
2430
2421
|
}
|
|
@@ -2651,9 +2642,9 @@ function Hn(e, t, r) {
|
|
|
2651
2642
|
};
|
|
2652
2643
|
}
|
|
2653
2644
|
function Fn(e, t, r, s, n, i) {
|
|
2654
|
-
var a = s.charAt(3) || s.charAt(2), o = a !== "{" && a !== "&"
|
|
2645
|
+
var a = s.charAt(3) || s.charAt(2), o = a !== "{" && a !== "&";
|
|
2655
2646
|
return {
|
|
2656
|
-
type:
|
|
2647
|
+
type: /\*/.test(s) ? "Decorator" : "MustacheStatement",
|
|
2657
2648
|
path: e,
|
|
2658
2649
|
params: t,
|
|
2659
2650
|
hash: r,
|
|
@@ -2746,12 +2737,11 @@ function Te(e, t) {
|
|
|
2746
2737
|
Se.yy = ks, Se.yy.locInfo = function(s) {
|
|
2747
2738
|
return new ir(t && t.srcName, s);
|
|
2748
2739
|
};
|
|
2749
|
-
|
|
2750
|
-
return r;
|
|
2740
|
+
return Se.parse(e);
|
|
2751
2741
|
}
|
|
2752
2742
|
function ar(e, t) {
|
|
2753
|
-
var r = Te(e, t)
|
|
2754
|
-
return
|
|
2743
|
+
var r = Te(e, t);
|
|
2744
|
+
return new ys(t).accept(r);
|
|
2755
2745
|
}
|
|
2756
2746
|
var Es = {
|
|
2757
2747
|
Aacute: "Á",
|
|
@@ -4929,10 +4919,7 @@ var lr = function() {
|
|
|
4929
4919
|
markupDeclarationOpen: function() {
|
|
4930
4920
|
var n = this.consume();
|
|
4931
4921
|
if (n === "-" && this.peek() === "-") this.consume(), this.transitionTo("commentStart"), this.delegate.beginComment();
|
|
4932
|
-
else
|
|
4933
|
-
var i = n.toUpperCase() + this.input.substring(this.index, this.index + 6).toUpperCase();
|
|
4934
|
-
i === "DOCTYPE" && (this.consume(), this.consume(), this.consume(), this.consume(), this.consume(), this.consume(), this.transitionTo("doctype"), this.delegate.beginDoctype && this.delegate.beginDoctype());
|
|
4935
|
-
}
|
|
4922
|
+
else n.toUpperCase() + this.input.substring(this.index, this.index + 6).toUpperCase() === "DOCTYPE" && (this.consume(), this.consume(), this.consume(), this.consume(), this.consume(), this.consume(), this.transitionTo("doctype"), this.delegate.beginDoctype && this.delegate.beginDoctype());
|
|
4936
4923
|
},
|
|
4937
4924
|
doctype: function() {
|
|
4938
4925
|
var n = this.consume();
|
|
@@ -5053,8 +5040,7 @@ var lr = function() {
|
|
|
5053
5040
|
_(n) ? (this.consume(), this.transitionTo("beforeAttributeName")) : n === "/" ? (this.consume(), this.transitionTo("selfClosingStartTag")) : n === ">" ? (this.consume(), this.delegate.finishTag(), this.transitionTo("beforeData")) : this.transitionTo("beforeAttributeName");
|
|
5054
5041
|
},
|
|
5055
5042
|
selfClosingStartTag: function() {
|
|
5056
|
-
|
|
5057
|
-
n === ">" ? (this.consume(), this.delegate.markTagAsSelfClosing(), this.delegate.finishTag(), this.transitionTo("beforeData")) : this.transitionTo("beforeAttributeName");
|
|
5043
|
+
this.peek() === ">" ? (this.consume(), this.delegate.markTagAsSelfClosing(), this.delegate.finishTag(), this.transitionTo("beforeData")) : this.transitionTo("beforeAttributeName");
|
|
5058
5044
|
},
|
|
5059
5045
|
endTagOpen: function() {
|
|
5060
5046
|
var n = this.consume();
|
|
@@ -5101,7 +5087,8 @@ var lr = function() {
|
|
|
5101
5087
|
var t = this.tagNameBuffer;
|
|
5102
5088
|
return t === "title" && this.input.substring(this.index, this.index + 8) !== "</title>" || t === "style" && this.input.substring(this.index, this.index + 8) !== "</style>" || t === "script" && this.input.substring(this.index, this.index + 9) !== "<\/script>";
|
|
5103
5089
|
}, e;
|
|
5104
|
-
}()
|
|
5090
|
+
}();
|
|
5091
|
+
(function() {
|
|
5105
5092
|
function e(t, r) {
|
|
5106
5093
|
r === void 0 && (r = {}), this.options = r, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new lr(this, t, r.mode), this._currentAttribute = void 0;
|
|
5107
5094
|
}
|
|
@@ -5202,7 +5189,7 @@ var lr = function() {
|
|
|
5202
5189
|
}, e.prototype.reportSyntaxError = function(t) {
|
|
5203
5190
|
this.current().syntaxError = t;
|
|
5204
5191
|
}, e;
|
|
5205
|
-
}();
|
|
5192
|
+
})();
|
|
5206
5193
|
var Ne = {
|
|
5207
5194
|
Append: 1,
|
|
5208
5195
|
TrustingAppend: 2,
|
|
@@ -5256,9 +5243,11 @@ function vs(e) {
|
|
|
5256
5243
|
return Array.isArray(t) && t[0] === e;
|
|
5257
5244
|
};
|
|
5258
5245
|
}
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
var Xn = !1
|
|
5246
|
+
vs(Ne.FlushElement);
|
|
5247
|
+
vs(Ne.GetSymbol);
|
|
5248
|
+
var Xn = !1;
|
|
5249
|
+
new RegExp(/["\x26\xa0]/u.source, "gu");
|
|
5250
|
+
new RegExp(/[&<>\xa0]/u.source, "gu");
|
|
5262
5251
|
var mr = new Set([
|
|
5263
5252
|
"area",
|
|
5264
5253
|
"base",
|
|
@@ -7225,14 +7214,6 @@ function Rs(e, t = {}) {
|
|
|
7225
7214
|
if ((p = t.plugins) != null && p.ast) for (let m of t.plugins.ast) ci(o, m(Ze({}, t, { syntax: hi }, { plugins: void 0 })).visitor);
|
|
7226
7215
|
return o;
|
|
7227
7216
|
}
|
|
7228
|
-
var pi = {
|
|
7229
|
-
resolution: () => Ne.GetStrictKeyword,
|
|
7230
|
-
serialize: () => "Strict",
|
|
7231
|
-
isAngleBracket: !1
|
|
7232
|
-
}, yo = {
|
|
7233
|
-
...pi,
|
|
7234
|
-
isAngleBracket: !0
|
|
7235
|
-
};
|
|
7236
7217
|
function fi(e, t) {
|
|
7237
7218
|
let r = /* @__PURE__ */ new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
|
|
7238
7219
|
return Object.assign(r, t);
|
|
@@ -7300,4 +7281,5 @@ var vi = { glimmer: us };
|
|
|
7300
7281
|
var Do = xr;
|
|
7301
7282
|
|
|
7302
7283
|
//#endregion
|
|
7303
|
-
export { Do as default, hs as languages, Cr as parsers, vi as printers };
|
|
7284
|
+
export { Do as default, hs as languages, Cr as parsers, vi as printers };
|
|
7285
|
+
//# sourceMappingURL=glimmer-N8tyHqy2.js.map
|