@mastra/archil 0.0.0-agent-learning-fetch-again-20260701152039
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/CHANGELOG.md +56 -0
- package/LICENSE.md +30 -0
- package/dist/filesystem.d.ts +116 -0
- package/dist/filesystem.d.ts.map +1 -0
- package/dist/index.cjs +491 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +488 -0
- package/dist/index.js.map +1 -0
- package/dist/provider.d.ts +7 -0
- package/dist/provider.d.ts.map +1 -0
- package/package.json +66 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# @mastra/archil
|
|
2
|
+
|
|
3
|
+
## 0.0.0-agent-learning-fetch-again-20260701152039
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`0f69865`](https://github.com/mastra-ai/mastra/commit/0f69865aced225d98eac812e22699dc445ee18cb), [`cc440a3`](https://github.com/mastra-ai/mastra/commit/cc440a39400d8ce06655462b26c1666a1b3d4320), [`ea6327b`](https://github.com/mastra-ai/mastra/commit/ea6327ba2d63ca647804bc97b347e03a58617162), [`3439fa8`](https://github.com/mastra-ai/mastra/commit/3439fa836ecfcaa257b40c20b30ac2a8be22e9ea), [`85107f2`](https://github.com/mastra-ai/mastra/commit/85107f2758b527147fccbedff962961927c2d3b8), [`06ff9e0`](https://github.com/mastra-ai/mastra/commit/06ff9e0befd1d642ab87ff749285ee4091205c7e), [`7f5e1ff`](https://github.com/mastra-ai/mastra/commit/7f5e1ff695a92f672bb3976363925d1e9136b54a), [`b8375c1`](https://github.com/mastra-ai/mastra/commit/b8375c1f8fe905df8ae2ae9a893bb365f17aec4e), [`003f35d`](https://github.com/mastra-ai/mastra/commit/003f35d19e07b23b4bacc591c8bc0c59b42124ae)]:
|
|
8
|
+
- @mastra/core@0.0.0-agent-learning-fetch-again-20260701152039
|
|
9
|
+
|
|
10
|
+
## 0.2.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- Added `@mastra/archil` — an Archil filesystem provider for Mastra workspaces, backed by Archil's elastic, serverless filesystems for AI agents. Exposes `ArchilFilesystem` and the `archilFilesystemProvider` descriptor for `MastraEditor`, supporting creating disks, reading/writing files, running commands, and searching. ([#18275](https://github.com/mastra-ai/mastra/pull/18275))
|
|
15
|
+
|
|
16
|
+
**Usage**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { archilFilesystemProvider } from '@mastra/archil';
|
|
20
|
+
|
|
21
|
+
// Register the provider with a MastraEditor, configuring it with either an
|
|
22
|
+
// existing disk or options to create one on init.
|
|
23
|
+
const provider = archilFilesystemProvider;
|
|
24
|
+
|
|
25
|
+
// { diskId: 'dsk-0123456789abcdef' } or { createDiskOptions: { ... } }
|
|
26
|
+
// apiKey falls back to the ARCHIL_API_KEY env var.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`5bd72d2`](https://github.com/mastra-ai/mastra/commit/5bd72d255f45b5ea8ab342643bd463814a980a24), [`1cc9ee1`](https://github.com/mastra-ai/mastra/commit/1cc9ee1ba51db53020a735626d33017a60b4b5b3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`65f255a`](https://github.com/mastra-ai/mastra/commit/65f255a38667beb6ceeadabfa9eb5059bfec8298), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`30ebaf0`](https://github.com/mastra-ai/mastra/commit/30ebaf07bed5f4d30f2f257836c15d1bf7e40aae), [`5704634`](https://github.com/mastra-ai/mastra/commit/5704634b22133167dea337a942a34f57aaa3fa14), [`5c4e9a4`](https://github.com/mastra-ai/mastra/commit/5c4e9a4cfb2216bb3ea7f8988ad3727f3b92bb3a), [`4a88c6e`](https://github.com/mastra-ai/mastra/commit/4a88c6e2bdce316f8d7551b4ec3449b0b06fc71c), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`25961e3`](https://github.com/mastra-ai/mastra/commit/25961e3260ff3b1464637af8fcdb36210551c39f), [`6a1428a`](https://github.com/mastra-ai/mastra/commit/6a1428a23133fc070fc6c1caa08d28f3ba4fe5ff), [`87a17ef`](https://github.com/mastra-ai/mastra/commit/87a17efbd725aca6639febdc5e69e2abb3048689), [`e11ff30`](https://github.com/mastra-ai/mastra/commit/e11ff301408bf1731dca2fb7fbfcd8c819500a35), [`7794d71`](https://github.com/mastra-ai/mastra/commit/7794d71872c68733a30e028dfb7b1705daf6c5d2), [`9d2c946`](https://github.com/mastra-ai/mastra/commit/9d2c946d0859e90ae4bcec5beeb1da7398d2ad1e), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`7b29f33`](https://github.com/mastra-ai/mastra/commit/7b29f332a357a83e555f29e718e5f2fab9979943), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`b13925b`](https://github.com/mastra-ai/mastra/commit/b13925bfa91aa8700f56fa54a9ce707ee7e4ba62), [`f1ec385`](https://github.com/mastra-ai/mastra/commit/f1ec385386f62b1a0847ec5353ae2bb169d1c3d9), [`e14986f`](https://github.com/mastra-ai/mastra/commit/e14986f6e5478d6384d04ff9a7f9a79a46a8b529), [`24912b1`](https://github.com/mastra-ai/mastra/commit/24912b1f855d29ec36af4ef4bde1f7417e20cdf5), [`bf94ec6`](https://github.com/mastra-ai/mastra/commit/bf94ec68192d9f16e46ef7e5ac36370aeeddf35d), [`a29f371`](https://github.com/mastra-ai/mastra/commit/a29f371aef629ac8562661524a497127e93b5131), [`7686216`](https://github.com/mastra-ai/mastra/commit/7686216f37e74568feddec17cef3c3d24e10e60a), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`073f910`](https://github.com/mastra-ai/mastra/commit/073f910481e7d94b95ba3830f96531774ae95d33), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`974f614`](https://github.com/mastra-ai/mastra/commit/974f614e083bd68278536f94453f7b320b86a3c7), [`3818814`](https://github.com/mastra-ai/mastra/commit/38188149ce454c4403fe9fcbdf73b735c68d36be), [`975c59a`](https://github.com/mastra-ai/mastra/commit/975c59ae363ee275fc55062392e1ffd2cbccbd53), [`1f97ce5`](https://github.com/mastra-ai/mastra/commit/1f97ce5695463bebb4eaacf501da6fb403e20885), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`7f51548`](https://github.com/mastra-ai/mastra/commit/7f515481213780be7047cef00640b9d35f3d545c), [`64f58c0`](https://github.com/mastra-ai/mastra/commit/64f58c04e78b40137497d47f781e897e416f22a5), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`d95f394`](https://github.com/mastra-ai/mastra/commit/d95f394fd24c8411886930d727679c4d5252aa26), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`8e25a78`](https://github.com/mastra-ai/mastra/commit/8e25a78e0597575f0b0729bae8c5e190c84869b5), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`f3f0c9d`](https://github.com/mastra-ai/mastra/commit/f3f0c9d7c878db5a13177871ce3523a14f14b311), [`a5b22d3`](https://github.com/mastra-ai/mastra/commit/a5b22d314d62a68d801886a8d3d0eb6c089473db), [`31be1cf`](https://github.com/mastra-ai/mastra/commit/31be1cf5f2a7b5eef12f6123a40653b4d8115c16), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858)]:
|
|
32
|
+
- @mastra/core@1.46.0
|
|
33
|
+
|
|
34
|
+
## 0.2.0-alpha.0
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- Added `@mastra/archil` — an Archil filesystem provider for Mastra workspaces, backed by Archil's elastic, serverless filesystems for AI agents. Exposes `ArchilFilesystem` and the `archilFilesystemProvider` descriptor for `MastraEditor`, supporting creating disks, reading/writing files, running commands, and searching. ([#18275](https://github.com/mastra-ai/mastra/pull/18275))
|
|
39
|
+
|
|
40
|
+
**Usage**
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
import { archilFilesystemProvider } from '@mastra/archil';
|
|
44
|
+
|
|
45
|
+
// Register the provider with a MastraEditor, configuring it with either an
|
|
46
|
+
// existing disk or options to create one on init.
|
|
47
|
+
const provider = archilFilesystemProvider;
|
|
48
|
+
|
|
49
|
+
// { diskId: 'dsk-0123456789abcdef' } or { createDiskOptions: { ... } }
|
|
50
|
+
// apiKey falls back to the ARCHIL_API_KEY env var.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [[`5bd72d2`](https://github.com/mastra-ai/mastra/commit/5bd72d255f45b5ea8ab342643bd463814a980a24), [`1cc9ee1`](https://github.com/mastra-ai/mastra/commit/1cc9ee1ba51db53020a735626d33017a60b4b5b3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`30ebaf0`](https://github.com/mastra-ai/mastra/commit/30ebaf07bed5f4d30f2f257836c15d1bf7e40aae), [`5704634`](https://github.com/mastra-ai/mastra/commit/5704634b22133167dea337a942a34f57aaa3fa14), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`b13925b`](https://github.com/mastra-ai/mastra/commit/b13925bfa91aa8700f56fa54a9ce707ee7e4ba62), [`bf94ec6`](https://github.com/mastra-ai/mastra/commit/bf94ec68192d9f16e46ef7e5ac36370aeeddf35d), [`a29f371`](https://github.com/mastra-ai/mastra/commit/a29f371aef629ac8562661524a497127e93b5131), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`073f910`](https://github.com/mastra-ai/mastra/commit/073f910481e7d94b95ba3830f96531774ae95d33), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`1f97ce5`](https://github.com/mastra-ai/mastra/commit/1f97ce5695463bebb4eaacf501da6fb403e20885), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`64f58c0`](https://github.com/mastra-ai/mastra/commit/64f58c04e78b40137497d47f781e897e416f22a5), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`8e25a78`](https://github.com/mastra-ai/mastra/commit/8e25a78e0597575f0b0729bae8c5e190c84869b5), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`a5b22d3`](https://github.com/mastra-ai/mastra/commit/a5b22d314d62a68d801886a8d3d0eb6c089473db), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858)]:
|
|
56
|
+
- @mastra/core@1.46.0-alpha.0
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Portions of this software are licensed as follows:
|
|
2
|
+
|
|
3
|
+
- All content that resides under any directory named "ee/" within this
|
|
4
|
+
repository, including but not limited to:
|
|
5
|
+
- `packages/core/src/auth/ee/`
|
|
6
|
+
- `packages/server/src/server/auth/ee/`
|
|
7
|
+
is licensed under the license defined in `ee/LICENSE`.
|
|
8
|
+
|
|
9
|
+
- All third-party components incorporated into the Mastra Software are
|
|
10
|
+
licensed under the original license provided by the owner of the
|
|
11
|
+
applicable component.
|
|
12
|
+
|
|
13
|
+
- Content outside of the above-mentioned directories or restrictions is
|
|
14
|
+
available under the "Apache License 2.0" as defined below.
|
|
15
|
+
|
|
16
|
+
# Apache License 2.0
|
|
17
|
+
|
|
18
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
19
|
+
|
|
20
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
21
|
+
you may not use this file except in compliance with the License.
|
|
22
|
+
You may obtain a copy of the License at
|
|
23
|
+
|
|
24
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
25
|
+
|
|
26
|
+
Unless required by applicable law or agreed to in writing, software
|
|
27
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
28
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
+
See the License for the specific language governing permissions and
|
|
30
|
+
limitations under the License.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Archil Filesystem Provider
|
|
3
|
+
*
|
|
4
|
+
* A filesystem implementation backed by Archil — elastic, serverless
|
|
5
|
+
* filesystems for AI agents. Uses the `disk` SDK's S3-compatible object
|
|
6
|
+
* API for fast reads/writes and `exec` for POSIX operations.
|
|
7
|
+
*/
|
|
8
|
+
import type { FileContent, FileStat, FileEntry, ReadOptions, WriteOptions, ListOptions, RemoveOptions, CopyOptions, FilesystemInfo, FilesystemIcon, ProviderStatus, MastraFilesystemOptions } from '@mastra/core/workspace';
|
|
9
|
+
import { MastraFilesystem } from '@mastra/core/workspace';
|
|
10
|
+
import { Archil } from 'disk';
|
|
11
|
+
import type { Disk, CreateDiskRequest, ExecResult, GrepOptions, GrepResult, ListObjectsOptions, ListObjectsResult, ObjectMetadata, ShareUrlOptions, ShareUrlResult } from 'disk';
|
|
12
|
+
export interface ArchilFilesystemOptions extends MastraFilesystemOptions {
|
|
13
|
+
/** Unique identifier for this filesystem instance */
|
|
14
|
+
id?: string;
|
|
15
|
+
/** Human-friendly display name for the UI */
|
|
16
|
+
displayName?: string;
|
|
17
|
+
/** Icon identifier for the UI (defaults to 'cloud') */
|
|
18
|
+
icon?: FilesystemIcon;
|
|
19
|
+
/** Description shown in tooltips */
|
|
20
|
+
description?: string;
|
|
21
|
+
/** Mount as read-only (blocks write operations) */
|
|
22
|
+
readOnly?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Existing disk ID to attach to (e.g. "dsk-0123456789abcdef").
|
|
25
|
+
* Mutually exclusive with `createDiskOptions`.
|
|
26
|
+
*/
|
|
27
|
+
diskId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Options for creating a new disk on init.
|
|
30
|
+
* Mutually exclusive with `diskId`.
|
|
31
|
+
*/
|
|
32
|
+
createDiskOptions?: CreateDiskRequest;
|
|
33
|
+
/**
|
|
34
|
+
* Archil API key. Falls back to ARCHIL_API_KEY env var.
|
|
35
|
+
*/
|
|
36
|
+
apiKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Archil region (e.g. "aws-us-east-1"). Falls back to ARCHIL_REGION env var.
|
|
39
|
+
*/
|
|
40
|
+
region?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Override the Archil control-plane base URL (for testing/self-hosted).
|
|
43
|
+
*/
|
|
44
|
+
baseUrl?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Override the S3-compatible API base URL.
|
|
47
|
+
* Falls back to ARCHIL_S3_BASE_URL env var.
|
|
48
|
+
*/
|
|
49
|
+
s3BaseUrl?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare class ArchilFilesystem extends MastraFilesystem {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly name = "ArchilFilesystem";
|
|
54
|
+
readonly provider = "archil";
|
|
55
|
+
readonly readOnly?: boolean;
|
|
56
|
+
readonly displayName?: string;
|
|
57
|
+
readonly icon: FilesystemIcon;
|
|
58
|
+
readonly description?: string;
|
|
59
|
+
status: ProviderStatus;
|
|
60
|
+
private _disk;
|
|
61
|
+
private _archil;
|
|
62
|
+
private readonly _diskId?;
|
|
63
|
+
private readonly _createDiskOptions?;
|
|
64
|
+
private readonly _archilOptions;
|
|
65
|
+
constructor(options: ArchilFilesystemOptions);
|
|
66
|
+
/** The underlying Archil Disk instance (available after init). */
|
|
67
|
+
get disk(): Disk;
|
|
68
|
+
/** The Archil SDK client instance. */
|
|
69
|
+
get archil(): Archil;
|
|
70
|
+
init(): Promise<void>;
|
|
71
|
+
destroy(): Promise<void>;
|
|
72
|
+
isReady(): boolean;
|
|
73
|
+
getInfo(): FilesystemInfo<{
|
|
74
|
+
diskId: string;
|
|
75
|
+
region: string;
|
|
76
|
+
diskName: string;
|
|
77
|
+
}>;
|
|
78
|
+
getInstructions(): string;
|
|
79
|
+
/**
|
|
80
|
+
* Execute a shell command on the disk's filesystem.
|
|
81
|
+
* The disk is mounted as the working directory.
|
|
82
|
+
*/
|
|
83
|
+
exec(command: string): Promise<ExecResult>;
|
|
84
|
+
/**
|
|
85
|
+
* Parallel grep across files on the disk.
|
|
86
|
+
*/
|
|
87
|
+
grep(opts: GrepOptions): Promise<GrepResult>;
|
|
88
|
+
/**
|
|
89
|
+
* Create a signed, time-limited download URL for a file.
|
|
90
|
+
*/
|
|
91
|
+
share(key: string, opts?: ShareUrlOptions): Promise<ShareUrlResult>;
|
|
92
|
+
/**
|
|
93
|
+
* List objects using the S3-compatible API directly.
|
|
94
|
+
*/
|
|
95
|
+
listObjects(prefix?: string, opts?: ListObjectsOptions): Promise<ListObjectsResult>;
|
|
96
|
+
/**
|
|
97
|
+
* Get object metadata without downloading.
|
|
98
|
+
*/
|
|
99
|
+
headObject(key: string): Promise<ObjectMetadata | null>;
|
|
100
|
+
readFile(path: string, options?: ReadOptions): Promise<string | Buffer>;
|
|
101
|
+
writeFile(path: string, content: FileContent, options?: WriteOptions): Promise<void>;
|
|
102
|
+
appendFile(path: string, content: FileContent): Promise<void>;
|
|
103
|
+
deleteFile(path: string, options?: RemoveOptions): Promise<void>;
|
|
104
|
+
copyFile(src: string, dest: string, options?: CopyOptions): Promise<void>;
|
|
105
|
+
moveFile(src: string, dest: string, options?: CopyOptions): Promise<void>;
|
|
106
|
+
mkdir(path: string, options?: {
|
|
107
|
+
recursive?: boolean;
|
|
108
|
+
}): Promise<void>;
|
|
109
|
+
rmdir(path: string, options?: RemoveOptions): Promise<void>;
|
|
110
|
+
readdir(path: string, options?: ListOptions): Promise<FileEntry[]>;
|
|
111
|
+
private readdirRecursive;
|
|
112
|
+
exists(path: string): Promise<boolean>;
|
|
113
|
+
stat(path: string): Promise<FileStat>;
|
|
114
|
+
private assertWritable;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=filesystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../src/filesystem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,WAAW,EACX,QAAQ,EACR,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,cAAc,EACd,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAsC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EACV,IAAI,EACJ,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,UAAU,EAEV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,EACf,MAAM,MAAM,CAAC;AAMd,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;IACtE,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,uDAAuD;IACvD,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB,oCAAoC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAE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