replicas-engine 0.1.413 → 0.1.414
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/dist/src/index.js +9 -42
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -1418,59 +1418,26 @@ var GOOGLE_ABILITY = {
|
|
|
1418
1418
|
|
|
1419
1419
|
// ../shared/src/default-skills/replicas-agent/abilities/learnings.ts
|
|
1420
1420
|
var SECTION6 = `### Learnings
|
|
1421
|
-
|
|
1421
|
+
Propose additions, updates, or deletions to curated organization knowledge.
|
|
1422
1422
|
|
|
1423
|
-
**Reference:** \`references/LEARNINGS.md
|
|
1424
|
-
|
|
1425
|
-
Use this when:
|
|
1426
|
-
- You are starting a substantive task and have gathered enough context to write a meaningful query
|
|
1427
|
-
- A user corrects you about a durable fact, preference, or process worth keeping
|
|
1428
|
-
- You find an existing learning contradicted by the current code or docs`;
|
|
1423
|
+
**Reference:** \`references/LEARNINGS.md\``;
|
|
1429
1424
|
var REFERENCE6 = `# Learnings
|
|
1430
1425
|
|
|
1431
|
-
Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules.
|
|
1432
|
-
|
|
1433
|
-
## Reading Learnings
|
|
1434
|
-
|
|
1435
|
-
\`\`\`bash
|
|
1436
|
-
replicas learnings read --query "<enriched query>"
|
|
1437
|
-
\`\`\`
|
|
1438
|
-
|
|
1439
|
-
**When to read:** once you've collected enough context to write a meaningful query \u2014 typically after your first look at the relevant code. Don't wait until you're deep into execution; learnings are most valuable before you commit to an approach.
|
|
1440
|
-
|
|
1441
|
-
**Enrich the query.** Use codebase specifics (feature area, module/component names), not the raw user request. Triggers describe *situations*, so a query grounded in what the task actually touches matches far better.
|
|
1442
|
-
|
|
1443
|
-
Example: the user asks "remove the PRs chart projections". After locating the chart you know it lives in the platform admin dashboard, so query:
|
|
1444
|
-
|
|
1445
|
-
\`\`\`bash
|
|
1446
|
-
replicas learnings read --query "Remove the PRs chart in the platform admin dashboard"
|
|
1447
|
-
\`\`\`
|
|
1448
|
-
|
|
1449
|
-
This matches a learning triggered on "UI/UX work on the admin panel" that the raw request would have missed.
|
|
1450
|
-
|
|
1451
|
-
Output is a list of blocks \u2014 id, name, and content. Use the ids to propose updates or deletions.
|
|
1452
|
-
|
|
1453
|
-
## Proposing changes
|
|
1426
|
+
Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules.
|
|
1454
1427
|
|
|
1455
1428
|
All writes are proposals: a human reviews them in the dashboard, and nothing takes effect until approved.
|
|
1456
1429
|
|
|
1457
|
-
|
|
1458
|
-
replicas learnings add --name "<short name>" --content "<the knowledge>" [--trigger "<when to surface it>"] [--always] [--global]
|
|
1459
|
-
replicas learnings update <id> [--name "..."] [--content "..."] [--trigger "..."] [--always true|false]
|
|
1460
|
-
replicas learnings delete <id>
|
|
1461
|
-
\`\`\`
|
|
1462
|
-
|
|
1463
|
-
\`--always\` marks an entry as always-returned (no trigger needed); \`--global\` proposes org-wide scope instead of this workspace's environment.
|
|
1430
|
+
Use \`replicas learnings --help\` and subcommand help such as \`replicas learnings add --help\`, \`replicas learnings update --help\`, or \`replicas learnings delete --help\` for current command syntax.
|
|
1464
1431
|
|
|
1465
1432
|
**Be very conservative:**
|
|
1466
|
-
- Propose \`add\` only for
|
|
1433
|
+
- Propose \`add\` only for repeatable, org-useful facts likely to matter again: explicit user corrections, hard-won environment or process knowledge.
|
|
1467
1434
|
- Never store task-specific details, anything derivable by reading the repo, or secrets/credentials.
|
|
1468
|
-
- Propose \`update\` or \`delete\` when a learning is contradicted by the current code or docs
|
|
1435
|
+
- Propose \`update\` or \`delete\` when a learning is contradicted by the current code or docs, especially if the outdated guidance would affect future repeated work.
|
|
1469
1436
|
- Write narrow triggers describing when the entry should surface (e.g. "UI/UX work on the admin panel"), not vague topics.`;
|
|
1470
1437
|
var LEARNINGS_ABILITY = {
|
|
1471
1438
|
label: "Learnings",
|
|
1472
|
-
description: "
|
|
1473
|
-
bullet: "-
|
|
1439
|
+
description: "Propose changes to curated org knowledge for human review.",
|
|
1440
|
+
bullet: "- Proposing changes to organization Learnings (curated, human-approved knowledge)",
|
|
1474
1441
|
section: SECTION6,
|
|
1475
1442
|
referenceFile: { name: "LEARNINGS.md", content: REFERENCE6 }
|
|
1476
1443
|
};
|
|
@@ -8249,7 +8216,7 @@ var AspClient = class {
|
|
|
8249
8216
|
// src/managers/codex-asp/app-server-process.ts
|
|
8250
8217
|
var DEFAULT_CODEX_BINARY = "codex";
|
|
8251
8218
|
var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
8252
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
8219
|
+
var ENGINE_PACKAGE_VERSION = "0.1.414";
|
|
8253
8220
|
var INITIALIZE_METHOD = "initialize";
|
|
8254
8221
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
8255
8222
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|