@sourcegraph/cody-web 0.32.0 → 0.32.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/LICENSE +201 -0
- package/dist/{agent.worker-CDpvFRkI.mjs → agent.worker-CKzz1GcO.mjs} +46 -159
- package/dist/agent.worker.js +2 -2
- package/dist/demo/App.d.ts +4 -0
- package/dist/demo/App.d.ts.map +1 -0
- package/dist/demo/index.d.ts +2 -0
- package/dist/demo/index.d.ts.map +1 -0
- package/dist/{git-log-ltF6h_Tk.mjs → git-log-bbWyul1E.mjs} +1 -1
- package/dist/{index-D6x43_Eb.mjs → index-zVNzRGEc.mjs} +2 -2
- package/dist/index.js +1005 -861
- package/dist/lib/agent/agent.client.d.ts +19 -0
- package/dist/lib/agent/agent.client.d.ts.map +1 -0
- package/dist/lib/agent/agent.worker.d.ts +2 -0
- package/dist/lib/agent/agent.worker.d.ts.map +1 -0
- package/dist/lib/agent/index-db-storage.d.ts +15 -0
- package/dist/lib/agent/index-db-storage.d.ts.map +1 -0
- package/dist/lib/agent/shims/child_process.d.ts +5 -0
- package/dist/lib/agent/shims/child_process.d.ts.map +1 -0
- package/dist/lib/agent/shims/env-paths.d.ts +2 -0
- package/dist/lib/agent/shims/env-paths.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs-extra.d.ts +3 -0
- package/dist/lib/agent/shims/fs-extra.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs.d.ts +9 -0
- package/dist/lib/agent/shims/fs.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs__promises.d.ts +11 -0
- package/dist/lib/agent/shims/fs__promises.d.ts.map +1 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts +3 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts.map +1 -0
- package/dist/lib/agent/shims/open.d.ts +3 -0
- package/dist/lib/agent/shims/open.d.ts.map +1 -0
- package/dist/lib/agent/shims/os.d.ts +10 -0
- package/dist/lib/agent/shims/os.d.ts.map +1 -0
- package/dist/lib/agent/shims/stream.d.ts +9 -0
- package/dist/lib/agent/shims/stream.d.ts.map +1 -0
- package/dist/lib/agent/shims/worker_threads.d.ts +3 -0
- package/dist/lib/agent/shims/worker_threads.d.ts.map +1 -0
- package/dist/lib/agent/shims/zlib.d.ts +7 -0
- package/dist/lib/agent/shims/zlib.d.ts.map +1 -0
- package/dist/lib/components/CodyPromptTemplate.d.ts +25 -0
- package/dist/lib/components/CodyPromptTemplate.d.ts.map +1 -0
- package/dist/lib/components/CodyWebChat.d.ts +69 -0
- package/dist/lib/components/CodyWebChat.d.ts.map +1 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts +12 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts.map +1 -0
- package/dist/lib/components/use-cody-agent.d.ts +20 -0
- package/dist/lib/components/use-cody-agent.d.ts.map +1 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/types.d.ts +28 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/{util-PivrZJhX.mjs → util-B-IYnWCp.mjs} +1 -1
- package/dist/{vscode-shim-Coc7PRnS.mjs → vscode-shim-BmcAncjv.mjs} +93 -105
- package/package.json +17 -15
|
@@ -5444,7 +5444,7 @@ async function executeCommand(cmd) {
|
|
|
5444
5444
|
throw new Error("Command execution is only supported in Node.js environments");
|
|
5445
5445
|
}
|
|
5446
5446
|
const { exec: exec2 } = await Promise.resolve().then(() => child_process);
|
|
5447
|
-
const { promisify: promisify2 } = await import("./util-
|
|
5447
|
+
const { promisify: promisify2 } = await import("./util-B-IYnWCp.mjs").then((n2) => n2.u);
|
|
5448
5448
|
const execAsync = promisify2(exec2);
|
|
5449
5449
|
const command = cmd.commandLine.join(" ");
|
|
5450
5450
|
const { stdout } = await execAsync(command, {
|
|
@@ -38782,32 +38782,29 @@ function empty(value) {
|
|
|
38782
38782
|
}
|
|
38783
38783
|
class Schema2 {
|
|
38784
38784
|
/**
|
|
38785
|
-
* @
|
|
38786
|
-
*
|
|
38787
|
-
* @param {
|
|
38788
|
-
*
|
|
38789
|
-
* @param {Space | undefined} [space]
|
|
38790
|
-
* Space.
|
|
38791
|
-
* @returns
|
|
38792
|
-
* Schema.
|
|
38785
|
+
* @constructor
|
|
38786
|
+
* @param {Properties} property
|
|
38787
|
+
* @param {Normal} normal
|
|
38788
|
+
* @param {string} [space]
|
|
38793
38789
|
*/
|
|
38794
38790
|
constructor(property, normal, space) {
|
|
38795
|
-
this.normal = normal;
|
|
38796
38791
|
this.property = property;
|
|
38792
|
+
this.normal = normal;
|
|
38797
38793
|
if (space) {
|
|
38798
38794
|
this.space = space;
|
|
38799
38795
|
}
|
|
38800
38796
|
}
|
|
38801
38797
|
}
|
|
38802
|
-
Schema2.prototype.normal = {};
|
|
38803
38798
|
Schema2.prototype.property = {};
|
|
38804
|
-
Schema2.prototype.
|
|
38799
|
+
Schema2.prototype.normal = {};
|
|
38800
|
+
Schema2.prototype.space = null;
|
|
38805
38801
|
function merge(definitions, space) {
|
|
38806
38802
|
const property = {};
|
|
38807
38803
|
const normal = {};
|
|
38808
|
-
|
|
38809
|
-
|
|
38810
|
-
Object.assign(
|
|
38804
|
+
let index = -1;
|
|
38805
|
+
while (++index < definitions.length) {
|
|
38806
|
+
Object.assign(property, definitions[index].property);
|
|
38807
|
+
Object.assign(normal, definitions[index].normal);
|
|
38811
38808
|
}
|
|
38812
38809
|
return new Schema2(property, normal, space);
|
|
38813
38810
|
}
|
|
@@ -38816,30 +38813,25 @@ function normalize(value) {
|
|
|
38816
38813
|
}
|
|
38817
38814
|
class Info {
|
|
38818
38815
|
/**
|
|
38816
|
+
* @constructor
|
|
38819
38817
|
* @param {string} property
|
|
38820
|
-
* Property.
|
|
38821
38818
|
* @param {string} attribute
|
|
38822
|
-
* Attribute.
|
|
38823
|
-
* @returns
|
|
38824
|
-
* Info.
|
|
38825
38819
|
*/
|
|
38826
38820
|
constructor(property, attribute) {
|
|
38827
|
-
this.attribute = attribute;
|
|
38828
38821
|
this.property = property;
|
|
38822
|
+
this.attribute = attribute;
|
|
38829
38823
|
}
|
|
38830
38824
|
}
|
|
38831
|
-
Info.prototype.
|
|
38832
|
-
Info.prototype.booleanish = false;
|
|
38825
|
+
Info.prototype.space = null;
|
|
38833
38826
|
Info.prototype.boolean = false;
|
|
38834
|
-
Info.prototype.
|
|
38835
|
-
Info.prototype.commaSeparated = false;
|
|
38836
|
-
Info.prototype.defined = false;
|
|
38837
|
-
Info.prototype.mustUseProperty = false;
|
|
38838
|
-
Info.prototype.number = false;
|
|
38827
|
+
Info.prototype.booleanish = false;
|
|
38839
38828
|
Info.prototype.overloadedBoolean = false;
|
|
38840
|
-
Info.prototype.
|
|
38829
|
+
Info.prototype.number = false;
|
|
38830
|
+
Info.prototype.commaSeparated = false;
|
|
38841
38831
|
Info.prototype.spaceSeparated = false;
|
|
38842
|
-
Info.prototype.
|
|
38832
|
+
Info.prototype.commaOrSpaceSeparated = false;
|
|
38833
|
+
Info.prototype.mustUseProperty = false;
|
|
38834
|
+
Info.prototype.defined = false;
|
|
38843
38835
|
let powers = 0;
|
|
38844
38836
|
const boolean$1 = increment();
|
|
38845
38837
|
const booleanish = increment();
|
|
@@ -38861,23 +38853,14 @@ const types$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
38861
38853
|
overloadedBoolean,
|
|
38862
38854
|
spaceSeparated
|
|
38863
38855
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
38864
|
-
const checks = (
|
|
38865
|
-
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
38866
|
-
Object.keys(types$1)
|
|
38867
|
-
);
|
|
38856
|
+
const checks = Object.keys(types$1);
|
|
38868
38857
|
class DefinedInfo extends Info {
|
|
38869
38858
|
/**
|
|
38870
38859
|
* @constructor
|
|
38871
38860
|
* @param {string} property
|
|
38872
|
-
* Property.
|
|
38873
38861
|
* @param {string} attribute
|
|
38874
|
-
*
|
|
38875
|
-
* @param {
|
|
38876
|
-
* Mask.
|
|
38877
|
-
* @param {Space | undefined} [space]
|
|
38878
|
-
* Space.
|
|
38879
|
-
* @returns
|
|
38880
|
-
* Info.
|
|
38862
|
+
* @param {number|null} [mask]
|
|
38863
|
+
* @param {string} [space]
|
|
38881
38864
|
*/
|
|
38882
38865
|
constructor(property, attribute, mask, space) {
|
|
38883
38866
|
let index = -1;
|
|
@@ -38897,26 +38880,68 @@ function mark(values, key, value) {
|
|
|
38897
38880
|
values[key] = value;
|
|
38898
38881
|
}
|
|
38899
38882
|
}
|
|
38883
|
+
const own = {}.hasOwnProperty;
|
|
38900
38884
|
function create(definition) {
|
|
38901
|
-
const
|
|
38902
|
-
const
|
|
38903
|
-
|
|
38904
|
-
|
|
38905
|
-
|
|
38906
|
-
|
|
38907
|
-
|
|
38908
|
-
|
|
38909
|
-
|
|
38910
|
-
|
|
38911
|
-
|
|
38885
|
+
const property = {};
|
|
38886
|
+
const normal = {};
|
|
38887
|
+
let prop;
|
|
38888
|
+
for (prop in definition.properties) {
|
|
38889
|
+
if (own.call(definition.properties, prop)) {
|
|
38890
|
+
const value = definition.properties[prop];
|
|
38891
|
+
const info = new DefinedInfo(
|
|
38892
|
+
prop,
|
|
38893
|
+
definition.transform(definition.attributes || {}, prop),
|
|
38894
|
+
value,
|
|
38895
|
+
definition.space
|
|
38896
|
+
);
|
|
38897
|
+
if (definition.mustUseProperty && definition.mustUseProperty.includes(prop)) {
|
|
38898
|
+
info.mustUseProperty = true;
|
|
38899
|
+
}
|
|
38900
|
+
property[prop] = info;
|
|
38901
|
+
normal[normalize(prop)] = prop;
|
|
38902
|
+
normal[normalize(info.attribute)] = prop;
|
|
38912
38903
|
}
|
|
38913
|
-
properties2[property] = info;
|
|
38914
|
-
normals[normalize(property)] = property;
|
|
38915
|
-
normals[normalize(info.attribute)] = property;
|
|
38916
38904
|
}
|
|
38917
|
-
return new Schema2(
|
|
38905
|
+
return new Schema2(property, normal, definition.space);
|
|
38906
|
+
}
|
|
38907
|
+
const xlink = create({
|
|
38908
|
+
space: "xlink",
|
|
38909
|
+
transform(_2, prop) {
|
|
38910
|
+
return "xlink:" + prop.slice(5).toLowerCase();
|
|
38911
|
+
},
|
|
38912
|
+
properties: {
|
|
38913
|
+
xLinkActuate: null,
|
|
38914
|
+
xLinkArcRole: null,
|
|
38915
|
+
xLinkHref: null,
|
|
38916
|
+
xLinkRole: null,
|
|
38917
|
+
xLinkShow: null,
|
|
38918
|
+
xLinkTitle: null,
|
|
38919
|
+
xLinkType: null
|
|
38920
|
+
}
|
|
38921
|
+
});
|
|
38922
|
+
const xml = create({
|
|
38923
|
+
space: "xml",
|
|
38924
|
+
transform(_2, prop) {
|
|
38925
|
+
return "xml:" + prop.slice(3).toLowerCase();
|
|
38926
|
+
},
|
|
38927
|
+
properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
|
|
38928
|
+
});
|
|
38929
|
+
function caseSensitiveTransform(attributes, attribute) {
|
|
38930
|
+
return attribute in attributes ? attributes[attribute] : attribute;
|
|
38918
38931
|
}
|
|
38932
|
+
function caseInsensitiveTransform(attributes, property) {
|
|
38933
|
+
return caseSensitiveTransform(attributes, property.toLowerCase());
|
|
38934
|
+
}
|
|
38935
|
+
const xmlns = create({
|
|
38936
|
+
space: "xmlns",
|
|
38937
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
38938
|
+
transform: caseInsensitiveTransform,
|
|
38939
|
+
properties: { xmlns: null, xmlnsXLink: null }
|
|
38940
|
+
});
|
|
38919
38941
|
const aria = create({
|
|
38942
|
+
transform(_2, prop) {
|
|
38943
|
+
return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase();
|
|
38944
|
+
},
|
|
38920
38945
|
properties: {
|
|
38921
38946
|
ariaActiveDescendant: null,
|
|
38922
38947
|
ariaAtomic: booleanish,
|
|
@@ -38967,24 +38992,17 @@ const aria = create({
|
|
|
38967
38992
|
ariaValueNow: number$1,
|
|
38968
38993
|
ariaValueText: null,
|
|
38969
38994
|
role: null
|
|
38970
|
-
},
|
|
38971
|
-
transform(_2, property) {
|
|
38972
|
-
return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
|
|
38973
38995
|
}
|
|
38974
38996
|
});
|
|
38975
|
-
function caseSensitiveTransform(attributes, attribute) {
|
|
38976
|
-
return attribute in attributes ? attributes[attribute] : attribute;
|
|
38977
|
-
}
|
|
38978
|
-
function caseInsensitiveTransform(attributes, property) {
|
|
38979
|
-
return caseSensitiveTransform(attributes, property.toLowerCase());
|
|
38980
|
-
}
|
|
38981
38997
|
const html$1 = create({
|
|
38998
|
+
space: "html",
|
|
38982
38999
|
attributes: {
|
|
38983
39000
|
acceptcharset: "accept-charset",
|
|
38984
39001
|
classname: "class",
|
|
38985
39002
|
htmlfor: "for",
|
|
38986
39003
|
httpequiv: "http-equiv"
|
|
38987
39004
|
},
|
|
39005
|
+
transform: caseInsensitiveTransform,
|
|
38988
39006
|
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
|
38989
39007
|
properties: {
|
|
38990
39008
|
// Standard Properties.
|
|
@@ -39336,11 +39354,10 @@ const html$1 = create({
|
|
|
39336
39354
|
results: number$1,
|
|
39337
39355
|
security: null,
|
|
39338
39356
|
unselectable: null
|
|
39339
|
-
}
|
|
39340
|
-
space: "html",
|
|
39341
|
-
transform: caseInsensitiveTransform
|
|
39357
|
+
}
|
|
39342
39358
|
});
|
|
39343
39359
|
const svg$1 = create({
|
|
39360
|
+
space: "svg",
|
|
39344
39361
|
attributes: {
|
|
39345
39362
|
accentHeight: "accent-height",
|
|
39346
39363
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -39516,6 +39533,7 @@ const svg$1 = create({
|
|
|
39516
39533
|
playbackOrder: "playbackorder",
|
|
39517
39534
|
timelineBegin: "timelinebegin"
|
|
39518
39535
|
},
|
|
39536
|
+
transform: caseSensitiveTransform,
|
|
39519
39537
|
properties: {
|
|
39520
39538
|
about: commaOrSpaceSeparated,
|
|
39521
39539
|
accentHeight: number$1,
|
|
@@ -39896,44 +39914,14 @@ const svg$1 = create({
|
|
|
39896
39914
|
yChannelSelector: null,
|
|
39897
39915
|
z: null,
|
|
39898
39916
|
zoomAndPan: null
|
|
39899
|
-
},
|
|
39900
|
-
space: "svg",
|
|
39901
|
-
transform: caseSensitiveTransform
|
|
39902
|
-
});
|
|
39903
|
-
const xlink = create({
|
|
39904
|
-
properties: {
|
|
39905
|
-
xLinkActuate: null,
|
|
39906
|
-
xLinkArcRole: null,
|
|
39907
|
-
xLinkHref: null,
|
|
39908
|
-
xLinkRole: null,
|
|
39909
|
-
xLinkShow: null,
|
|
39910
|
-
xLinkTitle: null,
|
|
39911
|
-
xLinkType: null
|
|
39912
|
-
},
|
|
39913
|
-
space: "xlink",
|
|
39914
|
-
transform(_2, property) {
|
|
39915
|
-
return "xlink:" + property.slice(5).toLowerCase();
|
|
39916
39917
|
}
|
|
39917
39918
|
});
|
|
39918
|
-
const xmlns = create({
|
|
39919
|
-
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
39920
|
-
properties: { xmlnsXLink: null, xmlns: null },
|
|
39921
|
-
space: "xmlns",
|
|
39922
|
-
transform: caseInsensitiveTransform
|
|
39923
|
-
});
|
|
39924
|
-
const xml = create({
|
|
39925
|
-
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
39926
|
-
space: "xml",
|
|
39927
|
-
transform(_2, property) {
|
|
39928
|
-
return "xml:" + property.slice(3).toLowerCase();
|
|
39929
|
-
}
|
|
39930
|
-
});
|
|
39931
|
-
const cap = /[A-Z]/g;
|
|
39932
|
-
const dash = /-[a-z]/g;
|
|
39933
39919
|
const valid = /^data[-\w.:]+$/i;
|
|
39920
|
+
const dash = /-[a-z]/g;
|
|
39921
|
+
const cap = /[A-Z]/g;
|
|
39934
39922
|
function find(schema2, value) {
|
|
39935
39923
|
const normal = normalize(value);
|
|
39936
|
-
let
|
|
39924
|
+
let prop = value;
|
|
39937
39925
|
let Type = Info;
|
|
39938
39926
|
if (normal in schema2.normal) {
|
|
39939
39927
|
return schema2.property[schema2.normal[normal]];
|
|
@@ -39941,7 +39929,7 @@ function find(schema2, value) {
|
|
|
39941
39929
|
if (normal.length > 4 && normal.slice(0, 4) === "data" && valid.test(value)) {
|
|
39942
39930
|
if (value.charAt(4) === "-") {
|
|
39943
39931
|
const rest = value.slice(5).replace(dash, camelcase);
|
|
39944
|
-
|
|
39932
|
+
prop = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
|
|
39945
39933
|
} else {
|
|
39946
39934
|
const rest = value.slice(4);
|
|
39947
39935
|
if (!dash.test(rest)) {
|
|
@@ -39954,7 +39942,7 @@ function find(schema2, value) {
|
|
|
39954
39942
|
}
|
|
39955
39943
|
Type = DefinedInfo;
|
|
39956
39944
|
}
|
|
39957
|
-
return new Type(
|
|
39945
|
+
return new Type(prop, value);
|
|
39958
39946
|
}
|
|
39959
39947
|
function kebab($0) {
|
|
39960
39948
|
return "-" + $0.toLowerCase();
|
|
@@ -39962,8 +39950,8 @@ function kebab($0) {
|
|
|
39962
39950
|
function camelcase($0) {
|
|
39963
39951
|
return $0.charAt(1).toUpperCase();
|
|
39964
39952
|
}
|
|
39965
|
-
const html = merge([
|
|
39966
|
-
const svg = merge([
|
|
39953
|
+
const html = merge([xml, xlink, xmlns, aria, html$1], "html");
|
|
39954
|
+
const svg = merge([xml, xlink, xmlns, aria, svg$1], "svg");
|
|
39967
39955
|
function stringify(values) {
|
|
39968
39956
|
return values.join(" ").trim();
|
|
39969
39957
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sourcegraph/cody-web",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "Cody standalone web app",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -11,26 +11,17 @@
|
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"types": "dist/lib/index.d.ts",
|
|
13
13
|
"sideEffects": true,
|
|
14
|
-
"files": [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"dev:standalone": "CODY_WEB_DEMO_STANDALONE_MODE=true vite --mode development",
|
|
18
|
-
"build": "vite build --mode production && tsc --build",
|
|
19
|
-
"test": "vitest",
|
|
20
|
-
"build-ts": "tsc --build"
|
|
21
|
-
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist/*"
|
|
16
|
+
],
|
|
22
17
|
"devDependencies": {
|
|
23
18
|
"@openctx/vscode-lib": "^0.0.26",
|
|
24
|
-
"@sourcegraph/cody": "workspace:*",
|
|
25
|
-
"@sourcegraph/cody-shared": "workspace:*",
|
|
26
|
-
"@sourcegraph/prompt-editor": "workspace:*",
|
|
27
19
|
"@types/lodash": "4.14.195",
|
|
28
20
|
"@types/vscode": "^1.92.0",
|
|
29
21
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
30
22
|
"@vscode/codicons": "^0.0.35",
|
|
31
23
|
"buffer": "^6.0.3",
|
|
32
24
|
"classnames": "^2.5.1",
|
|
33
|
-
"cody-ai": "workspace:*",
|
|
34
25
|
"events": "^3.3.0",
|
|
35
26
|
"idb": "^8.0.0",
|
|
36
27
|
"lodash": "4.17.21",
|
|
@@ -43,6 +34,17 @@
|
|
|
43
34
|
"util": "^0.12.5",
|
|
44
35
|
"vite-bundle-analyzer": "^0.10.5",
|
|
45
36
|
"vite-plugin-svgr": "^4.2.0",
|
|
46
|
-
"vscode-uri": "^3.0.8"
|
|
37
|
+
"vscode-uri": "^3.0.8",
|
|
38
|
+
"@sourcegraph/cody": "5.5.15",
|
|
39
|
+
"@sourcegraph/cody-shared": "0.0.10",
|
|
40
|
+
"@sourcegraph/prompt-editor": "0.0.1",
|
|
41
|
+
"cody-ai": "1.70.3"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"dev": "vite --mode development",
|
|
45
|
+
"dev:standalone": "CODY_WEB_DEMO_STANDALONE_MODE=true vite --mode development",
|
|
46
|
+
"build": "vite build --mode production && tsc --build",
|
|
47
|
+
"test": "vitest",
|
|
48
|
+
"build-ts": "tsc --build"
|
|
47
49
|
}
|
|
48
|
-
}
|
|
50
|
+
}
|