@qodalis/cli-files 2.0.0-beta.1 → 2.0.0-beta.3
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/package.json +4 -4
- package/public-api.d.mts +1 -1
- package/public-api.d.ts +1 -1
- package/public-api.js +3 -3
- package/public-api.js.map +1 -1
- package/public-api.mjs +3 -3
- package/public-api.mjs.map +1 -1
- package/umd/{cli-entrypoint.global.js → index.global.js} +4 -4
package/public-api.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { ICliCompletionProvider_TOKEN, ICliFileTransferService_TOKEN, BrowserFil
|
|
|
4
4
|
var IFileSystemService_TOKEN = "cli-file-system-service";
|
|
5
5
|
|
|
6
6
|
// src/lib/version.ts
|
|
7
|
-
var LIBRARY_VERSION = "2.0.0-beta.
|
|
7
|
+
var LIBRARY_VERSION = "2.0.0-beta.3";
|
|
8
8
|
var API_VERSION = 2;
|
|
9
9
|
|
|
10
10
|
// src/lib/processors/cli-ls-command-processor.ts
|
|
@@ -3837,7 +3837,7 @@ var STORE_NAME = "filesystem";
|
|
|
3837
3837
|
var ROOT_KEY = "root";
|
|
3838
3838
|
var CWD_KEY = "cwd";
|
|
3839
3839
|
var HOME_KEY = "home";
|
|
3840
|
-
var DEFAULT_HOME = "/
|
|
3840
|
+
var DEFAULT_HOME = "/";
|
|
3841
3841
|
function createSeedFileSystem() {
|
|
3842
3842
|
const now = Date.now();
|
|
3843
3843
|
return {
|
|
@@ -4787,7 +4787,7 @@ var ServerFileSystemService = class {
|
|
|
4787
4787
|
}
|
|
4788
4788
|
// --- Private: server communication ---
|
|
4789
4789
|
async serverFetch(endpoint, options) {
|
|
4790
|
-
const url = `${this.baseUrl}/api/
|
|
4790
|
+
const url = `${this.baseUrl}/api/qcli/fs${endpoint}`;
|
|
4791
4791
|
const response = await fetch(url, options);
|
|
4792
4792
|
if (!response.ok) {
|
|
4793
4793
|
const body = await response.text();
|