cadre-ai 2.0.0 → 2.1.0
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/README.md +7 -0
- package/package.json +2 -2
- package/scripts/cadre-cli.js +4 -13
- package/scripts/cadre-core.js +2401 -1259
- package/scripts/cadre-job-runner.js +10 -0
- package/scripts/mcp/cadre-server.js +2813 -1922
|
@@ -3299,6 +3299,16 @@ function completeTaskInner(root, args = {}) {
|
|
|
3299
3299
|
};
|
|
3300
3300
|
}
|
|
3301
3301
|
|
|
3302
|
+
// src/core/domain/project-skill-policy.ts
|
|
3303
|
+
var PROJECT_SKILL_MAX_FILE_BYTES = 128 * 1024;
|
|
3304
|
+
|
|
3305
|
+
// src/mcp/domain/tool-catalog.ts
|
|
3306
|
+
var SERVER_INSTRUCTIONS = [
|
|
3307
|
+
"Cadre is a packet-led runtime. Call cadre_workflow first for workflows, cadre_action for a packet named by a workflow response, and cadre_read only for a relevant resource URI.",
|
|
3308
|
+
"Pass a root candidate to project-scoped calls. Cadre resolves it internally; setup accepts an uninitialized directory.",
|
|
3309
|
+
"Cadre owns control-plane, provider, worker, approval, merge, and generated projection state."
|
|
3310
|
+
].join(" ");
|
|
3311
|
+
|
|
3302
3312
|
// src/cadre-job-runner.ts
|
|
3303
3313
|
function readStdin() {
|
|
3304
3314
|
return new Promise((resolve, reject) => {
|