replicas-cli 0.2.343 → 0.2.345
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/index.mjs +21 -45
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7667,7 +7667,10 @@ var CLAUDE_OPUS_4_8_BEDROCK_MODEL = "us.anthropic.claude-opus-4-8";
|
|
|
7667
7667
|
var CLAUDE_SONNET_5_BEDROCK_MODEL = "anthropic.claude-sonnet-5";
|
|
7668
7668
|
var CLAUDE_HAIKU_4_5_BEDROCK_MODEL = "us.anthropic.claude-haiku-4-5-20251001-v1:0";
|
|
7669
7669
|
var DEFAULT_CLAUDE_MODEL = CLAUDE_OPUS_4_8_MODEL;
|
|
7670
|
-
var
|
|
7670
|
+
var GPT_5_6_SOL_MODEL = "gpt-5.6-sol";
|
|
7671
|
+
var GPT_5_6_TERRA_MODEL = "gpt-5.6-terra";
|
|
7672
|
+
var GPT_5_6_LUNA_MODEL = "gpt-5.6-luna";
|
|
7673
|
+
var DEFAULT_CODEX_MODEL = GPT_5_6_SOL_MODEL;
|
|
7671
7674
|
var DEFAULT_OPENCODE_MODEL = "z-ai/glm-5.2";
|
|
7672
7675
|
function normalizeClaudeModel(model) {
|
|
7673
7676
|
if (model === "opus" || model === CLAUDE_OPUS_1M_MODEL || model === LEGACY_CLAUDE_OPUS_1M_MODEL) {
|
|
@@ -7701,10 +7704,13 @@ var CLAUDE_MODEL_CONTEXT_WINDOWS = {
|
|
|
7701
7704
|
};
|
|
7702
7705
|
var AGENT_MODELS = {
|
|
7703
7706
|
claude: [CLAUDE_FABLE_5_MODEL, DEFAULT_CLAUDE_MODEL, CLAUDE_SONNET_5_MODEL, CLAUDE_HAIKU_4_5_MODEL],
|
|
7704
|
-
codex: [DEFAULT_CODEX_MODEL, "gpt-5.
|
|
7707
|
+
codex: [DEFAULT_CODEX_MODEL, GPT_5_6_TERRA_MODEL, GPT_5_6_LUNA_MODEL, "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.2"],
|
|
7705
7708
|
cursor: [
|
|
7706
7709
|
CLAUDE_FABLE_5_MODEL,
|
|
7707
7710
|
CLAUDE_OPUS_4_8_MODEL,
|
|
7711
|
+
GPT_5_6_SOL_MODEL,
|
|
7712
|
+
GPT_5_6_TERRA_MODEL,
|
|
7713
|
+
GPT_5_6_LUNA_MODEL,
|
|
7708
7714
|
"gpt-5.5",
|
|
7709
7715
|
"composer-2.5",
|
|
7710
7716
|
CLAUDE_SONNET_5_MODEL,
|
|
@@ -7738,7 +7744,10 @@ var MODEL_LABELS = {
|
|
|
7738
7744
|
[CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
|
|
7739
7745
|
[LEGACY_CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
|
|
7740
7746
|
haiku: "Haiku 4.5",
|
|
7741
|
-
[
|
|
7747
|
+
[GPT_5_6_SOL_MODEL]: "GPT-5.6 Sol",
|
|
7748
|
+
[GPT_5_6_TERRA_MODEL]: "GPT-5.6 Terra",
|
|
7749
|
+
[GPT_5_6_LUNA_MODEL]: "GPT-5.6 Luna",
|
|
7750
|
+
"gpt-5.5": "GPT-5.5",
|
|
7742
7751
|
[DEFAULT_OPENCODE_MODEL]: "GLM 5.2 via OpenRouter",
|
|
7743
7752
|
"minimax/minimax-m3": "MiniMax M3 via OpenRouter",
|
|
7744
7753
|
"xiaomi/mimo-v2.5-pro": "MiMo V2.5 Pro via OpenRouter",
|
|
@@ -8685,59 +8694,26 @@ var GOOGLE_ABILITY = {
|
|
|
8685
8694
|
|
|
8686
8695
|
// ../shared/src/default-skills/replicas-agent/abilities/learnings.ts
|
|
8687
8696
|
var SECTION6 = `### Learnings
|
|
8688
|
-
|
|
8697
|
+
Propose additions, updates, or deletions to curated organization knowledge.
|
|
8689
8698
|
|
|
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`;
|
|
8699
|
+
**Reference:** \`references/LEARNINGS.md\``;
|
|
8696
8700
|
var REFERENCE6 = `# Learnings
|
|
8697
8701
|
|
|
8698
|
-
Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules.
|
|
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
|
|
8702
|
+
Learnings are curated, human-approved knowledge entries your organization maintains: conventions, gotchas, environment facts, and process rules.
|
|
8721
8703
|
|
|
8722
8704
|
All writes are proposals: a human reviews them in the dashboard, and nothing takes effect until approved.
|
|
8723
8705
|
|
|
8724
|
-
|
|
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.
|
|
8706
|
+
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
8707
|
|
|
8732
8708
|
**Be very conservative:**
|
|
8733
|
-
- Propose \`add\` only for
|
|
8709
|
+
- Propose \`add\` only for repeatable, org-useful facts likely to matter again: explicit user corrections, hard-won environment or process knowledge.
|
|
8734
8710
|
- 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
|
|
8711
|
+
- 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
8712
|
- Write narrow triggers describing when the entry should surface (e.g. "UI/UX work on the admin panel"), not vague topics.`;
|
|
8737
8713
|
var LEARNINGS_ABILITY = {
|
|
8738
8714
|
label: "Learnings",
|
|
8739
|
-
description: "
|
|
8740
|
-
bullet: "-
|
|
8715
|
+
description: "Propose changes to curated org knowledge for human review.",
|
|
8716
|
+
bullet: "- Proposing changes to organization Learnings (curated, human-approved knowledge)",
|
|
8741
8717
|
section: SECTION6,
|
|
8742
8718
|
referenceFile: { name: "LEARNINGS.md", content: REFERENCE6 }
|
|
8743
8719
|
};
|
|
@@ -9625,7 +9601,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
9625
9601
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
9626
9602
|
|
|
9627
9603
|
// ../shared/src/cli-version.ts
|
|
9628
|
-
var CLI_VERSION = "0.2.
|
|
9604
|
+
var CLI_VERSION = "0.2.345";
|
|
9629
9605
|
|
|
9630
9606
|
// ../shared/src/engine/environment.ts
|
|
9631
9607
|
var DESKTOP_NOVNC_PORT = 6080;
|