@agentrix/cli 0.0.12 → 0.0.13
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/dist/{index-A8QO7gdw.cjs → index-B_Hr2zCf.cjs} +578 -239
- package/dist/{index-BdFjpsoN.cjs → index-Cs99FGLe.cjs} +8 -90
- package/dist/{index-D1ipaIV_.mjs → index-DNDJMHW8.mjs} +8 -90
- package/dist/{index-Dzjo3uhE.mjs → index-yYa7NL_3.mjs} +579 -240
- package/dist/index.cjs +6 -3
- package/dist/index.mjs +6 -3
- package/dist/lib.cjs +5 -1
- package/dist/lib.d.cts +111 -0
- package/dist/lib.d.mts +111 -0
- package/dist/lib.mjs +5 -1
- package/dist/{logger-D-ioMWe6.mjs → logger-BzpMLIL-.mjs} +158 -24
- package/dist/{logger---ZD5a2u.cjs → logger-DzYRcKN1.cjs} +140 -5
- package/dist/sandbox/node-proxy-boot.js +13 -0
- package/package.json +6 -4
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var ink = require('ink');
|
|
5
5
|
var TextInput = require('ink-text-input');
|
|
6
|
-
var
|
|
7
|
-
var _package = require('./logger---ZD5a2u.cjs');
|
|
6
|
+
var _package = require('./logger-DzYRcKN1.cjs');
|
|
8
7
|
var shared = require('@agentrix/shared');
|
|
9
8
|
var require$$0$3 = require('events');
|
|
10
|
-
var index = require('./index-
|
|
9
|
+
var index = require('./index-B_Hr2zCf.cjs');
|
|
11
10
|
var require$$2$1 = require('http');
|
|
12
11
|
var fs = require('fs');
|
|
13
12
|
var require$$1$2 = require('zlib');
|
|
@@ -31,6 +30,9 @@ require('chalk');
|
|
|
31
30
|
require('node:crypto');
|
|
32
31
|
require('node:fs/promises');
|
|
33
32
|
require('node:path');
|
|
33
|
+
require('zod');
|
|
34
|
+
require('@xmz-ai/sandbox-runtime');
|
|
35
|
+
require('@xmz-ai/sandbox-runtime/dist/utils/platform.js');
|
|
34
36
|
require('yargs');
|
|
35
37
|
require('yargs/helpers');
|
|
36
38
|
require('axios');
|
|
@@ -42,7 +44,6 @@ require('child_process');
|
|
|
42
44
|
require('ps-list');
|
|
43
45
|
require('cross-spawn');
|
|
44
46
|
require('fastify');
|
|
45
|
-
require('zod');
|
|
46
47
|
require('fastify-type-provider-zod');
|
|
47
48
|
require('node:stream/promises');
|
|
48
49
|
require('@anthropic-ai/claude-agent-sdk');
|
|
@@ -403,36 +404,6 @@ const InputBox = ({ onSubmit, disabled }) => {
|
|
|
403
404
|
));
|
|
404
405
|
};
|
|
405
406
|
|
|
406
|
-
const PermissionPrompt = ({ permission, onResponse }) => {
|
|
407
|
-
const items = [
|
|
408
|
-
{ label: "\u2713 Allow once", value: "allow" },
|
|
409
|
-
{ label: "\u2717 Deny", value: "deny" }
|
|
410
|
-
];
|
|
411
|
-
const { request } = permission;
|
|
412
|
-
return /* @__PURE__ */ React.createElement(
|
|
413
|
-
ink.Box,
|
|
414
|
-
{
|
|
415
|
-
flexDirection: "column",
|
|
416
|
-
borderStyle: "round",
|
|
417
|
-
borderColor: "yellow",
|
|
418
|
-
padding: 1,
|
|
419
|
-
marginY: 1
|
|
420
|
-
},
|
|
421
|
-
/* @__PURE__ */ React.createElement(ink.Text, { bold: true, color: "yellow" }, "\u26A0 Permission Required"),
|
|
422
|
-
/* @__PURE__ */ React.createElement(ink.Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(ink.Box, { width: 12 }, /* @__PURE__ */ React.createElement(ink.Text, { dimColor: true }, "Tool:")), /* @__PURE__ */ React.createElement(ink.Text, null, request.toolName)),
|
|
423
|
-
/* @__PURE__ */ React.createElement(ink.Box, null, /* @__PURE__ */ React.createElement(ink.Box, { width: 12 }, /* @__PURE__ */ React.createElement(ink.Text, { dimColor: true }, "Input:")), /* @__PURE__ */ React.createElement(ink.Text, null, JSON.stringify(request.toolInput, null, 2))),
|
|
424
|
-
/* @__PURE__ */ React.createElement(ink.Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(
|
|
425
|
-
SelectInput,
|
|
426
|
-
{
|
|
427
|
-
items,
|
|
428
|
-
onSelect: (item) => {
|
|
429
|
-
onResponse(item.value === "allow");
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
))
|
|
433
|
-
);
|
|
434
|
-
};
|
|
435
|
-
|
|
436
407
|
const DebugPanel = ({ logs }) => {
|
|
437
408
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
438
409
|
ink.useInput((input, key) => {
|
|
@@ -19614,11 +19585,9 @@ class MockWebSocketServer extends require$$0$3.EventEmitter {
|
|
|
19614
19585
|
|
|
19615
19586
|
const useWorker = (options) => {
|
|
19616
19587
|
const [status, setStatus] = React.useState("idle");
|
|
19617
|
-
const [pendingPermission, setPendingPermission] = React.useState(null);
|
|
19618
19588
|
const [debugLogs, setDebugLogs] = React.useState([]);
|
|
19619
19589
|
const mockServerRef = React.useRef(null);
|
|
19620
19590
|
const workerProcessRef = React.useRef(null);
|
|
19621
|
-
const permissionResolverRef = React.useRef(null);
|
|
19622
19591
|
const startedRef = React.useRef(false);
|
|
19623
19592
|
const taskIdRef = React.useRef("");
|
|
19624
19593
|
const userIdRef = React.useRef("test_user");
|
|
@@ -19693,36 +19662,6 @@ const useWorker = (options) => {
|
|
|
19693
19662
|
addDebugLog("debug", "MESSAGE", `Assistant message: ${data.message.type}`);
|
|
19694
19663
|
}
|
|
19695
19664
|
});
|
|
19696
|
-
mockServer.on("require-permission", (data) => {
|
|
19697
|
-
if (options.bypassPermissions) {
|
|
19698
|
-
options.onSystemMessage(`Auto-approved: ${data.toolName}`);
|
|
19699
|
-
mockServer.sendToWorker("require-permission-response", {
|
|
19700
|
-
eventId: shared.createEventId(),
|
|
19701
|
-
taskId: taskIdRef.current,
|
|
19702
|
-
opCode: data.eventId,
|
|
19703
|
-
// Echo back the request eventId
|
|
19704
|
-
behavior: "allow"
|
|
19705
|
-
});
|
|
19706
|
-
addDebugLog("info", "PERMISSION", `Auto-approved: ${data.toolName}`);
|
|
19707
|
-
} else {
|
|
19708
|
-
setPendingPermission({
|
|
19709
|
-
request: data,
|
|
19710
|
-
resolve: (allowed) => {
|
|
19711
|
-
setPendingPermission(null);
|
|
19712
|
-
mockServer.sendToWorker("require-permission-response", {
|
|
19713
|
-
eventId: shared.createEventId(),
|
|
19714
|
-
taskId: taskIdRef.current,
|
|
19715
|
-
opCode: data.eventId,
|
|
19716
|
-
// Echo back the request eventId
|
|
19717
|
-
behavior: allowed ? "allow" : "deny"
|
|
19718
|
-
});
|
|
19719
|
-
addDebugLog("info", "PERMISSION", `Permission ${allowed ? "granted" : "denied"}: ${data.toolName}`);
|
|
19720
|
-
permissionResolverRef.current?.(allowed);
|
|
19721
|
-
permissionResolverRef.current = null;
|
|
19722
|
-
}
|
|
19723
|
-
});
|
|
19724
|
-
}
|
|
19725
|
-
});
|
|
19726
19665
|
mockServer.on("change-task-title", (data) => {
|
|
19727
19666
|
options.onSystemMessage(`Title changed: ${data.title}`);
|
|
19728
19667
|
addDebugLog("info", "TASK", `Title changed: ${data.title}`);
|
|
@@ -19835,11 +19774,6 @@ const useWorker = (options) => {
|
|
|
19835
19774
|
setStatus("idle");
|
|
19836
19775
|
}
|
|
19837
19776
|
}, [options, addDebugLog]);
|
|
19838
|
-
const resolvePermission = React.useCallback((allowed) => {
|
|
19839
|
-
if (permissionResolverRef.current) {
|
|
19840
|
-
permissionResolverRef.current(allowed);
|
|
19841
|
-
}
|
|
19842
|
-
}, []);
|
|
19843
19777
|
React.useEffect(() => {
|
|
19844
19778
|
return () => {
|
|
19845
19779
|
if (workerProcessRef.current) {
|
|
@@ -19856,11 +19790,9 @@ const useWorker = (options) => {
|
|
|
19856
19790
|
}, []);
|
|
19857
19791
|
return {
|
|
19858
19792
|
status,
|
|
19859
|
-
pendingPermission,
|
|
19860
19793
|
debugLogs,
|
|
19861
19794
|
startWorker,
|
|
19862
|
-
sendMessage
|
|
19863
|
-
resolvePermission
|
|
19795
|
+
sendMessage
|
|
19864
19796
|
};
|
|
19865
19797
|
};
|
|
19866
19798
|
|
|
@@ -19910,10 +19842,8 @@ const TestApp = (props) => {
|
|
|
19910
19842
|
const { messages, addUserMessage, addAssistantMessage, addSystemMessage } = useMessages();
|
|
19911
19843
|
const {
|
|
19912
19844
|
status,
|
|
19913
|
-
pendingPermission,
|
|
19914
19845
|
startWorker,
|
|
19915
19846
|
sendMessage,
|
|
19916
|
-
resolvePermission,
|
|
19917
19847
|
debugLogs
|
|
19918
19848
|
} = useWorker({
|
|
19919
19849
|
...props,
|
|
@@ -19947,12 +19877,6 @@ const TestApp = (props) => {
|
|
|
19947
19877
|
addUserMessage(text);
|
|
19948
19878
|
sendMessage(text);
|
|
19949
19879
|
};
|
|
19950
|
-
const handlePermissionResponse = (allowed) => {
|
|
19951
|
-
if (pendingPermission) {
|
|
19952
|
-
pendingPermission.resolve(allowed);
|
|
19953
|
-
resolvePermission(allowed);
|
|
19954
|
-
}
|
|
19955
|
-
};
|
|
19956
19880
|
const systemMessages = messages.filter((msg) => msg.role === "system");
|
|
19957
19881
|
const chatMessages = messages.filter((msg) => msg.role !== "system");
|
|
19958
19882
|
return /* @__PURE__ */ React.createElement(ink.Box, { flexDirection: "column", height: "100%" }, /* @__PURE__ */ React.createElement(
|
|
@@ -19963,17 +19887,11 @@ const TestApp = (props) => {
|
|
|
19963
19887
|
cwd: props.cwd || process.cwd(),
|
|
19964
19888
|
status
|
|
19965
19889
|
}
|
|
19966
|
-
), /* @__PURE__ */ React.createElement(StatusPanel, { systemMessages, status }), /* @__PURE__ */ React.createElement(ink.Box, { flexGrow: 1, flexDirection: "column" }, /* @__PURE__ */ React.createElement(MessageList, { messages: chatMessages, status })),
|
|
19967
|
-
PermissionPrompt,
|
|
19968
|
-
{
|
|
19969
|
-
permission: pendingPermission,
|
|
19970
|
-
onResponse: handlePermissionResponse
|
|
19971
|
-
}
|
|
19972
|
-
), /* @__PURE__ */ React.createElement(
|
|
19890
|
+
), /* @__PURE__ */ React.createElement(StatusPanel, { systemMessages, status }), /* @__PURE__ */ React.createElement(ink.Box, { flexGrow: 1, flexDirection: "column" }, /* @__PURE__ */ React.createElement(MessageList, { messages: chatMessages, status })), /* @__PURE__ */ React.createElement(
|
|
19973
19891
|
InputBox,
|
|
19974
19892
|
{
|
|
19975
19893
|
onSubmit: handleSubmit,
|
|
19976
|
-
disabled: status === "running" || status === "initializing"
|
|
19894
|
+
disabled: status === "running" || status === "initializing"
|
|
19977
19895
|
}
|
|
19978
19896
|
), /* @__PURE__ */ React.createElement(DebugPanel, { logs: debugLogs }));
|
|
19979
19897
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
2
2
|
import { Box, Text, useInput, useApp, render } from 'ink';
|
|
3
3
|
import TextInput from 'ink-text-input';
|
|
4
|
-
import
|
|
5
|
-
import { m as machine } from './logger-D-ioMWe6.mjs';
|
|
4
|
+
import { m as machine } from './logger-BzpMLIL-.mjs';
|
|
6
5
|
import { loadAgentConfig, createEventId } from '@agentrix/shared';
|
|
7
6
|
import require$$0$3, { EventEmitter } from 'events';
|
|
8
|
-
import { r as requireMimeTypes, g as getAugmentedNamespace, a as getDefaultExportFromCjs, s as spawnAgentrixCLI } from './index-
|
|
7
|
+
import { r as requireMimeTypes, g as getAugmentedNamespace, a as getDefaultExportFromCjs, s as spawnAgentrixCLI } from './index-yYa7NL_3.mjs';
|
|
9
8
|
import require$$2$1, { createServer } from 'http';
|
|
10
9
|
import fs from 'fs';
|
|
11
10
|
import require$$1$2 from 'zlib';
|
|
@@ -29,6 +28,9 @@ import 'chalk';
|
|
|
29
28
|
import 'node:crypto';
|
|
30
29
|
import 'node:fs/promises';
|
|
31
30
|
import 'node:path';
|
|
31
|
+
import 'zod';
|
|
32
|
+
import '@xmz-ai/sandbox-runtime';
|
|
33
|
+
import '@xmz-ai/sandbox-runtime/dist/utils/platform.js';
|
|
32
34
|
import 'yargs';
|
|
33
35
|
import 'yargs/helpers';
|
|
34
36
|
import 'axios';
|
|
@@ -40,7 +42,6 @@ import 'child_process';
|
|
|
40
42
|
import 'ps-list';
|
|
41
43
|
import 'cross-spawn';
|
|
42
44
|
import 'fastify';
|
|
43
|
-
import 'zod';
|
|
44
45
|
import 'fastify-type-provider-zod';
|
|
45
46
|
import 'node:stream/promises';
|
|
46
47
|
import '@anthropic-ai/claude-agent-sdk';
|
|
@@ -401,36 +402,6 @@ const InputBox = ({ onSubmit, disabled }) => {
|
|
|
401
402
|
));
|
|
402
403
|
};
|
|
403
404
|
|
|
404
|
-
const PermissionPrompt = ({ permission, onResponse }) => {
|
|
405
|
-
const items = [
|
|
406
|
-
{ label: "\u2713 Allow once", value: "allow" },
|
|
407
|
-
{ label: "\u2717 Deny", value: "deny" }
|
|
408
|
-
];
|
|
409
|
-
const { request } = permission;
|
|
410
|
-
return /* @__PURE__ */ React.createElement(
|
|
411
|
-
Box,
|
|
412
|
-
{
|
|
413
|
-
flexDirection: "column",
|
|
414
|
-
borderStyle: "round",
|
|
415
|
-
borderColor: "yellow",
|
|
416
|
-
padding: 1,
|
|
417
|
-
marginY: 1
|
|
418
|
-
},
|
|
419
|
-
/* @__PURE__ */ React.createElement(Text, { bold: true, color: "yellow" }, "\u26A0 Permission Required"),
|
|
420
|
-
/* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(Box, { width: 12 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, "Tool:")), /* @__PURE__ */ React.createElement(Text, null, request.toolName)),
|
|
421
|
-
/* @__PURE__ */ React.createElement(Box, null, /* @__PURE__ */ React.createElement(Box, { width: 12 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, "Input:")), /* @__PURE__ */ React.createElement(Text, null, JSON.stringify(request.toolInput, null, 2))),
|
|
422
|
-
/* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(
|
|
423
|
-
SelectInput,
|
|
424
|
-
{
|
|
425
|
-
items,
|
|
426
|
-
onSelect: (item) => {
|
|
427
|
-
onResponse(item.value === "allow");
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
))
|
|
431
|
-
);
|
|
432
|
-
};
|
|
433
|
-
|
|
434
405
|
const DebugPanel = ({ logs }) => {
|
|
435
406
|
const [isOpen, setIsOpen] = useState(false);
|
|
436
407
|
useInput((input, key) => {
|
|
@@ -19612,11 +19583,9 @@ class MockWebSocketServer extends EventEmitter {
|
|
|
19612
19583
|
|
|
19613
19584
|
const useWorker = (options) => {
|
|
19614
19585
|
const [status, setStatus] = useState("idle");
|
|
19615
|
-
const [pendingPermission, setPendingPermission] = useState(null);
|
|
19616
19586
|
const [debugLogs, setDebugLogs] = useState([]);
|
|
19617
19587
|
const mockServerRef = useRef(null);
|
|
19618
19588
|
const workerProcessRef = useRef(null);
|
|
19619
|
-
const permissionResolverRef = useRef(null);
|
|
19620
19589
|
const startedRef = useRef(false);
|
|
19621
19590
|
const taskIdRef = useRef("");
|
|
19622
19591
|
const userIdRef = useRef("test_user");
|
|
@@ -19691,36 +19660,6 @@ const useWorker = (options) => {
|
|
|
19691
19660
|
addDebugLog("debug", "MESSAGE", `Assistant message: ${data.message.type}`);
|
|
19692
19661
|
}
|
|
19693
19662
|
});
|
|
19694
|
-
mockServer.on("require-permission", (data) => {
|
|
19695
|
-
if (options.bypassPermissions) {
|
|
19696
|
-
options.onSystemMessage(`Auto-approved: ${data.toolName}`);
|
|
19697
|
-
mockServer.sendToWorker("require-permission-response", {
|
|
19698
|
-
eventId: createEventId(),
|
|
19699
|
-
taskId: taskIdRef.current,
|
|
19700
|
-
opCode: data.eventId,
|
|
19701
|
-
// Echo back the request eventId
|
|
19702
|
-
behavior: "allow"
|
|
19703
|
-
});
|
|
19704
|
-
addDebugLog("info", "PERMISSION", `Auto-approved: ${data.toolName}`);
|
|
19705
|
-
} else {
|
|
19706
|
-
setPendingPermission({
|
|
19707
|
-
request: data,
|
|
19708
|
-
resolve: (allowed) => {
|
|
19709
|
-
setPendingPermission(null);
|
|
19710
|
-
mockServer.sendToWorker("require-permission-response", {
|
|
19711
|
-
eventId: createEventId(),
|
|
19712
|
-
taskId: taskIdRef.current,
|
|
19713
|
-
opCode: data.eventId,
|
|
19714
|
-
// Echo back the request eventId
|
|
19715
|
-
behavior: allowed ? "allow" : "deny"
|
|
19716
|
-
});
|
|
19717
|
-
addDebugLog("info", "PERMISSION", `Permission ${allowed ? "granted" : "denied"}: ${data.toolName}`);
|
|
19718
|
-
permissionResolverRef.current?.(allowed);
|
|
19719
|
-
permissionResolverRef.current = null;
|
|
19720
|
-
}
|
|
19721
|
-
});
|
|
19722
|
-
}
|
|
19723
|
-
});
|
|
19724
19663
|
mockServer.on("change-task-title", (data) => {
|
|
19725
19664
|
options.onSystemMessage(`Title changed: ${data.title}`);
|
|
19726
19665
|
addDebugLog("info", "TASK", `Title changed: ${data.title}`);
|
|
@@ -19833,11 +19772,6 @@ const useWorker = (options) => {
|
|
|
19833
19772
|
setStatus("idle");
|
|
19834
19773
|
}
|
|
19835
19774
|
}, [options, addDebugLog]);
|
|
19836
|
-
const resolvePermission = useCallback((allowed) => {
|
|
19837
|
-
if (permissionResolverRef.current) {
|
|
19838
|
-
permissionResolverRef.current(allowed);
|
|
19839
|
-
}
|
|
19840
|
-
}, []);
|
|
19841
19775
|
useEffect(() => {
|
|
19842
19776
|
return () => {
|
|
19843
19777
|
if (workerProcessRef.current) {
|
|
@@ -19854,11 +19788,9 @@ const useWorker = (options) => {
|
|
|
19854
19788
|
}, []);
|
|
19855
19789
|
return {
|
|
19856
19790
|
status,
|
|
19857
|
-
pendingPermission,
|
|
19858
19791
|
debugLogs,
|
|
19859
19792
|
startWorker,
|
|
19860
|
-
sendMessage
|
|
19861
|
-
resolvePermission
|
|
19793
|
+
sendMessage
|
|
19862
19794
|
};
|
|
19863
19795
|
};
|
|
19864
19796
|
|
|
@@ -19908,10 +19840,8 @@ const TestApp = (props) => {
|
|
|
19908
19840
|
const { messages, addUserMessage, addAssistantMessage, addSystemMessage } = useMessages();
|
|
19909
19841
|
const {
|
|
19910
19842
|
status,
|
|
19911
|
-
pendingPermission,
|
|
19912
19843
|
startWorker,
|
|
19913
19844
|
sendMessage,
|
|
19914
|
-
resolvePermission,
|
|
19915
19845
|
debugLogs
|
|
19916
19846
|
} = useWorker({
|
|
19917
19847
|
...props,
|
|
@@ -19945,12 +19875,6 @@ const TestApp = (props) => {
|
|
|
19945
19875
|
addUserMessage(text);
|
|
19946
19876
|
sendMessage(text);
|
|
19947
19877
|
};
|
|
19948
|
-
const handlePermissionResponse = (allowed) => {
|
|
19949
|
-
if (pendingPermission) {
|
|
19950
|
-
pendingPermission.resolve(allowed);
|
|
19951
|
-
resolvePermission(allowed);
|
|
19952
|
-
}
|
|
19953
|
-
};
|
|
19954
19878
|
const systemMessages = messages.filter((msg) => msg.role === "system");
|
|
19955
19879
|
const chatMessages = messages.filter((msg) => msg.role !== "system");
|
|
19956
19880
|
return /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", height: "100%" }, /* @__PURE__ */ React.createElement(
|
|
@@ -19961,17 +19885,11 @@ const TestApp = (props) => {
|
|
|
19961
19885
|
cwd: props.cwd || process.cwd(),
|
|
19962
19886
|
status
|
|
19963
19887
|
}
|
|
19964
|
-
), /* @__PURE__ */ React.createElement(StatusPanel, { systemMessages, status }), /* @__PURE__ */ React.createElement(Box, { flexGrow: 1, flexDirection: "column" }, /* @__PURE__ */ React.createElement(MessageList, { messages: chatMessages, status })),
|
|
19965
|
-
PermissionPrompt,
|
|
19966
|
-
{
|
|
19967
|
-
permission: pendingPermission,
|
|
19968
|
-
onResponse: handlePermissionResponse
|
|
19969
|
-
}
|
|
19970
|
-
), /* @__PURE__ */ React.createElement(
|
|
19888
|
+
), /* @__PURE__ */ React.createElement(StatusPanel, { systemMessages, status }), /* @__PURE__ */ React.createElement(Box, { flexGrow: 1, flexDirection: "column" }, /* @__PURE__ */ React.createElement(MessageList, { messages: chatMessages, status })), /* @__PURE__ */ React.createElement(
|
|
19971
19889
|
InputBox,
|
|
19972
19890
|
{
|
|
19973
19891
|
onSubmit: handleSubmit,
|
|
19974
|
-
disabled: status === "running" || status === "initializing"
|
|
19892
|
+
disabled: status === "running" || status === "initializing"
|
|
19975
19893
|
}
|
|
19976
19894
|
), /* @__PURE__ */ React.createElement(DebugPanel, { logs: debugLogs }));
|
|
19977
19895
|
};
|