AtlatestRepositoryparlor

parlor / treepackage.sgl

1;;; parlor - Discourse forum management CLI and MCP server
2;;;
3;;; A dual-mode tool for managing topics, posts, categories, users, groups,
4;;; and messages on Discourse forums. Usable as a CLI by humans and as an
5;;; MCP server by AI agents.
6
7(package
8 name: "parlor"
9 version: "0.1.0"
10 sigil: "0.20"
11 description: "Discourse forum management CLI and MCP server"
12 url: "https://codeberg.org/sigil/parlor"
13 license: "BSD-3-Clause"
14 authors: (list "David Wilson <[email protected]>")
16 entry: '(parlor main)
17 bundle-name: "parlor"
19 configs: (list
20 (config
21 name: 'dev
22 output-dir: "build/dev"
23 debug?: #t
24 optimize: 0
25 bundle?: #t)
26 (config
27 name: 'release
28 output-dir: "build/release"
29 debug?: #f
30 optimize: 2
31 bundle?: #t))
33 provides: (list
34 mcp-server: #{ name: "parlor"
35 args: #["serve"]
36 secret-env: #{ DISCOURSE_API_KEY: #t
37 DISCOURSE_USERNAME: #t
38 DISCOURSE_URL: #t } })
40 dependencies: (list
41 (from-git url: "codeberg:sigil/sigil" package: "sigil-run" version: ">=0.21")
42 (from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: ">=0.21")
43 (from-git url: "codeberg:sigil/sigil-mcp" version: "^0.17")
44 (from-git url: "codeberg:sigil/sigil-discourse" version: "^0.9.0")
45 ;; (sigil env) is imported by the test suite. It resolved ambiently on a
46 ;; developer machine and NOT in a delivered CI tree, so the first CI run
47 ;; failed with "library not found: (sigil env)" while the local suite was
48 ;; green. Declared explicitly so both agree.
49 (from-git url: "codeberg:sigil/sigil" package: "sigil-env" version: ">=0.21"))
51 dev-dependencies: (list
52 (from-git url: "codeberg:sigil/sigil" package: "sigil-test" version: ">=0.21")
53 (from-git url: "codeberg:sigil/sigil" package: "sigil-test-runner" version: ">=0.21"))
55 tasks: (list
56 (task
57 name: 'build
58 description: "Compile parlor modules"
59 steps: (list
60 (compile-sigil-modules sources: "src/**/*.sgl"
61 output-dir: (config-output-subdir "lib"))))))