@zelari/core 1.13.0 → 1.14.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptModules.d.ts","sourceRoot":"","sources":["../../src/agents/promptModules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AASlE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAE5B,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"promptModules.d.ts","sourceRoot":"","sources":["../../src/agents/promptModules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AASlE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAE5B,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;AA4FjD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,kBAYzC,CAAC;AAEF,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB,EAAE,kBAarC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,kBAkB3C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,GAAE,cAA0B,GAC/B,kBAAkB,EAAE,CAgCtB;AAED,kGAAkG;AAClG,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAAoC,CAAC;AAEpF,kDAAkD;AAClD,wBAAgB,eAAe,CAC7B,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC/B,kBAAkB,GAAG,SAAS,CAEhC;AAED;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,kBAW1C,CAAC"}
|
|
@@ -31,7 +31,9 @@ const BEHAVIOR_AGENT = {
|
|
|
31
31
|
|
|
32
32
|
- Be concise and structured. Prefer short markdown sections and bullets over walls of text.
|
|
33
33
|
- Be proactive but not reckless: if a single missing fact would change the design, ask one focused question; otherwise make a documented assumption and proceed.
|
|
34
|
-
- Prefer action over description when the user wants code, fixes, or repo changes — use tools.
|
|
34
|
+
- Prefer action over description when the user wants code, fixes, or repo changes — use tools (write_file/edit_file/bash), not prose-only plans.
|
|
35
|
+
- When the user confirms a plan ("procedi", "sì", "implementa"), the prior plan is work TO DO on disk. Reading alone is incomplete.
|
|
36
|
+
- Never claim work is "already implemented" without verifying the real files (and writing if gaps remain).
|
|
35
37
|
- Think step by step internally; surface conclusions and a brief rationale, not a full chain of thought.`,
|
|
36
38
|
};
|
|
37
39
|
const BEHAVIOR_COUNCIL = {
|
|
@@ -107,11 +109,12 @@ export const CODING_PRACTICES_MODULE = {
|
|
|
107
109
|
content: `# Coding Practices
|
|
108
110
|
|
|
109
111
|
- **Read before edit**: open relevant files (and nearby callers/tests) before changing code.
|
|
112
|
+
- **Then write**: if the task is to implement, follow reads with write_file/edit_file in the same turn. Do not end after exploration.
|
|
110
113
|
- **Minimal diffs**: change only what the task requires; match existing style and patterns.
|
|
111
114
|
- **Don't invent**: no fake APIs, deps, or config keys — discover from the tree or package manifests.
|
|
112
115
|
- **Verify**: after non-trivial edits, run the project's tests/typecheck/build when available; fix failures you introduced.
|
|
113
116
|
- **Use project scripts**: prefer package.json / Makefile / existing tooling over ad-hoc commands.
|
|
114
|
-
- **Finish**:
|
|
117
|
+
- **Finish**: list the paths you wrote/edited and how to verify. If you wrote nothing, say so honestly — do not invent a done report.`,
|
|
115
118
|
};
|
|
116
119
|
/**
|
|
117
120
|
* Structured clarification (---QUESTION---). Used by both agent and council packs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptModules.js","sourceRoot":"","sources":["../../src/agents/promptModules.ts"],"names":[],"mappings":"AACA,OAAO,EACL,8BAA8B,EAC9B,2BAA2B,EAC3B,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAK5B;;;GAGG;AACH,MAAM,uBAAuB,GAAuB;IAClD,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE;;iMAEsL;CAChM,CAAC;AAEF,MAAM,gBAAgB,GAAuB;IAC3C,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE;;;;sGAI2F;CACrG,CAAC;AAEF,MAAM,cAAc,GAAuB;IACzC,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"promptModules.js","sourceRoot":"","sources":["../../src/agents/promptModules.ts"],"names":[],"mappings":"AACA,OAAO,EACL,8BAA8B,EAC9B,2BAA2B,EAC3B,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAK5B;;;GAGG;AACH,MAAM,uBAAuB,GAAuB;IAClD,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE;;iMAEsL;CAChM,CAAC;AAEF,MAAM,gBAAgB,GAAuB;IAC3C,IAAI,EAAE,eAAe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I,EAAE,eAAe;IACrB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE;;;;;;kIAMuH;CACjI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zelari/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "Zelari Code core library — provider-neutral agent loop (AgentHarness), multi-agent council orchestration, and built-in skills. Used by the zelari-code CLI; consumable by other agent frontends.",
|
|
5
5
|
"author": "N-THEM Studio",
|
|
6
6
|
"license": "MIT",
|