@caupulican/pi-adaptative 0.80.63 → 0.80.65

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,3 +1,15 @@
1
+ ## [0.80.65] - 2026-06-27
2
+
3
+ ### Added
4
+
5
+ - Memory-to-behavior: the reflection engine can now promote a recurring, multi-step procedure it learned into an executable skill (a generated SKILL.md under your skills directory), so lessons become reusable behavior instead of just remembered facts.
6
+
7
+ ## [0.80.64] - 2026-06-27
8
+
9
+ ### Added
10
+
11
+ - Situational profiles (souls): a resource profile can now define a `soul` — a situational identity injected into the system prompt while the profile is active — so switching a profile switches the agent's identity, capabilities, and model together as one "situation".
12
+
1
13
  ## [0.80.63] - 2026-06-27
2
14
 
3
15
  ### Changed
@@ -418,6 +418,11 @@ export declare class AgentSession {
418
418
  get promptTemplates(): ReadonlyArray<PromptTemplate>;
419
419
  private _normalizePromptSnippet;
420
420
  private _normalizePromptGuidelines;
421
+ /**
422
+ * R6: the active profile's situational soul, wrapped so the model reads it as its identity for this
423
+ * situation. Empty when no active profile defines a soul.
424
+ */
425
+ private _buildSituationSoulPrompt;
421
426
  private _buildSelfModificationPrompt;
422
427
  private _buildAutonomyPrompt;
423
428
  private _rebuildSystemPrompt;
@@ -797,6 +802,11 @@ export declare class AgentSession {
797
802
  reportId?: string;
798
803
  }): Promise<ReflectionResult | null>;
799
804
  private _applyReflectionWrite;
805
+ /**
806
+ * R7: write a reflection-promoted skill as `<agentDir>/skills/<name>/SKILL.md` so it loads like any
807
+ * user skill. Best-effort; never clobbers an existing (hand-authored) skill of the same name.
808
+ */
809
+ private _promoteReflectionSkill;
800
810
  getContextUsage(): ContextUsage | undefined;
801
811
  /**
802
812
  * Export session to HTML.