Repository navigation
Expand file tree
/
Copy pathmise.toml
More file actions
80 lines (65 loc) · 2.74 KB
/
Copy pathmise.toml
File metadata and controls
80 lines (65 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# https://mise.jdx.dev/configuration.html
[env]
_.path = [".mise/scripts", "agents/hermes/pm"]
_.file = [".env"]
CODEX_HOME = { value = ".codex", path = true }
# This block will handle the linking of
# agent files to the main AGENTS.md file.
#
# TODO: Ensure this works for all levels of nesting.
# i.e. All linked agent files MUST be siblings at
# any given level of nesting.
[[hooks.enter]]
script = "'{{config_root}}/.mise/scripts/link-agentfiles.sh' '{{config_root}}'"
[[hooks.enter]]
script = "python3 '{{config_root}}/.mise/scripts/provision-packs.py' --root '{{config_root}}'"
[[hooks.enter]]
script = "python3 '{{config_root}}/.mise/scripts/sync-skills.py' --scope project --root '{{config_root}}'"
[[hooks.enter]]
script = "'{{config_root}}/.mise/scripts/materialize-env.sh'"
[tasks.package]
description = "Refresh skill assets for packaging"
run = "{{config_root}}/scripts/build-skill-assets.sh"
[tasks.ci]
description = "Run tests and refresh the skill source bundle"
run = [
"npm run test",
"{{config_root}}/scripts/build-skill-assets.sh",
]
[[watch_files]]
patterns = ["AGENTS.md"]
task = "link:agentfiles"
[[watch_files]]
patterns = [".agents/skills.json"]
task = "skills:sync"
[tasks."link:agentfiles"]
description = "Symlink all agent files to AGENTS.md"
run = "'{{config_root}}/.mise/scripts/link-agentfiles.sh' '{{config_root}}'"
[tasks."skills:sync"]
description = "Sync skills from manifest to local CLI dirs"
depends = ["skills:provision:packs"]
run = "python3 '{{config_root}}/.mise/scripts/sync-skills.py' --scope project --root '{{config_root}}'"
[tasks."skills:provision:packs"]
description = "Provision every Skillex pack declared in .agents/skills.json"
run = "python3 '{{config_root}}/.mise/scripts/provision-packs.py' --root '{{config_root}}'"
# >>> mise-versioning >>> (managed block — do not edit by hand; re-run init to update)
[tasks."version"]
description = "Print the current version (vX.Y.Z)"
run = "'{{config_root}}/.mise/scripts/versioning.sh' current"
[tasks."version:bump"]
description = "Bump patch version: vX.Y.Z -> vX.Y.(Z+1)"
alias = "version:bump-patch"
run = "'{{config_root}}/.mise/scripts/versioning.sh' bump patch"
[tasks."version:bump-minor"]
description = "Bump minor version: vX.Y.Z -> vX.(Y+1).0"
run = "'{{config_root}}/.mise/scripts/versioning.sh' bump minor"
[tasks."version:bump-major"]
description = "Bump major version: vX.Y.Z -> v(X+1).0.0"
run = "'{{config_root}}/.mise/scripts/versioning.sh' bump major"
[tasks."version:check"]
description = "Verify every versioned file is in parity"
run = "'{{config_root}}/.mise/scripts/versioning.sh' check"
[tasks."version:sync"]
description = "Force every versioned file up to the highest version"
run = "'{{config_root}}/.mise/scripts/versioning.sh' sync"
# <<< mise-versioning <<<