@fickydev/pigent 0.1.16 → 0.1.19

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
@@ -1,6 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 0.1.19 - 2026-05-18
4
+
5
+ ### Added
6
+
7
+ - Added task management as a built-in skill + tools. Agents with `task-management` in their `skills[]` can now list, create, update, and remove scheduled tasks via natural language.
8
+ - Added `task_list`, `task_create`, `task_update`, `task_remove` Pi SDK custom tools.
9
+ - Added `skills/task-management/SKILL.md` built-in skill document.
10
+ - Skill path resolution now supports bare names (e.g., `task-management`) resolved against pigent's built-in skills directory.
11
+ - Added `TaskConfigRepository.update()` and `countByAgentAndChatId()` methods.
12
+ - Added `Scheduler.addDynamicTaskFromRow()` and `reloadTasks()` for tool-driven hot-reload.
13
+ - AgentRunner now accepts optional Scheduler reference and builds per-run custom tools with agent+chat context.
14
+ - Capped at 5 tasks per agent per chat.
15
+ - Default assistant agent now includes `task-management` skill.
16
+
17
+ ## 0.1.18 - 2026-05-18
18
+
19
+ ### Added
20
+
21
+ - Added per-agent skill loading. Agent `skills[]` (relative to agent dir) and profile `defaultSkills[]` (relative to profile dir) are now resolved and passed to Pi SDK via `DefaultResourceLoader.additionalSkillPaths`. Skills are discovered and injected into the system prompt by the Pi SDK.
22
+ - Added `LoadedProfileConfig` type tracking profile `baseDir` for path resolution.
23
+
24
+ ## 0.1.17 - 2026-05-18
25
+
26
+ ### Added
27
+
28
+ - Added per-task `maxRunsPerHour` rate limit (default 12) to the scheduler. Skips execution when the cap is reached within the rolling hour window. Configurable per task in `pigent.yaml` task configs. DB-created tasks use the default unless the column is set.
4
29
 
5
30
  ## 0.1.16 - 2026-05-18
6
31
 
package/TODO.md CHANGED
@@ -144,9 +144,10 @@
144
144
  - [x] Reuse Pi session files across messages
145
145
  - [x] Self-heal missing runtime `agent_sessions` columns after partial/mismatched migration state
146
146
  - [x] Make README more end-user facing
147
- - [ ] Confirm per-agent system prompt injection
148
- - [ ] Confirm per-agent skills loading
149
- - [ ] Confirm per-agent extensions loading
147
+ - [x] Confirm per-agent system prompt injection
148
+ - [x] Confirm per-agent skills loading
149
+ - [x] Confirm per-agent extensions loading
150
+ - [ ] Confirm per-agent custom tools loading
150
151
  - [x] Prototype one prompt through Pi SDK
151
152
  - [x] Decide CLI fallback strategy if SDK gaps appear
152
153
 
@@ -166,8 +167,9 @@
166
167
  - [x] Add `/task remove <id>` command
167
168
  - [x] Scheduler loads tasks from both config file + DB
168
169
  - [x] Share session lock between Scheduler and AgentRunner (prevent concurrent Pi runs for same agent+chat)
169
- - [ ] Add max task runs per hour rate limit
170
- - [ ] Add `/task status` or similar command
170
+ - [x] Add max task runs per hour rate limit
171
+ - [x] Add `/task status` or similar command
172
+ - [x] Add task management as agent skill + tools (natural language task CRUD)
171
173
 
172
174
  ## Policy And Safety
173
175
 
@@ -5,7 +5,8 @@ model: null
5
5
  thinkingLevel: null
6
6
  workspace: ~/.pigent/workspaces/assistant
7
7
  systemPromptFile: ./SYSTEM.md
8
- skills: []
8
+ skills:
9
+ - task-management
9
10
  extensions: []
10
11
  channels:
11
12
  telegram:
@@ -0,0 +1 @@
1
+ ALTER TABLE `task_configs` ADD `max_runs_per_hour` integer;