-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhank.json
More file actions
122 lines (122 loc) · 3.3 KB
/
hank.json
File metadata and controls
122 lines (122 loc) · 3.3 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"$schema": "https://unpkg.com/hankweave@latest/schemas/hank.schema.json",
"meta": {
"name": "Downloads Wrapped",
"description": "Spotify Wrapped, but for your Downloads folder. Guided by Frognu.",
"version": "1.0.0"
},
"globalSystemPromptFile": "./prompts/system.md",
"hank": [
{
"id": "discover",
"name": "Discover",
"description": "Analyze the Downloads folder, extract metadata and calculate spatial positions",
"model": "haiku",
"continuationMode": "fresh",
"promptFile": "./prompts/codon-1-discover.md",
"checkpointedFiles": ["notes/**", "scripts/**"],
"rigSetup": [
{
"type": "command",
"command": {
"run": "mkdir -p notes/data notes/narrative output scripts assets",
"workingDirectory": "project"
}
},
{
"type": "copy",
"copy": {
"from": "./rig-files/scripts/analyze.ts",
"to": "scripts/analyze.ts"
}
}
]
},
{
"id": "plan-journey",
"name": "Plan the Journey",
"description": "Create the narrative map, zones, Frognu's dialogue, and dashboard commentary",
"model": "haiku",
"continuationMode": "fresh",
"promptFile": "./prompts/codon-2-plan-journey.md",
"checkpointedFiles": ["notes/narrative/**", "notes/world/**"],
"rigSetup": [
{
"type": "command",
"command": {
"run": "mkdir -p notes/world notes/narrative",
"workingDirectory": "project"
}
}
],
"sentinels": [
{
"sentinelConfig": "./sentinels/frognu-thoughts.sentinel.json",
"settings": {
"outputPaths": {
"logFile": "notes/narrative/frognu-musings.md"
}
}
}
]
},
{
"id": "build-world",
"name": "Build the World",
"description": "Merge data and creative text into the HTML template",
"model": "haiku",
"continuationMode": "fresh",
"promptFile": "./prompts/codon-3-build-world.md",
"checkpointedFiles": ["output/**"],
"outputFiles": [
{
"copy": ["output/downloads-wrapped.html", "output/assets/**"]
}
],
"rigSetup": [
{
"type": "command",
"command": {
"run": "mkdir -p templates output/assets scripts",
"workingDirectory": "project"
}
},
{
"type": "copy",
"copy": {
"from": "./templates/swamp-template.html",
"to": "templates/swamp-template.html"
}
},
{
"type": "copy",
"copy": {
"from": "./rig-files/scripts/merge-template.ts",
"to": "scripts/merge-template.ts"
}
},
{
"type": "copy",
"copy": {
"from": "./rig-files/assets/",
"to": "output/assets/"
}
},
{
"type": "copy",
"copy": {
"from": "./rig-files/frognu/",
"to": "output/assets/frognu/"
}
},
{
"type": "copy",
"copy": {
"from": "./rig-files/icons/",
"to": "output/assets/icons/"
}
}
]
}
]
}