replicas-cli 0.2.343 → 0.2.344

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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -42
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -8685,59 +8685,26 @@ var GOOGLE_ABILITY = {
8685
8685
 
8686
8686
  // ../shared/src/default-skills/replicas-agent/abilities/learnings.ts
8687
8687
  var SECTION6 = `### Learnings
8688
- Curated, human-approved organization knowledge that helps you execute correctly \u2014 conventions, gotchas, environment facts, and past user corrections that the codebase alone can't tell you.
8688
+ Propose additions, updates, or deletions to curated organization knowledge.
8689
8689
 
8690
- **Reference:** \`references/LEARNINGS.md\`
8691
-
8692
- Use this when:
8693
- - You are starting a substantive task and have gathered enough context to write a meaningful query
8694
- - A user corrects you about a durable fact, preference, or process worth keeping
8695
- - You find an existing learning contradicted by the current code or docs`;
8690
+ **Reference:** \`references/LEARNINGS.md\``;
8696
8691
  var REFERENCE6 = `# Learnings
8697
8692
 
8698
- Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules. Some entries always apply; contextual entries are retrieved by matching your query against their trigger descriptions.
8699
-
8700
- ## Reading Learnings
8701
-
8702
- \`\`\`bash
8703
- replicas learnings read --query "<enriched query>"
8704
- \`\`\`
8705
-
8706
- **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.
8707
-
8708
- **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.
8709
-
8710
- Example: the user asks "remove the PRs chart projections". After locating the chart you know it lives in the platform admin dashboard, so query:
8711
-
8712
- \`\`\`bash
8713
- replicas learnings read --query "Remove the PRs chart in the platform admin dashboard"
8714
- \`\`\`
8715
-
8716
- This matches a learning triggered on "UI/UX work on the admin panel" that the raw request would have missed.
8717
-
8718
- Output is a list of blocks \u2014 id, name, and content. Use the ids to propose updates or deletions.
8719
-
8720
- ## Proposing changes
8693
+ Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules.
8721
8694
 
8722
8695
  All writes are proposals: a human reviews them in the dashboard, and nothing takes effect until approved.
8723
8696
 
8724
- \`\`\`bash
8725
- replicas learnings add --name "<short name>" --content "<the knowledge>" [--trigger "<when to surface it>"] [--always] [--global]
8726
- replicas learnings update <id> [--name "..."] [--content "..."] [--trigger "..."] [--always true|false]
8727
- replicas learnings delete <id>
8728
- \`\`\`
8729
-
8730
- \`--always\` marks an entry as always-returned (no trigger needed); \`--global\` proposes org-wide scope instead of this workspace's environment.
8697
+ 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.
8731
8698
 
8732
8699
  **Be very conservative:**
8733
- - Propose \`add\` only for durable, org-useful facts: explicit user corrections, hard-won environment or process knowledge.
8700
+ - Propose \`add\` only for repeatable, org-useful facts likely to matter again: explicit user corrections, hard-won environment or process knowledge.
8734
8701
  - Never store task-specific details, anything derivable by reading the repo, or secrets/credentials.
8735
- - Propose \`update\` or \`delete\` when a learning is contradicted by the current code or docs \u2014 flag outdated knowledge instead of silently ignoring it.
8702
+ - 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.
8736
8703
  - Write narrow triggers describing when the entry should surface (e.g. "UI/UX work on the admin panel"), not vague topics.`;
8737
8704
  var LEARNINGS_ABILITY = {
8738
8705
  label: "Learnings",
8739
- description: "Fetch curated org knowledge and propose new learnings for human review.",
8740
- bullet: "- Fetching organization Learnings (curated, human-approved knowledge) before executing, or proposing new ones",
8706
+ description: "Propose changes to curated org knowledge for human review.",
8707
+ bullet: "- Proposing changes to organization Learnings (curated, human-approved knowledge)",
8741
8708
  section: SECTION6,
8742
8709
  referenceFile: { name: "LEARNINGS.md", content: REFERENCE6 }
8743
8710
  };
@@ -9625,7 +9592,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
9625
9592
  var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
9626
9593
 
9627
9594
  // ../shared/src/cli-version.ts
9628
- var CLI_VERSION = "0.2.343";
9595
+ var CLI_VERSION = "0.2.344";
9629
9596
 
9630
9597
  // ../shared/src/engine/environment.ts
9631
9598
  var DESKTOP_NOVNC_PORT = 6080;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.343",
3
+ "version": "0.2.344",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {