takomi 2.1.8 → 2.1.9

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/.pi/README.md CHANGED
@@ -8,6 +8,7 @@ It is intentionally separate from the existing cross-harness assets under `asset
8
8
 
9
9
  - `extensions/takomi-runtime/` - Pi runtime glue, embedded workflow playbooks, and orchestrator board tools
10
10
  - `extensions/takomi-subagents/` - Takomi-facing subagent wrapper over Pi-style execution semantics with resumable conversation IDs
11
+ - `extensions/takomi-context-manager/` - Progressive context loading, skill manifests, policy packs, model-routing gates, and context diagnostics
11
12
  - `prompts/` - Pi-native prompt shortcuts
12
13
  - `agents/` - Pi-native specialist agent definitions, including a design-stage agent
13
14
 
@@ -39,6 +40,7 @@ Inside Pi, use:
39
40
  - `/takomi subagents status|expand|collapse|fullscreen|next|prev|toggle` to inspect or reshape the active subagent stack
40
41
  - `/takomi-status` to show lifecycle, gate, session, and active subagent state
41
42
  - `/takomi-reset` to reset session-local Takomi runtime state
43
+ - `/context-report` to inspect prompt compaction, skill loading, policy gates, model routing corrections, and duplicate extension diagnostics
42
44
  - `takomi_board` actions now include stage expansion, task updates, multi-task dispatch, and redispatch support for review loops
43
45
  - The old standalone commands (`/takomi-genesis`, `/takomi-design`, `/takomi-build`, `/takomi-kickoff`, `/autoorch`, `/orch`, `/architect`, `/code`, `/review`, and the `/takomi-subagent*` variants) are folded into `/takomi` subcommands so slash autocomplete stays small.
44
46
  - prompt shortcuts are suffixed with `-prompt` to avoid collisions with runtime commands, e.g. `/orch-prompt`, `/build-prompt`, `/design-prompt`, `/genesis-prompt`, `/takomi-prompt`, `/prime-prompt`
@@ -67,6 +69,7 @@ Bundled with Takomi now:
67
69
 
68
70
  - `.pi/extensions/takomi-runtime/`
69
71
  - `.pi/extensions/takomi-subagents/`
72
+ - `.pi/extensions/takomi-context-manager/`
70
73
  - `.pi/prompts/`
71
74
  - `.pi/agents/`
72
75
  - `.pi/themes/`
@@ -112,6 +115,11 @@ So when working on packaging, agents should distinguish between:
112
115
  - Active Takomi subagent work now streams through the native Pi-style result UI instead of Takomi's older below-editor stack.
113
116
  - Use Pi's native result expansion, `Alt+T`, or `/takomi subagents expand` to inspect detailed subagent output.
114
117
  - Takomi still tracks active runs internally for status, review continuity, and board synchronization, but it no longer opens a custom subagent fullscreen overlay.
118
+ - `takomi-context-manager` reduces prompt bloat by replacing the always-on skill description dump with a names-only Skill Index plus progressive `skill_manifest`/`skill_load` tools.
119
+ - `takomi-context-manager` treats `/takomi routing` as the source of truth for model-routing policy via `.pi/settings.json -> takomi.modelRoutingPolicyFile`.
120
+ - `takomi-context-manager` gates `takomi_subagent` when model-routing context has not been loaded, provides the routing policy, and tells the agent to retry.
121
+ - `takomi-context-manager` can correct safe wrong-provider model requests, block or pause on policy violations, and ask the user whether to retry with an approved model or stop.
122
+ - `takomi-context-manager` detects known duplicate global/project Takomi extension paths in `context_report` to help diagnose tool registration conflicts.
115
123
  - `takomi_board` can:
116
124
  - create a Genesis-first lifecycle session by default
117
125
  - expand a lifecycle stage into additional tasks
package/README.md CHANGED
@@ -45,6 +45,16 @@ takomi init
45
45
 
46
46
  Takomi's Pi-native subagent execution and terminal UI build on **[`pi-subagents`](https://github.com/nicobailon/pi-subagents)** by **Nico Bailon**. That package provides the underlying Pi extension for delegated subagent runs, including the native subagent result renderer, live progress/status display, single/parallel/chain execution support, session/artifact handling, and related subagent tooling. Takomi adds its own lifecycle orchestration, model-routing policy, workflow metadata, board/checklist context, and agent conventions on top of that foundation.
47
47
 
48
+ ### Context Manager
49
+
50
+ Takomi now ships a Pi-native `takomi-context-manager` extension. It reduces prompt bloat with progressive context loading:
51
+
52
+ - skill names are always visible, while descriptions and full `SKILL.md` files load only when needed
53
+ - `skill_manifest`, `skill_load`, `policy_manifest`, `policy_load`, and `context_report` tools expose context on demand
54
+ - `/takomi routing` remains the source of truth for model-routing policy
55
+ - `takomi_subagent` is guarded by routing-policy context and can recover from wrong-provider model choices
56
+ - `/context-report` shows prompt compaction, loaded skills/policies, blocked actions, model-routing corrections, and duplicate extension diagnostics
57
+
48
58
 
49
59
  ### Option A: Global Install (Best for Multi-IDE Users) ⭐
50
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takomi",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "🎯 Stop wrestling with AI. Start building with purpose. The artisan's toolkit for agent workflows, Codex skills, and original Takomi capabilities like 21st.dev integration.",
5
5
  "type": "module",
6
6
  "bin": {