replicas-cli 0.2.440 → 0.2.442

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 +16 -16
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10049,7 +10049,7 @@ var AGENT_CREDENTIAL_METHODS_IN_ORDER = {
10049
10049
  };
10050
10050
 
10051
10051
  // ../shared/src/cli-version.ts
10052
- var CLI_VERSION = "0.2.440";
10052
+ var CLI_VERSION = "0.2.442";
10053
10053
 
10054
10054
  // ../shared/src/version.ts
10055
10055
  function compareVersions(v1, v2) {
@@ -24923,21 +24923,6 @@ function normalizeBackgroundTaskStatus(status) {
24923
24923
  // ../shared/src/display-message/constants.ts
24924
24924
  var USER_MESSAGE_MATCH_GRACE_PERIOD_MS = 3e4;
24925
24925
 
24926
- // ../shared/src/display-message/format.ts
24927
- function formatStoppedAfter(durationMs) {
24928
- if (durationMs === void 0) return "You stopped";
24929
- return `You stopped after ${formatTurnElapsed(durationMs)}`;
24930
- }
24931
-
24932
- // ../shared/src/user-message-matching.ts
24933
- function parseTimestampMs(timestamp) {
24934
- const value = Date.parse(timestamp);
24935
- return Number.isFinite(value) ? value : 0;
24936
- }
24937
- function areUserMessagesWithinMatchWindow(a, b) {
24938
- return a.content === b.content && Math.abs(parseTimestampMs(a.timestamp) - parseTimestampMs(b.timestamp)) <= USER_MESSAGE_MATCH_GRACE_PERIOD_MS;
24939
- }
24940
-
24941
24926
  // ../shared/src/display-message/parsers/utils.ts
24942
24927
  var INTERRUPTED_MESSAGE_REGEX = /^\[Request interrupted by user.*\]$/;
24943
24928
  function userMessageImages(value) {
@@ -24955,6 +24940,21 @@ function stringifyDisplayValue(value) {
24955
24940
  }
24956
24941
  }
24957
24942
 
24943
+ // ../shared/src/display-message/format.ts
24944
+ function formatStoppedAfter(durationMs) {
24945
+ if (durationMs === void 0) return "You stopped";
24946
+ return `You stopped after ${formatTurnElapsed(durationMs)}`;
24947
+ }
24948
+
24949
+ // ../shared/src/user-message-matching.ts
24950
+ function parseTimestampMs(timestamp) {
24951
+ const value = Date.parse(timestamp);
24952
+ return Number.isFinite(value) ? value : 0;
24953
+ }
24954
+ function areUserMessagesWithinMatchWindow(a, b) {
24955
+ return a.content === b.content && Math.abs(parseTimestampMs(a.timestamp) - parseTimestampMs(b.timestamp)) <= USER_MESSAGE_MATCH_GRACE_PERIOD_MS;
24956
+ }
24957
+
24958
24958
  // ../shared/src/json.ts
24959
24959
  function safeJsonParse(str, fallback) {
24960
24960
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.440",
3
+ "version": "0.2.442",
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": {