archymedes-cli 2.6.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-s4qcy0q4.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-kn6wtq32.mjs";
4
+ } from "./archymedes-qsrxyhb3.mjs";
5
5
  import {
6
6
  UNICODE_GLYPHS,
7
7
  clipTo,
8
8
  visibleWidth
9
- } from "./archymedes-s4qcy0q4.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 };
@@ -1247,4 +1247,4 @@ function highlightSyntax(line, options) {
1247
1247
  return `${out}${RESET}`;
1248
1248
  }
1249
1249
 
1250
- 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-zvcs68bv.mjs";
5
- import"./archymedes-twanftqk.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-s4qcy0q4.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-1jcn326m.mjs";
3
+ } from "./archymedes-v1ydhsp9.mjs";
4
4
  import {
5
5
  joinHorizontal,
6
6
  padToWidth,
7
7
  paginator
8
- } from "./archymedes-kn6wtq32.mjs";
8
+ } from "./archymedes-qsrxyhb3.mjs";
9
9
  import {
10
10
  NO_COLOR_PALETTE,
11
11
  UNICODE_GLYPHS,
12
12
  exitTopTermUIApp
13
- } from "./archymedes-s4qcy0q4.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-086xsz64.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-kn6wtq32.mjs";
15
- import"./archymedes-twanftqk.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-s4qcy0q4.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-t1jtzkmp.mjs";
6
- import"./archymedes-kn6wtq32.mjs";
7
- import"./archymedes-twanftqk.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-s4qcy0q4.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.6.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",