@akashacorporation/bari 0.5.0 → 0.5.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/chunks/{chunk-EGMSHANH.js → chunk-3KBOFDTH.js} +1 -1
- package/chunks/{chunk-HAKORTW3.js → chunk-4SGMUFHK.js} +114 -63
- package/chunks/{chunk-G5I2JNYF.js → chunk-FKYCUR5G.js} +1 -1
- package/chunks/{launcher-2RK4KV7P.js → launcher-BLHUIDSQ.js} +3 -3
- package/chunks/{lifecycle-XWHZUA7H.js → lifecycle-BXHZHAMV.js} +2 -2
- package/chunks/{main-LPE7EYWN.js → main-FFDCHTPN.js} +5 -5
- package/chunks/{plugin-command-UJGND47T.js → plugin-command-J4NMGEJK.js} +2 -2
- package/chunks/{provider-command-K372FWES.js → provider-command-5JNAFU2O.js} +2 -2
- package/chunks/{run-acp-command-BVRIYLZR.js → run-acp-command-2Q3EEIIS.js} +1 -1
- package/chunks/{run-exec-command-JPT52LH6.js → run-exec-command-AZVSXXTF.js} +3 -3
- package/cli.js +1 -1
- package/metafile.json +39 -39
- package/package.json +5 -2
|
@@ -29475,7 +29475,11 @@ for the parent to persist.
|
|
|
29475
29475
|
- Foreground is the default and waits for the result. Use it when the result
|
|
29476
29476
|
blocks your next decision. Use run_in_background=true only for independent
|
|
29477
29477
|
work while you continue non-overlapping work. Completion automatically resumes
|
|
29478
|
-
the owner
|
|
29478
|
+
the owner. For long background work, call task_output periodically (it supports
|
|
29479
|
+
a bounded wait and output cursors) so you can report progress instead of waiting
|
|
29480
|
+
blind until the finish event.
|
|
29481
|
+
- Set timeout_ms to bound a foreground task. When it elapses the child is
|
|
29482
|
+
cancelled and the result reports the timeout plus the elapsed duration.
|
|
29479
29483
|
- Continue the child asynchronously with task_append using task_id; read
|
|
29480
29484
|
task_output with the returned task_id. If the native mavis tool is available,
|
|
29481
29485
|
"session send" with session_id waits synchronously for a reply. Start a new
|
|
@@ -29508,6 +29512,12 @@ var zAe = g.Object(
|
|
|
29508
29512
|
g.Boolean({
|
|
29509
29513
|
description: "Optional; defaults to false. True starts background execution and returns a task_id."
|
|
29510
29514
|
})
|
|
29515
|
+
),
|
|
29516
|
+
timeout_ms: g.Optional(
|
|
29517
|
+
g.Integer({
|
|
29518
|
+
minimum: 1e3,
|
|
29519
|
+
description: "Foreground only. Cancel the child and return an aborted result when it runs longer than this many milliseconds. Ignored for background tasks."
|
|
29520
|
+
})
|
|
29511
29521
|
)
|
|
29512
29522
|
},
|
|
29513
29523
|
{ additionalProperties: false }
|
|
@@ -40685,19 +40695,25 @@ function NL(e) {
|
|
|
40685
40695
|
const t = e.verification;
|
|
40686
40696
|
const n = t?.changedFiles ?? [];
|
|
40687
40697
|
const r = t?.observationNotes ?? [];
|
|
40688
|
-
|
|
40698
|
+
const o = [
|
|
40689
40699
|
`run_status: ${e.status}`,
|
|
40700
|
+
...e.durationMs !== void 0 ? [`duration_ms: ${e.durationMs}`] : [],
|
|
40690
40701
|
`requested_agent_name: ${e.requestedAgentName}`,
|
|
40691
|
-
`resolved_agent_name: ${e.resolvedAgentName ?? "missing"}
|
|
40692
|
-
|
|
40693
|
-
|
|
40694
|
-
|
|
40702
|
+
`resolved_agent_name: ${e.resolvedAgentName ?? "missing"}`
|
|
40703
|
+
];
|
|
40704
|
+
if (t?.modelVerdict) o.push(`model_verdict: ${t.modelVerdict}`);
|
|
40705
|
+
if (t?.fileChange) {
|
|
40706
|
+
o.push(`file_change: ${t.fileChange}`);
|
|
40707
|
+
o.push(`file_change_limitations: ${sMe}`);
|
|
40708
|
+
}
|
|
40709
|
+
o.push(
|
|
40695
40710
|
`changed_files: ${n.length > 0 ? n.join(", ") : "none"}`,
|
|
40696
40711
|
`observation_notes: ${r.length > 0 ? r.join(" | ") : "none"}`,
|
|
40697
40712
|
"final_text:",
|
|
40698
40713
|
e.finalText ?? "",
|
|
40699
40714
|
`error_message: ${e.errorMessage ?? ""}`
|
|
40700
|
-
|
|
40715
|
+
);
|
|
40716
|
+
return o.join("\n");
|
|
40701
40717
|
}
|
|
40702
40718
|
|
|
40703
40719
|
// packages/agent-tools/src/desktop/local-task.ts
|
|
@@ -40711,102 +40727,137 @@ var jd = class {
|
|
|
40711
40727
|
async execute(t, n, r) {
|
|
40712
40728
|
if (r?.aborted) throw new Error("Operation aborted");
|
|
40713
40729
|
if (n.run_in_background === true) {
|
|
40714
|
-
const
|
|
40715
|
-
if (
|
|
40716
|
-
const
|
|
40717
|
-
const
|
|
40730
|
+
const p = await this.adapter.startBackground(t, n, r);
|
|
40731
|
+
if (p.status !== "started" || !p.taskId) {
|
|
40732
|
+
const w = p.errorMessage ?? "Local background task failed to start";
|
|
40733
|
+
const b = `<task_error${BL(p.taskId)}${hw(p.subSessionId)}>${w}</task_error>`;
|
|
40718
40734
|
return {
|
|
40719
40735
|
tool_name: cm.name,
|
|
40720
|
-
text:
|
|
40721
|
-
content: [{ type: "text", text:
|
|
40736
|
+
text: b,
|
|
40737
|
+
content: [{ type: "text", text: b }],
|
|
40722
40738
|
details: {
|
|
40723
40739
|
agent_name: n.agent_name,
|
|
40724
|
-
status:
|
|
40725
|
-
...
|
|
40726
|
-
...
|
|
40727
|
-
...
|
|
40740
|
+
status: p.status,
|
|
40741
|
+
...p.taskId ? { task_id: p.taskId } : {},
|
|
40742
|
+
...p.subSessionId ? { sub_session_id: p.subSessionId } : {},
|
|
40743
|
+
...p.subTurnId ? { sub_turn_id: p.subTurnId } : {}
|
|
40728
40744
|
},
|
|
40729
40745
|
isError: true
|
|
40730
40746
|
};
|
|
40731
40747
|
}
|
|
40732
|
-
const
|
|
40733
|
-
Started background task ${
|
|
40748
|
+
const y = `<task_background task_id="${FL(p.taskId)}"${hw(p.subSessionId)}>
|
|
40749
|
+
Started background task ${p.taskId}. The owning conversation will automatically resume when it finishes; use task_query/task_output to inspect it early and task_stop to cancel it.
|
|
40734
40750
|
</task_background>`;
|
|
40735
|
-
const
|
|
40751
|
+
const h = {
|
|
40736
40752
|
tool_name: cm.name,
|
|
40737
|
-
text:
|
|
40738
|
-
content: [{ type: "text", text:
|
|
40753
|
+
text: y,
|
|
40754
|
+
content: [{ type: "text", text: y }],
|
|
40739
40755
|
details: {
|
|
40740
40756
|
agent_name: n.agent_name,
|
|
40741
40757
|
status: "started",
|
|
40742
|
-
task_id:
|
|
40743
|
-
...
|
|
40744
|
-
...
|
|
40758
|
+
task_id: p.taskId,
|
|
40759
|
+
...p.subSessionId ? { sub_session_id: p.subSessionId } : {},
|
|
40760
|
+
...p.subTurnId ? { sub_turn_id: p.subTurnId } : {}
|
|
40745
40761
|
}
|
|
40746
40762
|
};
|
|
40747
|
-
return
|
|
40763
|
+
return p.subSessionId ? Lo(h, {
|
|
40748
40764
|
status: "async_launched",
|
|
40749
|
-
agentId:
|
|
40765
|
+
agentId: p.subSessionId,
|
|
40750
40766
|
description: n.description,
|
|
40751
40767
|
prompt: n.prompt
|
|
40752
|
-
}) :
|
|
40768
|
+
}) : h;
|
|
40769
|
+
}
|
|
40770
|
+
const o = Date.now();
|
|
40771
|
+
const i = n.timeout_ms;
|
|
40772
|
+
let s = false;
|
|
40773
|
+
let a;
|
|
40774
|
+
let l = r;
|
|
40775
|
+
if (i !== void 0) {
|
|
40776
|
+
const p = new AbortController();
|
|
40777
|
+
if (r) {
|
|
40778
|
+
if (r.aborted) p.abort(r.reason);
|
|
40779
|
+
else
|
|
40780
|
+
r.addEventListener("abort", () => p.abort(r.reason), { once: true });
|
|
40781
|
+
}
|
|
40782
|
+
a = setTimeout(() => {
|
|
40783
|
+
s = true;
|
|
40784
|
+
p.abort(new Error(`Task timed out after ${i} ms`));
|
|
40785
|
+
}, i);
|
|
40786
|
+
l = p.signal;
|
|
40787
|
+
}
|
|
40788
|
+
let d;
|
|
40789
|
+
try {
|
|
40790
|
+
d = await this.adapter.runForeground(t, n, l);
|
|
40791
|
+
} catch (p) {
|
|
40792
|
+
if (!s) throw p;
|
|
40793
|
+
d = { status: "aborted", requestedAgentName: n.agent_name };
|
|
40794
|
+
} finally {
|
|
40795
|
+
if (a) clearTimeout(a);
|
|
40753
40796
|
}
|
|
40754
|
-
const
|
|
40755
|
-
if (
|
|
40756
|
-
|
|
40757
|
-
|
|
40797
|
+
const c = Date.now() - o;
|
|
40798
|
+
if (s) {
|
|
40799
|
+
d = {
|
|
40800
|
+
...d,
|
|
40801
|
+
status: "aborted",
|
|
40802
|
+
errorMessage: d.errorMessage ?? `Task timed out after ${i} ms`
|
|
40803
|
+
};
|
|
40804
|
+
}
|
|
40805
|
+
if (d.status !== "succeeded") {
|
|
40806
|
+
const p = d.errorMessage ?? "Agent task failed";
|
|
40807
|
+
const y = `<task_error${BL(d.taskId)}${hw(d.subSessionId)}>
|
|
40758
40808
|
${NL(
|
|
40759
40809
|
{
|
|
40760
|
-
...
|
|
40761
|
-
errorMessage:
|
|
40810
|
+
...d,
|
|
40811
|
+
errorMessage: p,
|
|
40812
|
+
durationMs: c
|
|
40762
40813
|
}
|
|
40763
40814
|
)}
|
|
40764
40815
|
</task_error>`;
|
|
40765
40816
|
return {
|
|
40766
40817
|
tool_name: cm.name,
|
|
40767
|
-
text:
|
|
40768
|
-
content: [{ type: "text", text:
|
|
40818
|
+
text: y,
|
|
40819
|
+
content: [{ type: "text", text: y }],
|
|
40769
40820
|
details: {
|
|
40770
40821
|
agent_name: n.agent_name,
|
|
40771
|
-
status:
|
|
40772
|
-
...
|
|
40773
|
-
...
|
|
40774
|
-
...
|
|
40775
|
-
...
|
|
40776
|
-
requested_agent_name:
|
|
40777
|
-
...
|
|
40778
|
-
...
|
|
40779
|
-
...
|
|
40780
|
-
error_message:
|
|
40822
|
+
status: d.status,
|
|
40823
|
+
...d.taskId ? { task_id: d.taskId } : {},
|
|
40824
|
+
...d.subSessionId ? { sub_session_id: d.subSessionId } : {},
|
|
40825
|
+
...d.subTurnId ? { sub_turn_id: d.subTurnId } : {},
|
|
40826
|
+
...d.eventCount !== void 0 ? { event_count: d.eventCount } : {},
|
|
40827
|
+
requested_agent_name: d.requestedAgentName,
|
|
40828
|
+
...d.resolvedAgentName ? { resolved_agent_name: d.resolvedAgentName } : {},
|
|
40829
|
+
...d.finalText !== void 0 ? { final_text: d.finalText } : {},
|
|
40830
|
+
...d.verification ? { verification: d.verification } : {},
|
|
40831
|
+
error_message: p
|
|
40781
40832
|
},
|
|
40782
40833
|
isError: true
|
|
40783
40834
|
};
|
|
40784
40835
|
}
|
|
40785
|
-
const
|
|
40786
|
-
${NL(
|
|
40836
|
+
const u = `<task_result${BL(d.taskId)}${hw(d.subSessionId)}>
|
|
40837
|
+
${NL({ ...d, durationMs: c })}
|
|
40787
40838
|
</task_result>`;
|
|
40788
|
-
const
|
|
40839
|
+
const m = {
|
|
40789
40840
|
tool_name: cm.name,
|
|
40790
|
-
text:
|
|
40791
|
-
content: [{ type: "text", text:
|
|
40841
|
+
text: u,
|
|
40842
|
+
content: [{ type: "text", text: u }],
|
|
40792
40843
|
details: {
|
|
40793
40844
|
agent_name: n.agent_name,
|
|
40794
40845
|
status: "succeeded",
|
|
40795
|
-
...
|
|
40796
|
-
...
|
|
40797
|
-
...
|
|
40798
|
-
...
|
|
40799
|
-
requested_agent_name:
|
|
40800
|
-
...
|
|
40801
|
-
...
|
|
40802
|
-
...
|
|
40846
|
+
...d.taskId ? { task_id: d.taskId } : {},
|
|
40847
|
+
...d.subSessionId ? { sub_session_id: d.subSessionId } : {},
|
|
40848
|
+
...d.subTurnId ? { sub_turn_id: d.subTurnId } : {},
|
|
40849
|
+
...d.eventCount !== void 0 ? { event_count: d.eventCount } : {},
|
|
40850
|
+
requested_agent_name: d.requestedAgentName,
|
|
40851
|
+
...d.resolvedAgentName ? { resolved_agent_name: d.resolvedAgentName } : {},
|
|
40852
|
+
...d.finalText !== void 0 ? { final_text: d.finalText } : {},
|
|
40853
|
+
...d.verification ? { verification: d.verification } : {}
|
|
40803
40854
|
}
|
|
40804
40855
|
};
|
|
40805
|
-
return
|
|
40856
|
+
return d.subSessionId ? Lo(m, {
|
|
40806
40857
|
status: "completed",
|
|
40807
|
-
agentId:
|
|
40808
|
-
content: [{ type: "text", text:
|
|
40809
|
-
}) :
|
|
40858
|
+
agentId: d.subSessionId,
|
|
40859
|
+
content: [{ type: "text", text: d.finalText ?? "" }]
|
|
40860
|
+
}) : m;
|
|
40810
40861
|
}
|
|
40811
40862
|
};
|
|
40812
40863
|
jL = _e(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath as __mavis_fileURLToPath, pathToFileURL as __mavis_pathToFileURL } from "url"; const __mavis_tuiCurrentModuleDir = __mavis_dirname(__mavis_fileURLToPath(import.meta.url)); const __mavis_tuiPackageRoot = __mavis_basename(__mavis_tuiCurrentModuleDir) === "chunks" ? __mavis_dirname(__mavis_tuiCurrentModuleDir) : __mavis_tuiCurrentModuleDir; const __mavis_tuiPackageEntryUrl = __mavis_pathToFileURL(__mavis_join(__mavis_tuiPackageRoot, "cli.js")).href; const require = __mavis_cR(__mavis_tuiPackageEntryUrl); const __dirname = __mavis_tuiPackageRoot;
|
|
2
2
|
import {
|
|
3
3
|
b as I
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4SGMUFHK.js";
|
|
5
5
|
import {
|
|
6
6
|
K as $,
|
|
7
7
|
T as k
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
e as ig,
|
|
8
8
|
f as sg,
|
|
9
9
|
h as Th
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FKYCUR5G.js";
|
|
11
11
|
import {
|
|
12
12
|
a as Dt,
|
|
13
13
|
b as cg,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
n as ri,
|
|
60
60
|
o as gg,
|
|
61
61
|
r as bg
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-4SGMUFHK.js";
|
|
63
63
|
import {
|
|
64
64
|
a as dn,
|
|
65
65
|
b as Z1,
|
|
@@ -61152,7 +61152,7 @@ async function gae(n, e = {}) {
|
|
|
61152
61152
|
v.breadcrumb("cli.runtime.initialize.started");
|
|
61153
61153
|
F.recordStartup({ phase: "runtime.initialize", outcome: "started" });
|
|
61154
61154
|
try {
|
|
61155
|
-
Z = await (e.loadRuntimeLifecycle ?? (() => import("./lifecycle-
|
|
61155
|
+
Z = await (e.loadRuntimeLifecycle ?? (() => import("./lifecycle-BXHZHAMV.js")))();
|
|
61156
61156
|
je = Z.createTuiRuntime(
|
|
61157
61157
|
{
|
|
61158
61158
|
dataDir: s,
|
|
@@ -2,10 +2,10 @@ import { createRequire as __mavis_cR } from "module"; import { basename as __mav
|
|
|
2
2
|
import {
|
|
3
3
|
a,
|
|
4
4
|
b
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3KBOFDTH.js";
|
|
6
6
|
import "./chunk-7QLK46ZN.js";
|
|
7
7
|
import "./chunk-BWXIBASA.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4SGMUFHK.js";
|
|
9
9
|
import "./chunk-YAL5GOP5.js";
|
|
10
10
|
import "./chunk-OCCJYVTX.js";
|
|
11
11
|
import "./chunk-NA56G5AH.js";
|
|
@@ -3655,15 +3655,15 @@ function He(o, e) {
|
|
|
3655
3655
|
});
|
|
3656
3656
|
}
|
|
3657
3657
|
async function ft(o) {
|
|
3658
|
-
const { launchTui: e } = await import("./launcher-
|
|
3658
|
+
const { launchTui: e } = await import("./launcher-BLHUIDSQ.js");
|
|
3659
3659
|
await e(o);
|
|
3660
3660
|
}
|
|
3661
3661
|
async function gt(o, e, t) {
|
|
3662
|
-
const { runTuiExecCommand: n } = await import("./run-exec-command-
|
|
3662
|
+
const { runTuiExecCommand: n } = await import("./run-exec-command-AZVSXXTF.js");
|
|
3663
3663
|
await n(o, e, t);
|
|
3664
3664
|
}
|
|
3665
3665
|
async function _t(o, e) {
|
|
3666
|
-
const { runTuiAcpCommand: t } = await import("./run-acp-command-
|
|
3666
|
+
const { runTuiAcpCommand: t } = await import("./run-acp-command-2Q3EEIIS.js");
|
|
3667
3667
|
await t(o, {}, e);
|
|
3668
3668
|
}
|
|
3669
3669
|
async function wt(o, e = true, t) {
|
|
@@ -3675,11 +3675,11 @@ async function yt(o) {
|
|
|
3675
3675
|
return e({ region: o });
|
|
3676
3676
|
}
|
|
3677
3677
|
async function vt(o, e, t) {
|
|
3678
|
-
const { runMcodeProviderCommand: n } = await import("./provider-command-
|
|
3678
|
+
const { runMcodeProviderCommand: n } = await import("./provider-command-5JNAFU2O.js");
|
|
3679
3679
|
return n({ request: o, version: e, lane: t });
|
|
3680
3680
|
}
|
|
3681
3681
|
async function bt(o, e, t) {
|
|
3682
|
-
const { runMcodePluginCommand: n } = await import("./plugin-command-
|
|
3682
|
+
const { runMcodePluginCommand: n } = await import("./plugin-command-J4NMGEJK.js");
|
|
3683
3683
|
return n({ request: o, version: e, lane: t });
|
|
3684
3684
|
}
|
|
3685
3685
|
async function Ot(o, e, t) {
|
|
@@ -2,13 +2,13 @@ import { createRequire as __mavis_cR } from "module"; import { basename as __mav
|
|
|
2
2
|
import {
|
|
3
3
|
a as m,
|
|
4
4
|
b as g
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3KBOFDTH.js";
|
|
6
6
|
import "./chunk-7QLK46ZN.js";
|
|
7
7
|
import "./chunk-BWXIBASA.js";
|
|
8
8
|
import {
|
|
9
9
|
a as u
|
|
10
10
|
} from "./chunk-7PMLWHNW.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4SGMUFHK.js";
|
|
12
12
|
import "./chunk-YAL5GOP5.js";
|
|
13
13
|
import "./chunk-OCCJYVTX.js";
|
|
14
14
|
import "./chunk-NA56G5AH.js";
|
|
@@ -2,14 +2,14 @@ import { createRequire as __mavis_cR } from "module"; import { basename as __mav
|
|
|
2
2
|
import {
|
|
3
3
|
a as l,
|
|
4
4
|
b as m
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3KBOFDTH.js";
|
|
6
6
|
import "./chunk-7QLK46ZN.js";
|
|
7
7
|
import "./chunk-BWXIBASA.js";
|
|
8
8
|
import {
|
|
9
9
|
a as s
|
|
10
10
|
} from "./chunk-I7G7L5EQ.js";
|
|
11
11
|
import "./chunk-ZUIEARH2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4SGMUFHK.js";
|
|
13
13
|
import "./chunk-YAL5GOP5.js";
|
|
14
14
|
import "./chunk-OCCJYVTX.js";
|
|
15
15
|
import {
|
|
@@ -27017,7 +27017,7 @@ async function yO(e, t = {}, r) {
|
|
|
27017
27017
|
const c = t.createRuntime && t.shutdownRuntime ? {
|
|
27018
27018
|
createTuiRuntime: t.createRuntime,
|
|
27019
27019
|
shutdownTuiRuntime: t.shutdownRuntime
|
|
27020
|
-
} : await (t.loadRuntimeLifecycle ?? (() => import("./lifecycle-
|
|
27020
|
+
} : await (t.loadRuntimeLifecycle ?? (() => import("./lifecycle-BXHZHAMV.js")))();
|
|
27021
27021
|
const l = t.createRuntime ?? c.createTuiRuntime;
|
|
27022
27022
|
u ??= c.shutdownTuiRuntime;
|
|
27023
27023
|
const m = await (t.prepareDataDir ?? Rm)();
|
|
@@ -2,7 +2,7 @@ import { createRequire as __mavis_cR } from "module"; import { basename as __mav
|
|
|
2
2
|
import {
|
|
3
3
|
a as Ge,
|
|
4
4
|
b as Je
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3KBOFDTH.js";
|
|
6
6
|
import "./chunk-7QLK46ZN.js";
|
|
7
7
|
import "./chunk-BWXIBASA.js";
|
|
8
8
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
f as $e,
|
|
13
13
|
g as Fe,
|
|
14
14
|
h as H
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FKYCUR5G.js";
|
|
16
16
|
import {
|
|
17
17
|
a as Ue,
|
|
18
18
|
b as le,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
f as Ne,
|
|
26
26
|
n as de
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4SGMUFHK.js";
|
|
28
28
|
import {
|
|
29
29
|
c as _e,
|
|
30
30
|
q as z
|
package/cli.js
CHANGED
|
@@ -45,7 +45,7 @@ async function l() {
|
|
|
45
45
|
});
|
|
46
46
|
const p = await s();
|
|
47
47
|
try {
|
|
48
|
-
const { runTuiCli: e } = await import("./chunks/main-
|
|
48
|
+
const { runTuiCli: e } = await import("./chunks/main-FFDCHTPN.js");
|
|
49
49
|
await e({ allowStartupEnvironmentSelection: t });
|
|
50
50
|
} finally {
|
|
51
51
|
p.remove();
|
package/metafile.json
CHANGED
|
@@ -109329,7 +109329,7 @@
|
|
|
109329
109329
|
"format": "esm"
|
|
109330
109330
|
},
|
|
109331
109331
|
"packages/agent-tools/src/desktop/builtin-defs.ts": {
|
|
109332
|
-
"bytes":
|
|
109332
|
+
"bytes": 55050,
|
|
109333
109333
|
"imports": [
|
|
109334
109334
|
{
|
|
109335
109335
|
"path": "node_modules/@sinclair/typebox/build/esm/index.mjs",
|
|
@@ -111627,12 +111627,12 @@
|
|
|
111627
111627
|
"format": "esm"
|
|
111628
111628
|
},
|
|
111629
111629
|
"packages/agent-tools/src/desktop/task-verification.ts": {
|
|
111630
|
-
"bytes":
|
|
111630
|
+
"bytes": 5522,
|
|
111631
111631
|
"imports": [],
|
|
111632
111632
|
"format": "esm"
|
|
111633
111633
|
},
|
|
111634
111634
|
"packages/agent-tools/src/desktop/local-task.ts": {
|
|
111635
|
-
"bytes":
|
|
111635
|
+
"bytes": 7141,
|
|
111636
111636
|
"imports": [
|
|
111637
111637
|
{
|
|
111638
111638
|
"path": "packages/agent-core/src/tools/index.ts",
|
|
@@ -116718,7 +116718,7 @@
|
|
|
116718
116718
|
"format": "esm"
|
|
116719
116719
|
},
|
|
116720
116720
|
"packages/agent-tools/src/desktop/types.ts": {
|
|
116721
|
-
"bytes":
|
|
116721
|
+
"bytes": 25870,
|
|
116722
116722
|
"imports": [],
|
|
116723
116723
|
"format": "esm"
|
|
116724
116724
|
},
|
|
@@ -150793,10 +150793,10 @@
|
|
|
150793
150793
|
}
|
|
150794
150794
|
},
|
|
150795
150795
|
"outputs": {
|
|
150796
|
-
"dist/chunks/run-exec-command-
|
|
150796
|
+
"dist/chunks/run-exec-command-AZVSXXTF.js": {
|
|
150797
150797
|
"imports": [
|
|
150798
150798
|
{
|
|
150799
|
-
"path": "dist/chunks/chunk-
|
|
150799
|
+
"path": "dist/chunks/chunk-3KBOFDTH.js",
|
|
150800
150800
|
"kind": "import-statement"
|
|
150801
150801
|
},
|
|
150802
150802
|
{
|
|
@@ -150808,7 +150808,7 @@
|
|
|
150808
150808
|
"kind": "import-statement"
|
|
150809
150809
|
},
|
|
150810
150810
|
{
|
|
150811
|
-
"path": "dist/chunks/chunk-
|
|
150811
|
+
"path": "dist/chunks/chunk-FKYCUR5G.js",
|
|
150812
150812
|
"kind": "import-statement"
|
|
150813
150813
|
},
|
|
150814
150814
|
{
|
|
@@ -150816,7 +150816,7 @@
|
|
|
150816
150816
|
"kind": "import-statement"
|
|
150817
150817
|
},
|
|
150818
150818
|
{
|
|
150819
|
-
"path": "dist/chunks/chunk-
|
|
150819
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
150820
150820
|
"kind": "import-statement"
|
|
150821
150821
|
},
|
|
150822
150822
|
{
|
|
@@ -151066,7 +151066,7 @@
|
|
|
151066
151066
|
},
|
|
151067
151067
|
"bytes": 62475
|
|
151068
151068
|
},
|
|
151069
|
-
"dist/chunks/run-acp-command-
|
|
151069
|
+
"dist/chunks/run-acp-command-2Q3EEIIS.js": {
|
|
151070
151070
|
"imports": [
|
|
151071
151071
|
{
|
|
151072
151072
|
"path": "dist/chunks/chunk-SDLRIBDA.js",
|
|
@@ -151147,7 +151147,7 @@
|
|
|
151147
151147
|
"external": true
|
|
151148
151148
|
},
|
|
151149
151149
|
{
|
|
151150
|
-
"path": "dist/chunks/lifecycle-
|
|
151150
|
+
"path": "dist/chunks/lifecycle-BXHZHAMV.js",
|
|
151151
151151
|
"kind": "dynamic-import"
|
|
151152
151152
|
}
|
|
151153
151153
|
],
|
|
@@ -151560,10 +151560,10 @@
|
|
|
151560
151560
|
},
|
|
151561
151561
|
"bytes": 2579
|
|
151562
151562
|
},
|
|
151563
|
-
"dist/chunks/provider-command-
|
|
151563
|
+
"dist/chunks/provider-command-5JNAFU2O.js": {
|
|
151564
151564
|
"imports": [
|
|
151565
151565
|
{
|
|
151566
|
-
"path": "dist/chunks/chunk-
|
|
151566
|
+
"path": "dist/chunks/chunk-3KBOFDTH.js",
|
|
151567
151567
|
"kind": "import-statement"
|
|
151568
151568
|
},
|
|
151569
151569
|
{
|
|
@@ -151583,7 +151583,7 @@
|
|
|
151583
151583
|
"kind": "import-statement"
|
|
151584
151584
|
},
|
|
151585
151585
|
{
|
|
151586
|
-
"path": "dist/chunks/chunk-
|
|
151586
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
151587
151587
|
"kind": "import-statement"
|
|
151588
151588
|
},
|
|
151589
151589
|
{
|
|
@@ -151726,10 +151726,10 @@
|
|
|
151726
151726
|
},
|
|
151727
151727
|
"bytes": 5719
|
|
151728
151728
|
},
|
|
151729
|
-
"dist/chunks/plugin-command-
|
|
151729
|
+
"dist/chunks/plugin-command-J4NMGEJK.js": {
|
|
151730
151730
|
"imports": [
|
|
151731
151731
|
{
|
|
151732
|
-
"path": "dist/chunks/chunk-
|
|
151732
|
+
"path": "dist/chunks/chunk-3KBOFDTH.js",
|
|
151733
151733
|
"kind": "import-statement"
|
|
151734
151734
|
},
|
|
151735
151735
|
{
|
|
@@ -151745,7 +151745,7 @@
|
|
|
151745
151745
|
"kind": "import-statement"
|
|
151746
151746
|
},
|
|
151747
151747
|
{
|
|
151748
|
-
"path": "dist/chunks/chunk-
|
|
151748
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
151749
151749
|
"kind": "import-statement"
|
|
151750
151750
|
},
|
|
151751
151751
|
{
|
|
@@ -151939,7 +151939,7 @@
|
|
|
151939
151939
|
},
|
|
151940
151940
|
"bytes": 2291
|
|
151941
151941
|
},
|
|
151942
|
-
"dist/chunks/main-
|
|
151942
|
+
"dist/chunks/main-FFDCHTPN.js": {
|
|
151943
151943
|
"imports": [
|
|
151944
151944
|
{
|
|
151945
151945
|
"path": "dist/chunks/chunk-DETU5GYY.js",
|
|
@@ -152019,15 +152019,15 @@
|
|
|
152019
152019
|
"kind": "dynamic-import"
|
|
152020
152020
|
},
|
|
152021
152021
|
{
|
|
152022
|
-
"path": "dist/chunks/launcher-
|
|
152022
|
+
"path": "dist/chunks/launcher-BLHUIDSQ.js",
|
|
152023
152023
|
"kind": "dynamic-import"
|
|
152024
152024
|
},
|
|
152025
152025
|
{
|
|
152026
|
-
"path": "dist/chunks/run-exec-command-
|
|
152026
|
+
"path": "dist/chunks/run-exec-command-AZVSXXTF.js",
|
|
152027
152027
|
"kind": "dynamic-import"
|
|
152028
152028
|
},
|
|
152029
152029
|
{
|
|
152030
|
-
"path": "dist/chunks/run-acp-command-
|
|
152030
|
+
"path": "dist/chunks/run-acp-command-2Q3EEIIS.js",
|
|
152031
152031
|
"kind": "dynamic-import"
|
|
152032
152032
|
},
|
|
152033
152033
|
{
|
|
@@ -152039,11 +152039,11 @@
|
|
|
152039
152039
|
"kind": "dynamic-import"
|
|
152040
152040
|
},
|
|
152041
152041
|
{
|
|
152042
|
-
"path": "dist/chunks/provider-command-
|
|
152042
|
+
"path": "dist/chunks/provider-command-5JNAFU2O.js",
|
|
152043
152043
|
"kind": "dynamic-import"
|
|
152044
152044
|
},
|
|
152045
152045
|
{
|
|
152046
|
-
"path": "dist/chunks/plugin-command-
|
|
152046
|
+
"path": "dist/chunks/plugin-command-J4NMGEJK.js",
|
|
152047
152047
|
"kind": "dynamic-import"
|
|
152048
152048
|
},
|
|
152049
152049
|
{
|
|
@@ -152343,10 +152343,10 @@
|
|
|
152343
152343
|
"inputs": {},
|
|
152344
152344
|
"bytes": 1119
|
|
152345
152345
|
},
|
|
152346
|
-
"dist/chunks/lifecycle-
|
|
152346
|
+
"dist/chunks/lifecycle-BXHZHAMV.js": {
|
|
152347
152347
|
"imports": [
|
|
152348
152348
|
{
|
|
152349
|
-
"path": "dist/chunks/chunk-
|
|
152349
|
+
"path": "dist/chunks/chunk-3KBOFDTH.js",
|
|
152350
152350
|
"kind": "import-statement"
|
|
152351
152351
|
},
|
|
152352
152352
|
{
|
|
@@ -152358,7 +152358,7 @@
|
|
|
152358
152358
|
"kind": "import-statement"
|
|
152359
152359
|
},
|
|
152360
152360
|
{
|
|
152361
|
-
"path": "dist/chunks/chunk-
|
|
152361
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
152362
152362
|
"kind": "import-statement"
|
|
152363
152363
|
},
|
|
152364
152364
|
{
|
|
@@ -152494,7 +152494,7 @@
|
|
|
152494
152494
|
"inputs": {},
|
|
152495
152495
|
"bytes": 1860
|
|
152496
152496
|
},
|
|
152497
|
-
"dist/chunks/chunk-
|
|
152497
|
+
"dist/chunks/chunk-3KBOFDTH.js": {
|
|
152498
152498
|
"imports": [
|
|
152499
152499
|
{
|
|
152500
152500
|
"path": "dist/chunks/chunk-7QLK46ZN.js",
|
|
@@ -152505,7 +152505,7 @@
|
|
|
152505
152505
|
"kind": "import-statement"
|
|
152506
152506
|
},
|
|
152507
152507
|
{
|
|
152508
|
-
"path": "dist/chunks/chunk-
|
|
152508
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
152509
152509
|
"kind": "import-statement"
|
|
152510
152510
|
},
|
|
152511
152511
|
{
|
|
@@ -159593,10 +159593,10 @@
|
|
|
159593
159593
|
},
|
|
159594
159594
|
"bytes": 14239
|
|
159595
159595
|
},
|
|
159596
|
-
"dist/chunks/launcher-
|
|
159596
|
+
"dist/chunks/launcher-BLHUIDSQ.js": {
|
|
159597
159597
|
"imports": [
|
|
159598
159598
|
{
|
|
159599
|
-
"path": "dist/chunks/chunk-
|
|
159599
|
+
"path": "dist/chunks/chunk-FKYCUR5G.js",
|
|
159600
159600
|
"kind": "import-statement"
|
|
159601
159601
|
},
|
|
159602
159602
|
{
|
|
@@ -159632,7 +159632,7 @@
|
|
|
159632
159632
|
"kind": "import-statement"
|
|
159633
159633
|
},
|
|
159634
159634
|
{
|
|
159635
|
-
"path": "dist/chunks/chunk-
|
|
159635
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
159636
159636
|
"kind": "import-statement"
|
|
159637
159637
|
},
|
|
159638
159638
|
{
|
|
@@ -160166,7 +160166,7 @@
|
|
|
160166
160166
|
"kind": "dynamic-import"
|
|
160167
160167
|
},
|
|
160168
160168
|
{
|
|
160169
|
-
"path": "dist/chunks/lifecycle-
|
|
160169
|
+
"path": "dist/chunks/lifecycle-BXHZHAMV.js",
|
|
160170
160170
|
"kind": "dynamic-import"
|
|
160171
160171
|
},
|
|
160172
160172
|
{
|
|
@@ -161082,10 +161082,10 @@
|
|
|
161082
161082
|
},
|
|
161083
161083
|
"bytes": 1933509
|
|
161084
161084
|
},
|
|
161085
|
-
"dist/chunks/chunk-
|
|
161085
|
+
"dist/chunks/chunk-FKYCUR5G.js": {
|
|
161086
161086
|
"imports": [
|
|
161087
161087
|
{
|
|
161088
|
-
"path": "dist/chunks/chunk-
|
|
161088
|
+
"path": "dist/chunks/chunk-4SGMUFHK.js",
|
|
161089
161089
|
"kind": "import-statement"
|
|
161090
161090
|
},
|
|
161091
161091
|
{
|
|
@@ -161326,7 +161326,7 @@
|
|
|
161326
161326
|
},
|
|
161327
161327
|
"bytes": 967
|
|
161328
161328
|
},
|
|
161329
|
-
"dist/chunks/chunk-
|
|
161329
|
+
"dist/chunks/chunk-4SGMUFHK.js": {
|
|
161330
161330
|
"imports": [
|
|
161331
161331
|
{
|
|
161332
161332
|
"path": "dist/chunks/chunk-BY4M6UDF.js",
|
|
@@ -163482,7 +163482,7 @@
|
|
|
163482
163482
|
"bytesInOutput": 35169
|
|
163483
163483
|
},
|
|
163484
163484
|
"packages/agent-tools/src/desktop/builtin-defs.ts": {
|
|
163485
|
-
"bytesInOutput":
|
|
163485
|
+
"bytesInOutput": 48506
|
|
163486
163486
|
},
|
|
163487
163487
|
"packages/agent-tools/src/desktop/local-ask-user.ts": {
|
|
163488
163488
|
"bytesInOutput": 1150
|
|
@@ -163689,10 +163689,10 @@
|
|
|
163689
163689
|
"bytesInOutput": 5929
|
|
163690
163690
|
},
|
|
163691
163691
|
"packages/agent-tools/src/desktop/task-verification.ts": {
|
|
163692
|
-
"bytesInOutput":
|
|
163692
|
+
"bytesInOutput": 2668
|
|
163693
163693
|
},
|
|
163694
163694
|
"packages/agent-tools/src/desktop/local-task.ts": {
|
|
163695
|
-
"bytesInOutput":
|
|
163695
|
+
"bytesInOutput": 5107
|
|
163696
163696
|
},
|
|
163697
163697
|
"packages/agent-tools/src/desktop/local-task-append.ts": {
|
|
163698
163698
|
"bytesInOutput": 2151
|
|
@@ -165117,7 +165117,7 @@
|
|
|
165117
165117
|
"bytesInOutput": 16992
|
|
165118
165118
|
}
|
|
165119
165119
|
},
|
|
165120
|
-
"bytes":
|
|
165120
|
+
"bytes": 6135634
|
|
165121
165121
|
},
|
|
165122
165122
|
"dist/chunks/chunk-YAL5GOP5.js": {
|
|
165123
165123
|
"imports": [],
|
|
@@ -171128,7 +171128,7 @@
|
|
|
171128
171128
|
"kind": "dynamic-import"
|
|
171129
171129
|
},
|
|
171130
171130
|
{
|
|
171131
|
-
"path": "dist/chunks/main-
|
|
171131
|
+
"path": "dist/chunks/main-FFDCHTPN.js",
|
|
171132
171132
|
"kind": "dynamic-import"
|
|
171133
171133
|
}
|
|
171134
171134
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akashacorporation/bari",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Bari — a fast terminal coding agent harness by AkashaCorporation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"better-sqlite3": "^12.11.1",
|
|
15
|
-
"node-pty": "^1.1.0"
|
|
15
|
+
"node-pty": "^1.1.0",
|
|
16
|
+
"@vscode/ripgrep": "^1.18.0",
|
|
17
|
+
"@mariozechner/clipboard": "^0.3.9",
|
|
18
|
+
"@larksuiteoapi/node-sdk": "^1.73.3"
|
|
16
19
|
},
|
|
17
20
|
"repository": {
|
|
18
21
|
"type": "git",
|