@oh-my-pi/pi-agent-core 14.7.1 → 14.7.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 CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [14.7.2] - 2026-05-06
6
+ ### Added
7
+
8
+ - Added `loadMode` option to `AgentTool` to mark built-in tools as `essential` for initial loading or `discoverable` for search activation
9
+ - Added optional `summary` field to `AgentTool` definitions for one-line text used in tool discovery indexes
10
+
5
11
  ## [14.7.0] - 2026-05-04
6
12
  ### Breaking Changes
7
13
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-agent-core",
4
- "version": "14.7.1",
4
+ "version": "14.7.2",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
@@ -35,9 +35,9 @@
35
35
  "fmt": "biome format --write ."
36
36
  },
37
37
  "dependencies": {
38
- "@oh-my-pi/pi-ai": "14.7.1",
39
- "@oh-my-pi/pi-natives": "14.7.1",
40
- "@oh-my-pi/pi-utils": "14.7.1"
38
+ "@oh-my-pi/pi-ai": "14.7.2",
39
+ "@oh-my-pi/pi-natives": "14.7.2",
40
+ "@oh-my-pi/pi-utils": "14.7.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@sinclair/typebox": "^0.34.49",
package/src/types.ts CHANGED
@@ -248,6 +248,10 @@ export interface AgentTool<TParameters extends TSchema = TSchema, TDetails = any
248
248
  hidden?: boolean;
249
249
  /** If true, tool can stage a pending action that requires explicit resolution via the resolve tool. */
250
250
  deferrable?: boolean;
251
+ /** Built-in tool loading behavior. "essential" loads initially; "discoverable" can be activated by tool search. */
252
+ loadMode?: "essential" | "discoverable";
253
+ /** Short one-line summary used for tool discovery indexes. */
254
+ summary?: string;
251
255
  /** If true, tool execution ignores abort signals (runs to completion) */
252
256
  nonAbortable?: boolean;
253
257
  /**