wendkeep 0.38.0 → 0.38.2
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 +19 -0
- package/hooks/brain-inject.mjs +74 -74
- package/hooks/obsidian-common.mjs +586 -586
- package/hooks/pricing.json +53 -53
- package/hooks/session-ensure.mjs +377 -377
- package/hooks/session-identity.mjs +22 -0
- package/hooks/session-observability.mjs +1 -1
- package/hooks/session-start.mjs +299 -299
- package/hooks/session-stop.mjs +1132 -1132
- package/hooks/subagent-stop.mjs +2 -2
- package/hooks/task-log.mjs +2 -2
- package/hooks/token-usage.mjs +949 -944
- package/hooks/vault-health.mjs +186 -186
- package/package.json +7 -2
- package/src/release-changelog.mjs +38 -0
package/hooks/pricing.json
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_nota": "Preços API por milhão de tokens. cachedInput = cache read. Cache write aplica multiplicador no código: 5m = 1.25x input, 1h = 2x input. Editar aqui quando o provedor mudar preços (sem mexer no .mjs). Se o arquivo sumir ou ficar inválido, o hook usa a tabela embutida em token-usage.mjs.",
|
|
1
|
+
{
|
|
2
|
+
"_nota": "Preços API por milhão de tokens. cachedInput = cache read. Cache write aplica multiplicador no código: 5m = 1.25x input, 1h = 2x input. Editar aqui quando o provedor mudar preços (sem mexer no .mjs). Se o arquivo sumir ou ficar inválido, o hook usa a tabela embutida em token-usage.mjs.",
|
|
3
3
|
"_fonte": "OpenAI https://openai.com/index/gpt-5-6/ e https://help.openai.com/en/articles/20001325-a-preview-of-gpt-56-sol-terra-and-luna; Anthropic https://www.anthropic.com/pricing — conferido 2026-07-11",
|
|
4
4
|
"models": {
|
|
5
5
|
"gpt-5.6-sol": { "label": "GPT-5.6 Sol API", "provider": "openai", "input": 5, "cachedInput": 0.5, "output": 30 },
|
|
6
6
|
"gpt-5.6-terra": { "label": "GPT-5.6 Terra API", "provider": "openai", "input": 2.5, "cachedInput": 0.25, "output": 15 },
|
|
7
7
|
"gpt-5.6-luna": { "label": "GPT-5.6 Luna API", "provider": "openai", "input": 1, "cachedInput": 0.1, "output": 6 },
|
|
8
|
-
"gpt-5.5": {
|
|
9
|
-
"label": "GPT-5.5 API",
|
|
10
|
-
"provider": "openai",
|
|
11
|
-
"input": 5,
|
|
12
|
-
"cachedInput": 0.5,
|
|
13
|
-
"output": 30
|
|
14
|
-
},
|
|
15
|
-
"claude-opus-4.7": {
|
|
16
|
-
"label": "Claude Opus 4.7 API",
|
|
17
|
-
"provider": "anthropic",
|
|
18
|
-
"input": 5,
|
|
19
|
-
"cachedInput": 0.5,
|
|
20
|
-
"output": 25
|
|
21
|
-
},
|
|
22
|
-
"claude-opus-4.8": {
|
|
23
|
-
"label": "Claude Opus 4.8 API",
|
|
24
|
-
"provider": "anthropic",
|
|
25
|
-
"input": 5,
|
|
26
|
-
"cachedInput": 0.5,
|
|
27
|
-
"output": 25
|
|
28
|
-
},
|
|
29
|
-
"claude-sonnet-4.6": {
|
|
30
|
-
"label": "Claude Sonnet 4.6 API",
|
|
31
|
-
"provider": "anthropic",
|
|
32
|
-
"input": 3,
|
|
33
|
-
"cachedInput": 0.3,
|
|
34
|
-
"output": 15
|
|
35
|
-
},
|
|
36
|
-
"claude-sonnet-5": {
|
|
37
|
-
"label": "Claude Sonnet 5 API",
|
|
38
|
-
"provider": "anthropic",
|
|
39
|
-
"input": 3,
|
|
40
|
-
"cachedInput": 0.3,
|
|
41
|
-
"output": 15
|
|
42
|
-
},
|
|
43
|
-
"claude-haiku-4.5": {
|
|
44
|
-
"label": "Claude Haiku 4.5 API",
|
|
45
|
-
"provider": "anthropic",
|
|
46
|
-
"input": 1,
|
|
47
|
-
"cachedInput": 0.1,
|
|
48
|
-
"output": 5
|
|
49
|
-
},
|
|
50
|
-
"claude-fable-5": {
|
|
51
|
-
"label": "Claude Fable 5 API",
|
|
52
|
-
"provider": "anthropic",
|
|
53
|
-
"input": 10,
|
|
54
|
-
"cachedInput": 1,
|
|
55
|
-
"output": 50
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
8
|
+
"gpt-5.5": {
|
|
9
|
+
"label": "GPT-5.5 API",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"input": 5,
|
|
12
|
+
"cachedInput": 0.5,
|
|
13
|
+
"output": 30
|
|
14
|
+
},
|
|
15
|
+
"claude-opus-4.7": {
|
|
16
|
+
"label": "Claude Opus 4.7 API",
|
|
17
|
+
"provider": "anthropic",
|
|
18
|
+
"input": 5,
|
|
19
|
+
"cachedInput": 0.5,
|
|
20
|
+
"output": 25
|
|
21
|
+
},
|
|
22
|
+
"claude-opus-4.8": {
|
|
23
|
+
"label": "Claude Opus 4.8 API",
|
|
24
|
+
"provider": "anthropic",
|
|
25
|
+
"input": 5,
|
|
26
|
+
"cachedInput": 0.5,
|
|
27
|
+
"output": 25
|
|
28
|
+
},
|
|
29
|
+
"claude-sonnet-4.6": {
|
|
30
|
+
"label": "Claude Sonnet 4.6 API",
|
|
31
|
+
"provider": "anthropic",
|
|
32
|
+
"input": 3,
|
|
33
|
+
"cachedInput": 0.3,
|
|
34
|
+
"output": 15
|
|
35
|
+
},
|
|
36
|
+
"claude-sonnet-5": {
|
|
37
|
+
"label": "Claude Sonnet 5 API",
|
|
38
|
+
"provider": "anthropic",
|
|
39
|
+
"input": 3,
|
|
40
|
+
"cachedInput": 0.3,
|
|
41
|
+
"output": 15
|
|
42
|
+
},
|
|
43
|
+
"claude-haiku-4.5": {
|
|
44
|
+
"label": "Claude Haiku 4.5 API",
|
|
45
|
+
"provider": "anthropic",
|
|
46
|
+
"input": 1,
|
|
47
|
+
"cachedInput": 0.1,
|
|
48
|
+
"output": 5
|
|
49
|
+
},
|
|
50
|
+
"claude-fable-5": {
|
|
51
|
+
"label": "Claude Fable 5 API",
|
|
52
|
+
"provider": "anthropic",
|
|
53
|
+
"input": 10,
|
|
54
|
+
"cachedInput": 1,
|
|
55
|
+
"output": 50
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|