atris 3.30.12 → 3.32.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.
- package/AGENTS.md +16 -3
- package/FOR_AGENTS.md +81 -0
- package/README.md +6 -4
- package/atris/CLAUDE.md +8 -0
- package/atris/atris.md +51 -19
- package/atris/skills/README.md +1 -0
- package/atris/skills/blocks/SKILL.md +134 -0
- package/atris/skills/clawhub/philosophy-of-work/SKILL.md +56 -0
- package/atris/skills/youtube/SKILL.md +31 -11
- package/atris.md +15 -0
- package/ax +189 -7
- package/bin/atris.js +273 -225
- package/commands/autoland.js +379 -0
- package/commands/autopilot-front.js +273 -0
- package/commands/autopilot.js +94 -4
- package/commands/business.js +1 -1
- package/commands/clean.js +72 -9
- package/commands/codex-goal.js +72 -22
- package/commands/computer.js +48 -3
- package/commands/gm.js +1 -1
- package/commands/harvest.js +179 -0
- package/commands/init.js +22 -1
- package/commands/land.js +442 -0
- package/commands/loop-front.js +122 -4
- package/commands/member.js +551 -19
- package/commands/mission.js +3674 -278
- package/commands/play.js +1 -1
- package/commands/pulse.js +65 -7
- package/commands/run-front.js +144 -0
- package/commands/run.js +10 -7
- package/commands/sign.js +90 -0
- package/commands/strings.js +301 -0
- package/commands/task.js +782 -108
- package/commands/truth.js +171 -0
- package/commands/xp.js +32 -8
- package/commands/youtube.js +72 -5
- package/decks/README.md +6 -12
- package/lib/auto-accept-certified.js +10 -0
- package/lib/autoland.js +391 -0
- package/lib/context-gatherer.js +0 -8
- package/lib/mission-artifact.js +504 -0
- package/lib/mission-room.js +846 -0
- package/lib/next-moves.js +212 -6
- package/lib/operator-next.js +7 -0
- package/lib/pulse.js +78 -4
- package/lib/runner-command.js +51 -20
- package/lib/runs-prune.js +242 -0
- package/lib/task-db.js +19 -2
- package/lib/task-proof.js +1 -1
- package/package.json +4 -4
- package/decks/atris-seed-pitch-v3.json +0 -118
- package/decks/atris-seed-pitch-v4-skeleton.json +0 -106
- package/decks/atris-seed-pitch-v5.json +0 -109
- package/decks/atris-seed-pitch-v6.json +0 -137
- package/decks/atris-seed-pitch-v7.json +0 -133
- package/decks/mark-pincus-narrative.json +0 -102
- package/decks/mark-pincus-sourcery.json +0 -94
- package/decks/yash-applied-compute-detailed.json +0 -150
- package/decks/yash-applied-compute-generalist.json +0 -82
- package/decks/yash-applied-compute-narrative.json +0 -54
- package/lib/ax-chat-input.js +0 -164
- package/lib/ax-goal.js +0 -307
- package/lib/ax-prefs.js +0 -63
- package/lib/ax-shimmer.js +0 -63
package/lib/ax-shimmer.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
const ANSI = {
|
|
2
|
-
reset: '\x1b[0m',
|
|
3
|
-
dim: '\x1b[2m',
|
|
4
|
-
muted: '\x1b[90m',
|
|
5
|
-
white: '\x1b[37m',
|
|
6
|
-
bright: '\x1b[97m',
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
function useColor(options = {}) {
|
|
10
|
-
if (options.color === false) return false;
|
|
11
|
-
if (process.env.NO_COLOR) return false;
|
|
12
|
-
return Boolean(options.color || options.isTTY);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function paint(text, codes, options = {}) {
|
|
16
|
-
if (!useColor(options)) return String(text);
|
|
17
|
-
const styles = codes.filter(Boolean);
|
|
18
|
-
if (!styles.length) return String(text);
|
|
19
|
-
return `${styles.join('')}${text}${ANSI.reset}`;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const SHIMMER_TICK_STEP = 0.44;
|
|
23
|
-
|
|
24
|
-
function shimmerStyleForDistance(dist) {
|
|
25
|
-
// Obelisk .shimmer-text: pure grayscale luminance sweep — no bold, no hue.
|
|
26
|
-
const t = Math.min(Math.max(dist, 0) / 3.4, 1);
|
|
27
|
-
if (t <= 0.2) return [ANSI.bright];
|
|
28
|
-
if (t <= 0.48) return [ANSI.white];
|
|
29
|
-
if (t <= 0.72) return [ANSI.muted];
|
|
30
|
-
return [ANSI.dim, ANSI.muted];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
function renderShimmerText(text, tick = 0, options = {}) {
|
|
34
|
-
const value = String(text || '');
|
|
35
|
-
if (!value) return '';
|
|
36
|
-
if (!useColor(options)) return value;
|
|
37
|
-
|
|
38
|
-
const len = Math.max(1, value.length);
|
|
39
|
-
const cycle = len + 12;
|
|
40
|
-
const head = (Number(tick) * SHIMMER_TICK_STEP) % cycle;
|
|
41
|
-
|
|
42
|
-
let out = '';
|
|
43
|
-
for (let i = 0; i < value.length; i += 1) {
|
|
44
|
-
const char = value[i];
|
|
45
|
-
if (char === ' ') {
|
|
46
|
-
out += ' ';
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
let dist = Math.abs(i - head);
|
|
50
|
-
if (dist > cycle / 2) dist = cycle - dist;
|
|
51
|
-
out += paint(char, shimmerStyleForDistance(dist), options);
|
|
52
|
-
}
|
|
53
|
-
return out;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
module.exports = {
|
|
57
|
-
ANSI,
|
|
58
|
-
SHIMMER_TICK_STEP,
|
|
59
|
-
paint,
|
|
60
|
-
renderShimmerText,
|
|
61
|
-
shimmerStyleForDistance,
|
|
62
|
-
useColor,
|
|
63
|
-
};
|