archymedes-cli 2.5.0 → 3.0.0

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.
@@ -116,9 +116,9 @@ function assertTurnTransition(from, to) {
116
116
  throw new Error(`Illegal Archymedes turn transition: ${from} -> ${to}`);
117
117
  }
118
118
  var SENSITIVE_KEY = /(authorization|cookie|credential|password|private.?key|secret|token)/i;
119
- var SECRET_ASSIGNMENT = /((?:[A-Za-z0-9_]*(?:api[_-]?key|access[_-]?key(?:_id)?|authorization|credential|password|passwd|private[_-]?key|secret|token)[A-Za-z0-9_]*)\s*[:=]\s*)([^\s,;]+)/gi;
119
+ var SECRET_ASSIGNMENT = /(?<![A-Za-z0-9_])((?:[A-Za-z0-9_]*(?:api[_-]?key|access[_-]?key(?:_id)?|authorization|credential|password|passwd|private[_-]?key|secret|token)[A-Za-z0-9_]*)\s*[:=]\s*)([^\s,;]+)/gi;
120
120
  var PRIVATE_KEY_BLOCK = /-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----[\s\S]*?-----END (?:RSA |EC |OPENSSH )?PRIVATE KEY-----/g;
121
- var AUTHENTICATED_URL = /([a-z][a-z0-9+.-]*:\/\/)([^/\s:@]+):([^@\s/]+)@/gi;
121
+ var AUTHENTICATED_URL = /([a-z][a-z0-9+.-]{0,31}:\/\/)([^/\s:@]+):([^@\s/]+)@/gi;
122
122
  function redactJournalString(value) {
123
123
  return value.replace(PRIVATE_KEY_BLOCK, "[REDACTED PRIVATE KEY]").replace(AUTHENTICATED_URL, "$1[REDACTED]@").replace(SECRET_ASSIGNMENT, "$1[REDACTED]");
124
124
  }
@@ -15,7 +15,7 @@ import {
15
15
  rgbTo256,
16
16
  roleCode,
17
17
  visibleWidth
18
- } from "./archymedes-130jt0wr.mjs";
18
+ } from "./archymedes-y64yssbc.mjs";
19
19
 
20
20
  // packages/archymedes-cli/src/terminal/output.ts
21
21
  var terminalStream = {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SpringAnimator,
3
3
  paginator
4
- } from "./archymedes-5vhvv8kr.mjs";
4
+ } from "./archymedes-qsrxyhb3.mjs";
5
5
  import {
6
6
  UNICODE_GLYPHS,
7
7
  clipTo,
8
8
  visibleWidth
9
- } from "./archymedes-130jt0wr.mjs";
9
+ } from "./archymedes-y64yssbc.mjs";
10
10
 
11
11
  // packages/archymedes-cli/src/ui/chooser.ts
12
12
  var ALL_CHROME = { title: true, status: true, pagination: true, help: true };
@@ -89,6 +89,24 @@ var ARCHYMEDES = `
89
89
  --border-focus: #e7bb78;
90
90
  }
91
91
  `;
92
+ var ARCHYMEDES_BLUE = `
93
+ /* Solarized Dark with an Archymedes-blue line — calm, high-contrast hues; the default. */
94
+ @theme archymedes-blue {
95
+ --primary: #268bd2;
96
+ --secondary: #2aa198;
97
+ --accent: #b58900;
98
+ --bg: #002b36;
99
+ --surface: #073642;
100
+ --text: #93a1a1;
101
+ --text-muted: #657b83;
102
+ --success: #859900;
103
+ --warning: #cb4b16;
104
+ --error: #dc322f;
105
+ --border: round;
106
+ --border-color: #586e75;
107
+ --border-focus: #268bd2;
108
+ }
109
+ `;
92
110
  var RAINBOW = `
93
111
  /* Every hue at once — the opening art and the thinking spinner sweep the full spectrum. */
94
112
  @theme rainbow {
@@ -108,6 +126,7 @@ var RAINBOW = `
108
126
  }
109
127
  `;
110
128
  var BUILTIN_THEME_SOURCES = {
129
+ "archymedes-blue": ARCHYMEDES_BLUE,
111
130
  archymedes: ARCHYMEDES,
112
131
  blueprint: BLUEPRINT,
113
132
  parchment: PARCHMENT,
@@ -115,7 +134,7 @@ var BUILTIN_THEME_SOURCES = {
115
134
  "high-contrast": HIGH_CONTRAST,
116
135
  rainbow: RAINBOW
117
136
  };
118
- var DEFAULT_THEME_NAME = "archymedes";
137
+ var DEFAULT_THEME_NAME = "archymedes-blue";
119
138
  var NAMED_COLORS = {
120
139
  black: 0,
121
140
  red: 1,
@@ -1228,4 +1247,4 @@ function highlightSyntax(line, options) {
1228
1247
  return `${out}${RESET}`;
1229
1248
  }
1230
1249
 
1231
- export { RESET, BOLD, DIM, ITALIC, STRIKE, REVERSE, paint, paintAll, UNICODE_GLYPHS, ASCII_GLYPHS, borderGlyphsFor, resolveGlyphs, visibleWidth, clipTo, BUILTIN_THEME_SOURCES, parseColor, rgbTo256, colorCode, rainbowHex, rainbowText, parseThemeSource, builtinThemes, EXTERNAL_MARK, ANSI_PALETTE, roleCode, NO_COLOR_PALETTE, parseThemeCommand, newSyntaxState, codeStyleFromEnvironment, setCodeStyle, codeStyle, highlightSyntax, currentScreenCapabilities, explainScreenRefusal, exitTopTermUIApp, withFullScreen };
1250
+ export { BUILTIN_THEME_SOURCES, parseColor, rgbTo256, colorCode, rainbowHex, rainbowText, parseThemeSource, builtinThemes, EXTERNAL_MARK, ANSI_PALETTE, roleCode, NO_COLOR_PALETTE, parseThemeCommand, RESET, BOLD, DIM, ITALIC, STRIKE, REVERSE, paint, paintAll, UNICODE_GLYPHS, ASCII_GLYPHS, borderGlyphsFor, resolveGlyphs, visibleWidth, clipTo, newSyntaxState, codeStyleFromEnvironment, setCodeStyle, codeStyle, highlightSyntax, currentScreenCapabilities, explainScreenRefusal, exitTopTermUIApp, withFullScreen };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  diffLines,
3
3
  languageOf
4
- } from "./archymedes-2kvjaajw.mjs";
5
- import"./archymedes-bmtdqqwt.mjs";
4
+ } from "./archymedes-hf7kq83m.mjs";
5
+ import"./archymedes-2emwtckp.mjs";
6
6
  import {
7
7
  NO_COLOR_PALETTE,
8
8
  exitTopTermUIApp
9
- } from "./archymedes-130jt0wr.mjs";
9
+ } from "./archymedes-y64yssbc.mjs";
10
10
  import {
11
11
  __require
12
12
  } from "./archymedes-x67v3n58.mjs";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  windowStart
3
- } from "./archymedes-a3ms7jvr.mjs";
3
+ } from "./archymedes-v1ydhsp9.mjs";
4
4
  import {
5
5
  joinHorizontal,
6
6
  padToWidth,
7
7
  paginator
8
- } from "./archymedes-5vhvv8kr.mjs";
8
+ } from "./archymedes-qsrxyhb3.mjs";
9
9
  import {
10
10
  NO_COLOR_PALETTE,
11
11
  UNICODE_GLYPHS,
12
12
  exitTopTermUIApp
13
- } from "./archymedes-130jt0wr.mjs";
13
+ } from "./archymedes-y64yssbc.mjs";
14
14
  import {
15
15
  __require
16
16
  } from "./archymedes-x67v3n58.mjs";
@@ -4,20 +4,20 @@ import {
4
4
  newViewport,
5
5
  visibleLines,
6
6
  wrapText
7
- } from "./archymedes-d3azqkay.mjs";
7
+ } from "./archymedes-ebm17h2q.mjs";
8
8
  import {
9
9
  joinHorizontal,
10
10
  padToWidth,
11
11
  scrollIndicator,
12
12
  scrollPercent,
13
13
  sliceToWidth
14
- } from "./archymedes-5vhvv8kr.mjs";
15
- import"./archymedes-bmtdqqwt.mjs";
14
+ } from "./archymedes-qsrxyhb3.mjs";
15
+ import"./archymedes-2emwtckp.mjs";
16
16
  import {
17
17
  NO_COLOR_PALETTE,
18
18
  exitTopTermUIApp,
19
19
  visibleWidth
20
- } from "./archymedes-130jt0wr.mjs";
20
+ } from "./archymedes-y64yssbc.mjs";
21
21
  import {
22
22
  __require
23
23
  } from "./archymedes-x67v3n58.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  eventJournalPath,
3
3
  readEventJournal
4
- } from "./archymedes-w4bjfye7.mjs";
4
+ } from "./archymedes-qm9bwbe7.mjs";
5
5
  import {
6
6
  __require
7
7
  } from "./archymedes-x67v3n58.mjs";
@@ -2,12 +2,12 @@ import {
2
2
  applyAction,
3
3
  composeFrame,
4
4
  keyToAction
5
- } from "./archymedes-138genyy.mjs";
6
- import"./archymedes-5vhvv8kr.mjs";
7
- import"./archymedes-bmtdqqwt.mjs";
5
+ } from "./archymedes-e8vb7ty3.mjs";
6
+ import"./archymedes-qsrxyhb3.mjs";
7
+ import"./archymedes-2emwtckp.mjs";
8
8
  import {
9
9
  exitTopTermUIApp
10
- } from "./archymedes-130jt0wr.mjs";
10
+ } from "./archymedes-y64yssbc.mjs";
11
11
  import {
12
12
  __require
13
13
  } from "./archymedes-x67v3n58.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archymedes-cli",
3
- "version": "2.5.0",
3
+ "version": "3.0.0",
4
4
  "description": "Archymedes CLI — a coding agent that shows its work. Runs against your working tree or an isolated remote sandbox, with guarded approvals, git checkpoints, and exact, measured cost accounting.",
5
5
  "keywords": [
6
6
  "cli",
@@ -25,9 +25,10 @@
25
25
  "homepage": "https://github.com/chrisnkuno/archymedes-cli/tree/main/packages/archymedes-cli#readme",
26
26
  "type": "module",
27
27
  "bin": {
28
- "archymedes": "dist/archymedes.mjs"
28
+ "archymedes": "bin/archymedes.mjs"
29
29
  },
30
30
  "files": [
31
+ "bin",
31
32
  "dist",
32
33
  "README.md",
33
34
  "LICENSE",
@@ -50,6 +51,12 @@
50
51
  "@termuijs/widgets": "0.1.7"
51
52
  },
52
53
  "optionalDependencies": {
54
+ "@archymedes/cli-darwin-arm64": "3.0.0",
55
+ "@archymedes/cli-darwin-x64": "3.0.0",
56
+ "@archymedes/cli-linux-arm64": "3.0.0",
57
+ "@archymedes/cli-linux-x64": "3.0.0",
58
+ "@archymedes/cli-win32-arm64": "3.0.0",
59
+ "@archymedes/cli-win32-x64": "3.0.0",
53
60
  "@archymedes/state-darwin-arm64": "0.4.0",
54
61
  "@archymedes/state-darwin-x64": "0.4.0",
55
62
  "@archymedes/state-linux-arm64-gnu": "0.4.0",