thoth-plugin 1.2.10 → 1.2.11

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.
@@ -1,10 +1,7 @@
1
1
  ---
2
2
  name: context-discovery
3
3
  description: Use when a skill needs Thoth KB context (identity, stakeholders, projects) and it hasn't been discovered yet this session. Called automatically by morning-boot and other context-dependent skills.
4
- triggers:
5
- - "discover context"
6
- - "find my identity"
7
- - "where is my kb"
4
+ triggers:
8
5
  created: 2026-01-09
9
6
  updated: 2026-01-10
10
7
  ---
@@ -41,7 +38,8 @@ This skill is typically invoked by other skills, not directly by user.
41
38
  | Find KB root | Check config → walk up for markers → check siblings |
42
39
  | Determine hemisphere | Parse CWD path for `/work/`, `/life/`, `/coding/` |
43
40
  | Find email | Read `{hemisphere}/AGENTS.md`, extract from MCP config table |
44
- | Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` or `{hemisphere}/people/_index.md` |
41
+ | Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` peers, bosses, external contacts |
42
+ | Find team | Check `{hemisphere}/Team/_index.md` — direct reports |
45
43
  | Cache results | Store in `.thoth-state/context.json` for session reuse |
46
44
 
47
45
  ---
@@ -115,12 +113,16 @@ Extract `user_google_email` value.
115
113
  3. `{hemisphere}/_identity.md`
116
114
  4. `kernel/config/identity.md`
117
115
 
118
- ### Step 6: Locate Stakeholders
116
+ ### Step 6: Locate People
119
117
 
120
- Check in order (use first that exists):
121
- 1. `{kb_root}/{hemisphere}/Stakeholders/_index.md`
122
- 2. `{kb_root}/{hemisphere}/people/_index.md`
123
- 3. `{kb_root}/{hemisphere}/Team/_index.md` (for direct reports)
118
+ Discover BOTH categories (they serve different purposes):
119
+
120
+ **Stakeholders** (peers, bosses, external contacts):
121
+ - Check: `{kb_root}/{hemisphere}/Stakeholders/_index.md`
122
+ - Fallback: `{kb_root}/{hemisphere}/people/_index.md`
123
+
124
+ **Team** (direct reports):
125
+ - Check: `{kb_root}/{hemisphere}/Team/_index.md`
124
126
 
125
127
  ### Step 7: Build Context Object
126
128
 
@@ -136,6 +138,10 @@ Check in order (use first that exists):
136
138
  "path": "work/Stakeholders/_index.md",
137
139
  "count": 32
138
140
  },
141
+ "team": {
142
+ "path": "work/Team/_index.md",
143
+ "count": 8
144
+ },
139
145
  "projects": {
140
146
  "path": "work/projects/_index.md"
141
147
  },
@@ -167,10 +173,14 @@ Identity:
167
173
  Timezone: Europa/Berlin (if found)
168
174
  Source: work/AGENTS.md
169
175
 
170
- Stakeholders:
176
+ Stakeholders (peers, bosses, external):
171
177
  Path: work/Stakeholders/_index.md
172
178
  Count: 32 files
173
179
 
180
+ Team (direct reports):
181
+ Path: work/Team/_index.md
182
+ Count: 8 files
183
+
174
184
  Projects:
175
185
  Path: work/projects/_index.md
176
186
 
@@ -1,10 +1,7 @@
1
1
  ---
2
2
  name: context-discovery
3
3
  description: Use when a skill needs Thoth KB context (identity, stakeholders, projects) and it hasn't been discovered yet this session. Called automatically by morning-boot and other context-dependent skills.
4
- triggers:
5
- - "discover context"
6
- - "find my identity"
7
- - "where is my kb"
4
+ triggers:
8
5
  created: 2026-01-09
9
6
  updated: 2026-01-10
10
7
  ---
@@ -41,7 +38,8 @@ This skill is typically invoked by other skills, not directly by user.
41
38
  | Find KB root | Check config → walk up for markers → check siblings |
42
39
  | Determine hemisphere | Parse CWD path for `/work/`, `/life/`, `/coding/` |
43
40
  | Find email | Read `{hemisphere}/AGENTS.md`, extract from MCP config table |
44
- | Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` or `{hemisphere}/people/_index.md` |
41
+ | Find stakeholders | Check `{hemisphere}/Stakeholders/_index.md` peers, bosses, external contacts |
42
+ | Find team | Check `{hemisphere}/Team/_index.md` — direct reports |
45
43
  | Cache results | Store in `.thoth-state/context.json` for session reuse |
46
44
 
47
45
  ---
@@ -115,12 +113,16 @@ Extract `user_google_email` value.
115
113
  3. `{hemisphere}/_identity.md`
116
114
  4. `kernel/config/identity.md`
117
115
 
118
- ### Step 6: Locate Stakeholders
116
+ ### Step 6: Locate People
119
117
 
120
- Check in order (use first that exists):
121
- 1. `{kb_root}/{hemisphere}/Stakeholders/_index.md`
122
- 2. `{kb_root}/{hemisphere}/people/_index.md`
123
- 3. `{kb_root}/{hemisphere}/Team/_index.md` (for direct reports)
118
+ Discover BOTH categories (they serve different purposes):
119
+
120
+ **Stakeholders** (peers, bosses, external contacts):
121
+ - Check: `{kb_root}/{hemisphere}/Stakeholders/_index.md`
122
+ - Fallback: `{kb_root}/{hemisphere}/people/_index.md`
123
+
124
+ **Team** (direct reports):
125
+ - Check: `{kb_root}/{hemisphere}/Team/_index.md`
124
126
 
125
127
  ### Step 7: Build Context Object
126
128
 
@@ -136,6 +138,10 @@ Check in order (use first that exists):
136
138
  "path": "work/Stakeholders/_index.md",
137
139
  "count": 32
138
140
  },
141
+ "team": {
142
+ "path": "work/Team/_index.md",
143
+ "count": 8
144
+ },
139
145
  "projects": {
140
146
  "path": "work/projects/_index.md"
141
147
  },
@@ -167,10 +173,14 @@ Identity:
167
173
  Timezone: Europa/Berlin (if found)
168
174
  Source: work/AGENTS.md
169
175
 
170
- Stakeholders:
176
+ Stakeholders (peers, bosses, external):
171
177
  Path: work/Stakeholders/_index.md
172
178
  Count: 32 files
173
179
 
180
+ Team (direct reports):
181
+ Path: work/Team/_index.md
182
+ Count: 8 files
183
+
174
184
  Projects:
175
185
  Path: work/projects/_index.md
176
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thoth-plugin",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Thoth - Root-level life orchestrator for OpenCode. Unified AI chief of staff combining Sisyphus execution quality, Personal-OS rhythms, and Thoth relationship model.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",