@procedures/server 0.8.1 → 0.9.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/CHANGELOG.md +28 -0
- package/README.md +3 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/procedures/server.start.d.ts +2 -1
- package/dist/procedures/server.start.d.ts.map +1 -1
- package/dist/procedures/server.start.js +8 -0
- package/dist/procedures/server.start.js.map +1 -1
- package/dist/procedures/server.status.d.ts +2 -1
- package/dist/procedures/server.status.d.ts.map +1 -1
- package/dist/procedures/server.status.js +8 -0
- package/dist/procedures/server.status.js.map +1 -1
- package/dist/procedures/server.stop.d.ts +2 -1
- package/dist/procedures/server.stop.d.ts.map +1 -1
- package/dist/procedures/server.stop.js +8 -0
- package/dist/procedures/server.stop.js.map +1 -1
- package/package.json +4 -4
- package/src/procedures/server.start.ts +11 -2
- package/src/procedures/server.status.ts +11 -2
- package/src/procedures/server.stop.ts +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @procedures/server
|
|
2
2
|
|
|
3
|
+
## 0.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b5db4d8: The other procedures that reach files declare their rules under a root of the files in `metadata.fsRoot` (roadmap R33, tracker item O36). Without a root, nothing changes. PATCH: each procedure was refused under a root before, and now it is confined, or it is refused with a reason.
|
|
8
|
+
|
|
9
|
+
- Confined: `s3.download` (`destPath`), `s3.presign` (no path input), `exif.read` (`path`), `privacyScan.files` (`paths`, `termsFile`, `allowFile`), `claude.read` and `claude.follow` (`outputFile`), and `manifest.generate` (`outputDir`).
|
|
10
|
+
- Confined with no path input, because the store of the host holds the data: `schedule.add`, `schedule.list`, `schedule.remove`, `procedure.store`, `procedure.load` and `procedure.sync`.
|
|
11
|
+
- Confined: each `gh.*` procedure starts gh in a working folder of the root, and the `dir` of `gh.run.download` is in the root. Its nested `shell.run` now runs under a root. `GIT_DIR` is the null device, so the git of gh finds no repository: give `repo`.
|
|
12
|
+
- Refused, with the reason in the rules: `snapshot.create`, `snapshot.restore`, `snapshot.diff`, `iosBackup.*`, `claude.start`, `server.start`, `server.stop` and `server.status`.
|
|
13
|
+
- Updated dependencies [61d60c6]
|
|
14
|
+
- Updated dependencies [79f750a]
|
|
15
|
+
- Updated dependencies [d0c9856]
|
|
16
|
+
- Updated dependencies [b5db4d8]
|
|
17
|
+
- Updated dependencies [b5db4d8]
|
|
18
|
+
- @procedures/client@0.9.1
|
|
19
|
+
- @procedures/peer@0.9.1
|
|
20
|
+
|
|
21
|
+
## 0.9.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [8bb469c]
|
|
26
|
+
- Updated dependencies [dc03903]
|
|
27
|
+
- Updated dependencies [dca28c1]
|
|
28
|
+
- @procedures/client@0.9.0
|
|
29
|
+
- @procedures/peer@0.9.0
|
|
30
|
+
|
|
3
31
|
## 0.8.1
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -190,7 +190,9 @@ With `--fs-root <folder>`, the server starts `confineToRoot()` of `@procedures/f
|
|
|
190
190
|
|
|
191
191
|
- Each procedure refuses a path outside the folder with `FORBIDDEN` and the reason `outside-root`. A relative path starts at the folder. A working folder without a value is the folder.
|
|
192
192
|
- The `fs.*` procedures get the handlers of the root. A procedure with rules (`metadata.fsRoot`) gets each path of its rules examined. A nested call is confined too.
|
|
193
|
-
- The server refuses each procedure that the folder cannot confine, with the same error: `
|
|
193
|
+
- The server refuses each procedure that the folder cannot confine, with the same error: `pnpm.*`, `docker.run`, a call of `shell.run`, and a procedure that reaches files without rules.
|
|
194
|
+
- The `git.*` procedures are confined: git finds no repository above the folder (tracker item O35).
|
|
195
|
+
- The folder refuses `server.start`, `server.stop` and `server.status` of this package. They read and write the lock files in the home folder (`~/.mark`), and `server.start` starts a server without the folder.
|
|
194
196
|
- The server does not start when the folder does not exist, or when it cannot load a version of `@procedures/fs` with `confineToRoot()`.
|
|
195
197
|
|
|
196
198
|
The rules and the table of the procedures are in [CAPABILITIES-2026-10.md](../documentation/CAPABILITIES-2026-10.md#the-root-of-the-files-roadmap-r33).
|