@namzu/cli 33.1.0 → 33.1.1
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/CHANGELOG.md +6 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/App.js +5 -1
- package/dist/tui/App.js.map +1 -1
- package/dist/tui/ComposerFrame.d.ts +6 -8
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.js +55 -12
- package/dist/tui/ComposerFrame.js.map +1 -1
- package/dist/tui/hypermode.d.ts +1 -1
- package/dist/tui/hypermode.d.ts.map +1 -1
- package/dist/tui/hypermode.js +1 -1
- package/dist/tui/hypermode.js.map +1 -1
- package/dist/tui/theme.d.ts +5 -6
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/theme.js +3 -4
- package/dist/tui/theme.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import type
|
|
2
|
-
/** Below this many columns the mode tag leaves the border whole; the footer still names the mode. */
|
|
3
|
-
export declare const COMPOSER_MODE_TAG_MIN_COLUMNS = 40;
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
4
2
|
/** A bounded command frame; its content stays mounted while another prompt owns focus. */
|
|
5
|
-
export declare function ComposerFrame({ focus, hidden, mode, children, }: {
|
|
3
|
+
export declare function ComposerFrame({ focus, hidden, mode, activation, animate, children, }: {
|
|
6
4
|
readonly focus: boolean;
|
|
7
5
|
readonly hidden?: boolean;
|
|
8
6
|
readonly working?: boolean;
|
|
9
7
|
readonly animate?: boolean;
|
|
10
8
|
/**
|
|
11
|
-
* A session mode
|
|
12
|
-
*
|
|
13
|
-
* gradient where colour is available, so the mode is visible where the
|
|
14
|
-
* operator is looking without spending a row.
|
|
9
|
+
* A session mode with a coloured top rule — today only `hypermode`. The
|
|
10
|
+
* footer names it once; the border never repeats the label.
|
|
15
11
|
*/
|
|
16
12
|
readonly mode?: string;
|
|
13
|
+
/** Increment only when the operator successfully turns the session mode on. */
|
|
14
|
+
readonly activation?: number;
|
|
17
15
|
readonly children: ReactNode;
|
|
18
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
19
17
|
//# sourceMappingURL=ComposerFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerFrame.d.ts","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ComposerFrame.d.ts","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAgBnE,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,EAC7B,KAAK,EACL,MAAc,EACd,IAAI,EACJ,UAAc,EACd,OAAc,EACd,QAAQ,GACR,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,+EAA+E;IAC/E,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC5B,2CA0EA"}
|
|
@@ -1,31 +1,74 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Text, useWindowSize } from 'ink';
|
|
2
|
+
import { Box, Text, useAnimation, useIsScreenReaderEnabled, useStdout, useWindowSize } from 'ink';
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
3
4
|
import { HYPERMODE_RULE_COLORS, theme } from './theme.js';
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
const HYPERMODE_RULE_MIN_COLUMNS = 40;
|
|
6
|
+
const HYPERMODE_IGNITION_MS = 1_200;
|
|
7
|
+
const HYPERMODE_IGNITION_COLORS = [
|
|
8
|
+
'ansi256(231)',
|
|
9
|
+
'ansi256(225)',
|
|
10
|
+
'ansi256(219)',
|
|
11
|
+
'ansi256(177)',
|
|
12
|
+
'ansi256(141)',
|
|
13
|
+
'ansi256(105)',
|
|
14
|
+
'ansi256(63)',
|
|
15
|
+
];
|
|
6
16
|
/** A bounded command frame; its content stays mounted while another prompt owns focus. */
|
|
7
|
-
export function ComposerFrame({ focus, hidden = false, mode, children, }) {
|
|
17
|
+
export function ComposerFrame({ focus, hidden = false, mode, activation = 0, animate = true, children, }) {
|
|
8
18
|
const terminal = useWindowSize();
|
|
19
|
+
const { stdout } = useStdout();
|
|
20
|
+
const screenReader = useIsScreenReaderEnabled();
|
|
9
21
|
const accent = focus ? theme.border.focus : theme.text.muted;
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
|
|
22
|
+
const gradient = mode !== undefined && (terminal.columns ?? 80) >= HYPERMODE_RULE_MIN_COLUMNS && colourAllowed();
|
|
23
|
+
const motion = animate && stdout.isTTY === true && !screenReader && gradient;
|
|
24
|
+
const [igniting, setIgniting] = useState(false);
|
|
25
|
+
const previousActivation = useRef(activation);
|
|
26
|
+
const { time, reset } = useAnimation({
|
|
27
|
+
isActive: igniting && motion && !hidden,
|
|
28
|
+
interval: 80,
|
|
29
|
+
});
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (previousActivation.current === activation)
|
|
32
|
+
return;
|
|
33
|
+
previousActivation.current = activation;
|
|
34
|
+
if (motion && !hidden) {
|
|
35
|
+
reset();
|
|
36
|
+
setIgniting(true);
|
|
37
|
+
}
|
|
38
|
+
else
|
|
39
|
+
setIgniting(false);
|
|
40
|
+
}, [activation, hidden, motion, reset]);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (igniting && (time >= HYPERMODE_IGNITION_MS || !motion || hidden))
|
|
43
|
+
setIgniting(false);
|
|
44
|
+
}, [hidden, igniting, motion, time]);
|
|
45
|
+
const ignitionTime = igniting && time < HYPERMODE_IGNITION_MS ? time : undefined;
|
|
46
|
+
return (_jsxs(Box, { position: "relative", flexDirection: "column", marginTop: hidden ? 0 : 1, children: [_jsxs(Box, { display: hidden ? 'none' : 'flex', height: 1, flexShrink: 0, children: [_jsx(Box, { flexShrink: 0, children: _jsx(Text, { color: accent, children: "\u250C" }) }), _jsx(Box, { minWidth: 0, children: _jsxs(Text, { color: accent, wrap: "truncate-end", children: ["\u2500 ", _jsx(Text, { bold: true, children: "MESSAGE" }), ' '] }) }), gradient ? (_jsx(GradientRule, { columns: terminal.columns ?? 80, ignitionTime: ignitionTime })) : (_jsx(Rule, {})), _jsx(Box, { flexShrink: 0, children: _jsx(Text, { color: accent, children: "\u2510" }) })] }), _jsx(Box, { flexDirection: "column", ...(hidden ? {} : { borderStyle: 'single' }), borderTop: false, borderBottom: false, borderLeft: !hidden, borderRight: !hidden, borderColor: theme.border.default, children: children }), _jsxs(Box, { display: hidden ? 'none' : 'flex', height: 1, flexShrink: 0, children: [_jsx(Box, { flexShrink: 0, children: _jsx(Text, { color: accent, children: "\u2514" }) }), _jsx(Box, { minWidth: 0, children: _jsx(Text, { color: accent, wrap: "truncate-end", children: "\u2500" }) }), _jsx(Rule, {}), _jsx(Box, { flexShrink: 0, children: _jsx(Text, { color: accent, children: "\u2518" }) })] })] }));
|
|
13
47
|
}
|
|
14
48
|
/** Yoga sizes the rule; a repeated text string would truncate with an ellipsis. */
|
|
15
49
|
function Rule() {
|
|
16
50
|
return (_jsx(Box, { flexGrow: 1, minWidth: 0, height: 1, borderStyle: "single", borderBottom: false, borderLeft: false, borderRight: false, borderColor: theme.border.default }));
|
|
17
51
|
}
|
|
18
52
|
/**
|
|
19
|
-
* The top rule in a
|
|
53
|
+
* The top rule in a colour run. Yoga still sizes it: the text is a run
|
|
20
54
|
* of `─` at least as long as the terminal is wide, hard-wrapped by the layout
|
|
21
55
|
* and clipped to one row, so no width is computed here that could disagree
|
|
22
56
|
* with the box's own.
|
|
23
57
|
*/
|
|
24
|
-
function GradientRule({ columns }) {
|
|
58
|
+
function GradientRule({ columns, ignitionTime, }) {
|
|
25
59
|
const cells = Math.max(1, columns);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
60
|
+
const sweep = ignitionTime === undefined
|
|
61
|
+
? null
|
|
62
|
+
: Math.floor((ignitionTime / HYPERMODE_IGNITION_MS) * (cells + 12)) - 6;
|
|
63
|
+
return (_jsx(Box, { flexGrow: 1, flexBasis: 0, minWidth: 0, height: 1, overflow: "hidden", children: _jsx(Text, { wrap: "wrap", children: Array.from({ length: cells }, (_, index) => {
|
|
64
|
+
const trail = sweep === null ? -1 : sweep - index;
|
|
65
|
+
const color = trail >= 0 && trail < HYPERMODE_IGNITION_COLORS.length
|
|
66
|
+
? HYPERMODE_IGNITION_COLORS[trail]
|
|
67
|
+
: HYPERMODE_RULE_COLORS[index % HYPERMODE_RULE_COLORS.length];
|
|
68
|
+
return (
|
|
69
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: one fixed cell per column; nothing reorders.
|
|
70
|
+
_jsx(Text, { color: color, children: "\u2500" }, index));
|
|
71
|
+
}) }) }));
|
|
29
72
|
}
|
|
30
73
|
/** The gradient is decoration; wherever colour is refused, the plain rule is drawn instead. */
|
|
31
74
|
function colourAllowed() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerFrame.js","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"ComposerFrame.js","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EA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;oBAClC,CAAC,CAAC,qBAAqB,CAAC,KAAK,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAA;gBAC/D,OAAO;gBACN,6FAA6F;gBAC7F,KAAC,IAAI,IAAa,KAAK,EAAE,KAAK,wBAAnB,KAAK,CAET,CACP,CAAA;YACF,CAAC,CAAC,GACI,GACF,CACN,CAAA;AACF,CAAC;AAED,+FAA+F;AAC/F,SAAS,aAAa;IACrB,OAAO,CACN,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,SAAS;QAClC,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,GAAG;QAC/B,OAAO,CAAC,GAAG,CAAC,IAAI,KAAK,MAAM,CAC3B,CAAA;AACF,CAAC"}
|
package/dist/tui/hypermode.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* terminal's word for that phased multi-agent work.
|
|
11
11
|
*/
|
|
12
12
|
import type { ReasoningEffort } from '@namzu/sdk';
|
|
13
|
-
/** The mode's name wherever the operator reads it: footer
|
|
13
|
+
/** The mode's name wherever the operator reads it: footer and picker. */
|
|
14
14
|
export declare const HYPERMODE = "hypermode";
|
|
15
15
|
/** The one-line description the effort picker shows for the hypermode stop. */
|
|
16
16
|
export declare const HYPERMODE_SUMMARY = "delegates to parallel agents by default";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hypermode.d.ts","sourceRoot":"","sources":["../../src/tui/hypermode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,
|
|
1
|
+
{"version":3,"file":"hypermode.d.ts","sourceRoot":"","sources":["../../src/tui/hypermode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,yEAAyE;AACzE,eAAO,MAAM,SAAS,cAAc,CAAA;AAEpC,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,4CAA4C,CAAA;AAE1E,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,EAAE,eAAyB,CAAA;AAcxD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC9B,MAAM,EAAE,SAAS,eAAe,EAAE,GAAG,SAAS,GAC5C,eAAe,GAAG,SAAS,CAQ7B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAErE;AAED,wFAAwF;AACxF,eAAO,MAAM,wBAAwB,yIACkG,CAAA"}
|
package/dist/tui/hypermode.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* (`CODING_AGENT_HYPERMODE_DOCTRINE` in `@namzu/sdk`). "Workflows" is this
|
|
10
10
|
* terminal's word for that phased multi-agent work.
|
|
11
11
|
*/
|
|
12
|
-
/** The mode's name wherever the operator reads it: footer
|
|
12
|
+
/** The mode's name wherever the operator reads it: footer and picker. */
|
|
13
13
|
export const HYPERMODE = 'hypermode';
|
|
14
14
|
/** The one-line description the effort picker shows for the hypermode stop. */
|
|
15
15
|
export const HYPERMODE_SUMMARY = 'delegates to parallel agents by default';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hypermode.js","sourceRoot":"","sources":["../../src/tui/hypermode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,
|
|
1
|
+
{"version":3,"file":"hypermode.js","sourceRoot":"","sources":["../../src/tui/hypermode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,yEAAyE;AACzE,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAA;AAEpC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,iBAAiB,GAAG,yCAAyC,CAAA;AAE1E,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAoB,OAAO,CAAA;AAExD,uFAAuF;AACvF,MAAM,YAAY,GAA+B;IAChD,MAAM;IACN,SA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wBAAwB,GACpC,sIAAsI,CAAA"}
|
package/dist/tui/theme.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export interface SemanticColors {
|
|
|
21
21
|
readonly tool: string;
|
|
22
22
|
/**
|
|
23
23
|
* The hypermode session mode's own colour (violet), used wherever the
|
|
24
|
-
* mode is named: the effort slider's last stop
|
|
25
|
-
*
|
|
24
|
+
* mode is named: the effort slider's last stop and the footer segment.
|
|
25
|
+
* Never a status colour.
|
|
26
26
|
*/
|
|
27
27
|
readonly hypermode: string;
|
|
28
28
|
/**
|
|
@@ -44,10 +44,9 @@ export interface SemanticColors {
|
|
|
44
44
|
}
|
|
45
45
|
export declare const theme: SemanticColors;
|
|
46
46
|
/**
|
|
47
|
-
* The
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* rule instead.
|
|
47
|
+
* The resting colour run across the message box's top rule while hypermode
|
|
48
|
+
* is on. A brief activation sweep can pass over it; afterwards these colours
|
|
49
|
+
* stay still. A renderer without colour draws the plain rule instead.
|
|
51
50
|
*/
|
|
52
51
|
export declare const HYPERMODE_RULE_COLORS: readonly string[];
|
|
53
52
|
//# sourceMappingURL=theme.d.ts.map
|
package/dist/tui/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/tui/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,cAAc;IAC9B,qDAAqD;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,IAAI,EAAE;QACd,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,SAAS,EA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,CAAC,OAAO,EAAE,MAAM,CAAA;KACxB,CAAA;IACD,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KACtB,CAAA;IACD,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KACtB,CAAA;CACD;AAED,eAAO,MAAM,KAAK,EAAE,cAwBnB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAQlD,CAAA"}
|
package/dist/tui/theme.js
CHANGED
|
@@ -32,10 +32,9 @@ export const theme = {
|
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
|
-
* The
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* rule instead.
|
|
35
|
+
* The resting colour run across the message box's top rule while hypermode
|
|
36
|
+
* is on. A brief activation sweep can pass over it; afterwards these colours
|
|
37
|
+
* stay still. A renderer without colour draws the plain rule instead.
|
|
39
38
|
*/
|
|
40
39
|
export const HYPERMODE_RULE_COLORS = [
|
|
41
40
|
'ansi256(110)',
|
package/dist/tui/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/tui/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAuCH,MAAM,CAAC,MAAM,KAAK,GAAmB;IACpC,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE;QACL,OAAO,EAAE,cAAc;QACvB,SAAS,EAAE,cAAc;QACzB,KAAK,EAAE,cAAc;KACrB;IACD,MAAM,EAAE;QACP,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,cAAc;QACtB,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,cAAc;QACzB,OAAO,EAAE,cAAc;KACvB;IACD,MAAM,EAAE;QACP,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,cAAc;KACrB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE,aAAa;KACpB;CACD,CAAA;AAED
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/tui/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAuCH,MAAM,CAAC,MAAM,KAAK,GAAmB;IACpC,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE;QACL,OAAO,EAAE,cAAc;QACvB,SAAS,EAAE,cAAc;QACzB,KAAK,EAAE,cAAc;KACrB;IACD,MAAM,EAAE;QACP,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,cAAc;QACtB,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,cAAc;QACzB,OAAO,EAAE,cAAc;KACvB;IACD,MAAM,EAAE;QACP,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,cAAc;KACrB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE,aAAa;KACpB;CACD,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACvD,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;CACd,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namzu/cli",
|
|
3
|
-
"version": "33.1.
|
|
3
|
+
"version": "33.1.1",
|
|
4
4
|
"description": "Interactive and headless terminal agent for Namzu, with provider discovery, durable sessions, tools and diagnostics.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"namzu",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"react": "19.2.6",
|
|
49
49
|
"string-width": "8.2.1",
|
|
50
50
|
"yaml": "^2.9.0",
|
|
51
|
-
"@namzu/anthropic": "6.2.2",
|
|
52
51
|
"@namzu/browser": "1.0.0",
|
|
52
|
+
"@namzu/anthropic": "6.2.2",
|
|
53
53
|
"@namzu/computer-use": "3.0.0",
|
|
54
54
|
"@namzu/deepseek": "^2.0.2",
|
|
55
55
|
"@namzu/files": "1.1.2",
|
|
56
|
-
"@namzu/openai": "4.1.3",
|
|
57
|
-
"@namzu/openrouter": "3.0.3",
|
|
58
56
|
"@namzu/ollama": "2.2.5",
|
|
57
|
+
"@namzu/openrouter": "3.0.3",
|
|
58
|
+
"@namzu/openai": "4.1.3",
|
|
59
59
|
"@namzu/sdk": "^48.2.0",
|
|
60
60
|
"@namzu/google": "^1.1.1",
|
|
61
61
|
"@namzu/zen": "^2.5.2"
|