picocode-core 0.9.183 → 0.9.184

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picocode-core",
3
- "version": "0.9.183",
3
+ "version": "0.9.184",
4
4
  "description": "The agent runtime behind pico: sessions, tools, subagents, MCP, memory, and model access",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/controller.js CHANGED
@@ -1318,7 +1318,8 @@ export function createController({ boot }) {
1318
1318
  ].filter((segment) => segment.tokens > 0)
1319
1319
  .map((segment, i) => ({ ...segment, color: CONTEXT_COLORS[i] }))
1320
1320
 
1321
- return { model: state.model.name, rows, measured, segments }
1321
+ const limit = state.model.context ?? boot.models.find((model) => model.name === state.model.name)?.context ?? null
1322
+ return { model: state.model.name, limit, rows, measured, segments }
1322
1323
  }
1323
1324
 
1324
1325
  async function connectProvider() {