AtlatestRepositorysigil-system

sigil-system / treepackage.sgl

1;;; sigil-system - System capability library for Sigil
2;;;
3;;; Grant-checked access to the local system: filesystem operations,
4;;; one-shot process execution, and PTY-backed stream sessions. One
5;;; shared implementation consumed both in-process (desktop embedding)
6;;; and by remote-node wrappers.
7
8(package
9 name: "sigil-system"
10 version: "0.1.2"
11 sigil: "^0.17"
12 description: "System capability library: filesystem, processes, and PTY sessions behind a grant-checked surface"
13 url: "https://codeberg.org/sigil/sigil-system"
14 license: "BSD-3-Clause"
15 authors: (list "David Wilson <[email protected]>")
17 ;; The headless PTY proof (the S0 exit criterion) is the default
18 ;; runnable: `sigil run` demonstrates open -> stream ls -> resize ->
19 ;; reap end to end. `sigil run`'s dev loader imports this entry value
20 ;; as a module and calls its `main`, so the entry is the module name
21 ;; alone (not the `(module main)` form used by native-bundled apps).
22 entry: '(sigil system proof)
23 bundle-name: "headless-pty-proof"
25 configs: (list
26 (config
27 name: 'dev
28 output-dir: "build/dev"
29 debug?: #t
30 optimize: 0
31 bundle?: #t))
33 dev-dependencies: (list
34 (from-git url: "codeberg:sigil/sigil" package: "sigil-test" version: "^0.17")
35 (from-git url: "codeberg:sigil/sigil" package: "sigil-test-runner" version: "^0.17")))