replicas-cli 0.2.732 → 0.2.734

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.cjs +2 -148
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -7701,8 +7701,6 @@ var AGENT = {
7701
7701
  CLAUDE: "claude",
7702
7702
  CODEX: "codex",
7703
7703
  CURSOR: "cursor",
7704
- FX: "fx",
7705
- KIMI: "kimi",
7706
7704
  MUSE: "muse",
7707
7705
  OPENCODE: "opencode",
7708
7706
  PI: "pi",
@@ -7745,16 +7743,6 @@ var AGENT_PROVIDER_OPTIONS = [
7745
7743
  label: "Cursor",
7746
7744
  description: "Use Cursor for tasks"
7747
7745
  },
7748
- {
7749
- value: "fx",
7750
- label: "fx",
7751
- description: "Use fx for tasks"
7752
- },
7753
- {
7754
- value: "kimi",
7755
- label: "Kimi Code",
7756
- description: "Use Kimi Code for tasks"
7757
- },
7758
7746
  {
7759
7747
  value: "muse",
7760
7748
  label: "Muse Code",
@@ -7782,8 +7770,6 @@ var THINKING_LEVELS_BY_AGENT = {
7782
7770
  claude: [...STANDARD_THINKING_LEVELS, "ultracode"],
7783
7771
  codex: [...STANDARD_THINKING_LEVELS, "ultra"],
7784
7772
  cursor: STANDARD_THINKING_LEVELS,
7785
- fx: STANDARD_THINKING_LEVELS,
7786
- kimi: STANDARD_THINKING_LEVELS,
7787
7773
  muse: VALID_THINKING_LEVELS.filter((level) => level !== "max" && level !== "ultracode"),
7788
7774
  opencode: STANDARD_THINKING_LEVELS,
7789
7775
  pi: STANDARD_THINKING_LEVELS,
@@ -7804,10 +7790,6 @@ function getProviderDisplayName(provider, variant = "short") {
7804
7790
  return "Codex";
7805
7791
  case "cursor":
7806
7792
  return "Cursor";
7807
- case "fx":
7808
- return "fx";
7809
- case "kimi":
7810
- return variant === "long" ? "Kimi Code" : "Kimi";
7811
7793
  case "muse":
7812
7794
  return variant === "long" ? "Muse Code" : "Muse";
7813
7795
  case "opencode":
@@ -7843,7 +7825,6 @@ var CREDENTIAL_METHOD = {
7843
7825
  OPENCODE_GO: "opencode-go",
7844
7826
  ASTER: "aster",
7845
7827
  OPENROUTER: "openrouter",
7846
- AI_GATEWAY: "ai-gateway",
7847
7828
  MUSE_OAUTH: "muse-oauth"
7848
7829
  };
7849
7830
  var CREDENTIAL_TYPE = {
@@ -7860,7 +7841,6 @@ var CREDENTIAL_TYPE = {
7860
7841
  OPENCODE_GO_API_KEY: "opencode_go_api_key",
7861
7842
  ASTER_API_KEY: "aster_api_key",
7862
7843
  OPENROUTER_API_KEY: "openrouter_api_key",
7863
- AI_GATEWAY_API_KEY: "ai_gateway_api_key",
7864
7844
  MUSE_OAUTH: "muse_oauth",
7865
7845
  MUSE_API_KEY: "muse_api_key"
7866
7846
  };
@@ -7888,13 +7868,6 @@ var AGENT_CREDENTIAL_METHODS_IN_ORDER = {
7888
7868
  [AGENT.CURSOR]: [
7889
7869
  { method: CREDENTIAL_METHOD.API_KEY, credentialType: CREDENTIAL_TYPE.CURSOR_API_KEY }
7890
7870
  ],
7891
- [AGENT.FX]: [
7892
- { method: CREDENTIAL_METHOD.AI_GATEWAY, credentialType: CREDENTIAL_TYPE.AI_GATEWAY_API_KEY }
7893
- ],
7894
- [AGENT.KIMI]: [
7895
- { method: CREDENTIAL_METHOD.AI_GATEWAY, credentialType: CREDENTIAL_TYPE.AI_GATEWAY_API_KEY },
7896
- { method: CREDENTIAL_METHOD.OLLAMA, credentialType: CREDENTIAL_TYPE.OLLAMA }
7897
- ],
7898
7871
  [AGENT.MUSE]: [
7899
7872
  { method: CREDENTIAL_METHOD.MUSE_OAUTH, credentialType: CREDENTIAL_TYPE.MUSE_OAUTH },
7900
7873
  { method: CREDENTIAL_METHOD.API_KEY, credentialType: CREDENTIAL_TYPE.MUSE_API_KEY }
@@ -22622,8 +22595,6 @@ var GLM_5_3_FLASH_MODEL = "z-ai/glm-5.3-flash";
22622
22595
  var OX_ALPHA_MODEL = "stealth/ox-alpha";
22623
22596
  var DEEPSEEK_V4_PRO_MODEL = "deepseek/deepseek-v4-pro-0813";
22624
22597
  var DEEPSEEK_V4_FLASH_MODEL = "deepseek/deepseek-v4-flash-0731";
22625
- var DEFAULT_FX_MODEL = "zai/glm-5.2";
22626
- var DEFAULT_KIMI_MODEL = "moonshotai/kimi-k2.6";
22627
22598
  var MUSE_SPARK_1_3_MODEL = "muse-spark-1.3";
22628
22599
  var DEFAULT_MUSE_MODEL = "muse-spark-1.2";
22629
22600
  var DEFAULT_OPENROUTER_MODELS = [
@@ -22722,8 +22693,6 @@ var AGENT_MODELS = {
22722
22693
  CLAUDE_HAIKU_4_5_MODEL,
22723
22694
  "kimi-k2.5"
22724
22695
  ],
22725
- fx: [DEFAULT_FX_MODEL],
22726
- kimi: [DEFAULT_KIMI_MODEL],
22727
22696
  muse: [MUSE_SPARK_1_3_MODEL, DEFAULT_MUSE_MODEL],
22728
22697
  opencode: [...DEFAULT_OPENROUTER_MODELS, ...ASTER_MODELS],
22729
22698
  pi: [...DEFAULT_OPENROUTER_MODELS, ...ASTER_MODELS],
@@ -25059,6 +25028,7 @@ var DEFAULT_USER_PREFERENCES = {
25059
25028
  auto_draft_prs: false,
25060
25029
  open_prs_in_graphite: false,
25061
25030
  open_links_in_desktop_app: false,
25031
+ memory_enabled: null,
25062
25032
  default_fast_mode: false,
25063
25033
  agent_defaults: { ...EMPTY_AGENT_DEFAULT_SETTINGS },
25064
25034
  fallback_chains: null
@@ -25788,116 +25758,6 @@ function parseCursorEvents(events) {
25788
25758
  return messages;
25789
25759
  }
25790
25760
 
25791
- // ../shared/src/display-message/parsers/acp-parser.ts
25792
- var FX_CONTEXT_DIAGNOSTIC = /^\[context\] skill catalog omitted .*?(?:\r?\n|$)/;
25793
- function getAcpTextChunk(update, kind) {
25794
- if (!isRecord(update) || update.sessionUpdate !== kind || !isRecord(update.content) || update.content.type !== "text") return null;
25795
- return typeof update.content.text === "string" && update.content.text.length > 0 ? update.content.text : null;
25796
- }
25797
- function isProviderEvent(event, provider, suffix) {
25798
- return event.type === `acp-${suffix}` && (event.payload.provider === void 0 || event.payload.provider === provider) || event.type === `${provider}-${suffix}`;
25799
- }
25800
- function parseAcpEvents(events, provider) {
25801
- const messages = [];
25802
- const activeChunks = {};
25803
- const inputState = { requests: /* @__PURE__ */ new Map(), resolutions: /* @__PURE__ */ new Map() };
25804
- let chunkSequence = 0;
25805
- for (const event of events) {
25806
- const userContent = getUserMessage(event);
25807
- if (userContent !== null) {
25808
- activeChunks.agent_message_chunk = void 0;
25809
- activeChunks.agent_thought_chunk = void 0;
25810
- if (userContent.trim()) {
25811
- messages.push({
25812
- id: getUserMessageId(event) ?? `${provider}-user-${event.timestamp}`,
25813
- type: "user",
25814
- content: userContent,
25815
- timestamp: event.timestamp
25816
- });
25817
- }
25818
- continue;
25819
- }
25820
- if (isProviderEvent(event, provider, "error")) {
25821
- messages.push({
25822
- id: `${provider}-error-${event.timestamp}`,
25823
- type: "error",
25824
- message: typeof event.payload.message === "string" ? event.payload.message : `${provider} failed`,
25825
- timestamp: event.timestamp
25826
- });
25827
- continue;
25828
- }
25829
- if (isProviderEvent(event, provider, "turn-complete")) {
25830
- for (const message of messages) {
25831
- if (message.type === "reasoning" && message.status === "in_progress") message.status = "completed";
25832
- }
25833
- activeChunks.agent_message_chunk = void 0;
25834
- activeChunks.agent_thought_chunk = void 0;
25835
- continue;
25836
- }
25837
- if (applyToolInputEvent(event, messages, provider, inputState)) continue;
25838
- if (!isProviderEvent(event, provider, "session-update") || !isRecord(event.payload.update)) continue;
25839
- const update = event.payload.update;
25840
- const kind = update.sessionUpdate;
25841
- if (kind === "agent_message_chunk" || kind === "agent_thought_chunk") {
25842
- const content = getAcpTextChunk(update, kind);
25843
- if (content === null) continue;
25844
- const explicitId = typeof update.messageId === "string" && update.messageId.length > 0 ? `${provider}-${kind}-${update.messageId}` : null;
25845
- const id = explicitId ?? activeChunks[kind] ?? `${provider}-${kind}-${chunkSequence++}`;
25846
- activeChunks[kind] = id;
25847
- const otherKind = kind === "agent_message_chunk" ? "agent_thought_chunk" : "agent_message_chunk";
25848
- if (!explicitId) activeChunks[otherKind] = void 0;
25849
- const existing = messages.find((message) => message.id === id);
25850
- const text = `${existing && "content" in existing && typeof existing.content === "string" ? existing.content : ""}${content}`.replace(provider === "fx" ? FX_CONTEXT_DIAGNOSTIC : /$^/, "");
25851
- if (!text) continue;
25852
- upsertDisplayMessage(messages, kind === "agent_thought_chunk" ? { id, type: "reasoning", content: text, status: "in_progress", timestamp: existing?.timestamp ?? event.timestamp } : { id, type: "agent", content: text, timestamp: existing?.timestamp ?? event.timestamp });
25853
- continue;
25854
- }
25855
- activeChunks.agent_message_chunk = void 0;
25856
- activeChunks.agent_thought_chunk = void 0;
25857
- if ((kind === "tool_call" || kind === "tool_call_update") && typeof update.toolCallId === "string") {
25858
- const id = `${provider}-tool-${update.toolCallId}`;
25859
- const existing = messages.find((message) => message.id === id && message.type === "tool_call");
25860
- const status = update.status === "completed" || update.status === "failed" ? update.status === "failed" ? "failed" : "completed" : "in_progress";
25861
- const contentOutput = Array.isArray(update.content) && update.content.length > 0 ? stringifyDisplayValue(update.content) : void 0;
25862
- upsertDisplayMessage(messages, createCallDisplayMessage({
25863
- id,
25864
- server: provider,
25865
- tool: typeof update.name === "string" && update.name ? update.name : typeof update.title === "string" && update.title ? update.title : existing?.tool ?? (typeof update.kind === "string" ? update.kind : "tool"),
25866
- input: update.rawInput === void 0 ? existing?.input : isRecord(update.rawInput) ? update.rawInput : stringifyDisplayValue(update.rawInput),
25867
- output: update.rawOutput === void 0 ? contentOutput ?? existing?.output : stringifyDisplayValue(update.rawOutput),
25868
- status,
25869
- timestamp: existing?.timestamp ?? event.timestamp
25870
- }));
25871
- continue;
25872
- }
25873
- const plan = kind === "plan" ? update : isRecord(update.plan) ? update.plan : void 0;
25874
- if ((kind === "plan" || kind === "plan_update") && plan && Array.isArray(plan.entries)) {
25875
- const items = plan.entries.flatMap((entry) => {
25876
- if (!isRecord(entry) || typeof entry.content !== "string") return [];
25877
- const itemStatus = entry.status === "completed" || entry.status === "in_progress" ? entry.status : "pending";
25878
- return [{
25879
- text: entry.content,
25880
- completed: entry.status === "completed",
25881
- itemStatus
25882
- }];
25883
- });
25884
- upsertDisplayMessage(messages, {
25885
- id: `${provider}-plan-${typeof plan.planId === "string" ? plan.planId : "current"}`,
25886
- type: "todo_list",
25887
- items,
25888
- status: items.every((item) => item.completed) ? "completed" : "in_progress",
25889
- timestamp: event.timestamp
25890
- });
25891
- }
25892
- }
25893
- return messages;
25894
- }
25895
-
25896
- // ../shared/src/display-message/parsers/fx-parser.ts
25897
- function parseFxEvents(events) {
25898
- return parseAcpEvents(events, "fx");
25899
- }
25900
-
25901
25761
  // ../shared/src/errors.ts
25902
25762
  var TRANSIENT_NETWORK_ERROR_PATTERNS = [
25903
25763
  /socket connection was closed unexpectedly/,
@@ -26982,12 +26842,6 @@ function parseAgentEvents(events, agentType) {
26982
26842
  if (agentType === "cursor") {
26983
26843
  return parseCursorEvents(events);
26984
26844
  }
26985
- if (agentType === "fx") {
26986
- return parseFxEvents(events);
26987
- }
26988
- if (agentType === "kimi") {
26989
- return parseAcpEvents(events, "kimi");
26990
- }
26991
26845
  if (agentType === "muse") {
26992
26846
  return parseMuseEvents(events);
26993
26847
  }
@@ -27261,7 +27115,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
27261
27115
  });
27262
27116
 
27263
27117
  // ../shared/src/cli-version.ts
27264
- var CLI_VERSION = "0.2.732";
27118
+ var CLI_VERSION = "0.2.734";
27265
27119
 
27266
27120
  // ../shared/src/version.ts
27267
27121
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.732",
3
+ "version": "0.2.734",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {