@hasna/assistants 0.6.45 → 0.6.47
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.js +8 -7
- package/dist/index.js.map +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -115085,6 +115085,7 @@ class BashTool {
|
|
|
115085
115085
|
"env",
|
|
115086
115086
|
"printenv",
|
|
115087
115087
|
"echo",
|
|
115088
|
+
"curl",
|
|
115088
115089
|
"git status",
|
|
115089
115090
|
"git log",
|
|
115090
115091
|
"git diff",
|
|
@@ -115251,7 +115252,7 @@ class BashTool {
|
|
|
115251
115252
|
},
|
|
115252
115253
|
sessionId: input.sessionId || "unknown"
|
|
115253
115254
|
});
|
|
115254
|
-
throw new ToolExecutionError("Command not in allowed list. Permitted commands: cat, head, tail, ls, find, grep, wc, file, stat, pwd, which, echo, git status/log/diff/branch/show, connect-*", {
|
|
115255
|
+
throw new ToolExecutionError("Command not in allowed list. Permitted commands: cat, head, tail, ls, find, grep, wc, file, stat, pwd, which, echo, curl, git status/log/diff/branch/show, connect-*", {
|
|
115255
115256
|
toolName: "bash",
|
|
115256
115257
|
toolInput: input,
|
|
115257
115258
|
code: ErrorCodes.TOOL_PERMISSION_DENIED,
|
|
@@ -119993,7 +119994,7 @@ function formatAge(ms) {
|
|
|
119993
119994
|
return `${days}d`;
|
|
119994
119995
|
}
|
|
119995
119996
|
// packages/core/src/commands/builtin.ts
|
|
119996
|
-
var VERSION = "0.6.
|
|
119997
|
+
var VERSION = "0.6.47";
|
|
119997
119998
|
function resolveAuthTimeout(resolve5) {
|
|
119998
119999
|
resolve5({ exitCode: 1, stdout: { toString: () => "{}" } });
|
|
119999
120000
|
}
|
|
@@ -143776,7 +143777,6 @@ function App2({ cwd: cwd2, version: version2 }) {
|
|
|
143776
143777
|
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Box_default, {
|
|
143777
143778
|
flexDirection: "column",
|
|
143778
143779
|
padding: 1,
|
|
143779
|
-
height: rows,
|
|
143780
143780
|
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Spinner2, {
|
|
143781
143781
|
label: "Initializing..."
|
|
143782
143782
|
}, undefined, false, undefined, this)
|
|
@@ -143786,7 +143786,6 @@ function App2({ cwd: cwd2, version: version2 }) {
|
|
|
143786
143786
|
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Box_default, {
|
|
143787
143787
|
flexDirection: "column",
|
|
143788
143788
|
padding: 1,
|
|
143789
|
-
height: rows,
|
|
143790
143789
|
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(SessionSelector, {
|
|
143791
143790
|
sessions,
|
|
143792
143791
|
activeSessionId,
|
|
@@ -144069,7 +144068,7 @@ function formatStreamEvent(chunk) {
|
|
|
144069
144068
|
|
|
144070
144069
|
// packages/terminal/src/index.tsx
|
|
144071
144070
|
var jsx_dev_runtime13 = __toESM(require_jsx_dev_runtime(), 1);
|
|
144072
|
-
var VERSION3 = "0.6.
|
|
144071
|
+
var VERSION3 = "0.6.47";
|
|
144073
144072
|
function parseArgs(argv) {
|
|
144074
144073
|
const args = argv.slice(2);
|
|
144075
144074
|
const options = {
|
|
@@ -144218,10 +144217,12 @@ if (options.print !== null) {
|
|
|
144218
144217
|
const { waitUntilExit } = render_default(/* @__PURE__ */ jsx_dev_runtime13.jsxDEV(App2, {
|
|
144219
144218
|
cwd: options.cwd,
|
|
144220
144219
|
version: VERSION3
|
|
144221
|
-
}, undefined, false, undefined, this)
|
|
144220
|
+
}, undefined, false, undefined, this), {
|
|
144221
|
+
incrementalRendering: true
|
|
144222
|
+
});
|
|
144222
144223
|
waitUntilExit().then(() => {
|
|
144223
144224
|
process.exit(0);
|
|
144224
144225
|
});
|
|
144225
144226
|
}
|
|
144226
144227
|
|
|
144227
|
-
//# debugId=
|
|
144228
|
+
//# debugId=88441107860B779664756E2164756E21
|