@sepveneto/dnde-agent 0.1.14 → 0.1.15
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var V = Object.defineProperty;
|
|
2
2
|
var Q = (t, s, e) => s in t ? V(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
|
|
3
3
|
var a = (t, s, e) => Q(t, typeof s != "symbol" ? s + "" : s, e);
|
|
4
|
-
import { C as E, U as x, r as X, t as I, o as v, s as y, a as Z, w as A, i as q, e as ee, A as te, n as k, b as R, p as C, c as se, S as ie, d as ne, M as re, f as ae } from "./index-
|
|
4
|
+
import { C as E, U as x, r as X, t as I, o as v, s as y, a as Z, w as A, i as q, e as ee, A as te, n as k, b as R, p as C, c as se, S as ie, d as ne, M as re, f as ae } from "./index-DKbChncS.js";
|
|
5
5
|
function oe(t) {
|
|
6
6
|
return t ? !(typeof t == "object" && t && "constructor" in t && typeof t.constructor == "function" ? t.constructor.name : "").includes("ChatCompletions") : !0;
|
|
7
7
|
}
|
|
@@ -31210,7 +31210,7 @@ class uce {
|
|
|
31210
31210
|
const r = yn(this.memory.layout.sessionsDir, `${t}.jsonl`), o = await this.storage.readText(r);
|
|
31211
31211
|
if (!o)
|
|
31212
31212
|
throw new T(`Memory rollout transcript was not found: ${r}`);
|
|
31213
|
-
const { SandboxAgent: s } = await import("./agent-
|
|
31213
|
+
const { SandboxAgent: s } = await import("./agent-CivO4--s.js"), i = new s({
|
|
31214
31214
|
name: "sandbox-memory-phase-one",
|
|
31215
31215
|
instructions: lae(n.extraPrompt),
|
|
31216
31216
|
model: n.phaseOneModel,
|
|
@@ -31262,7 +31262,7 @@ class uce {
|
|
|
31262
31262
|
selectedItems: n.selected
|
|
31263
31263
|
}))
|
|
31264
31264
|
return;
|
|
31265
|
-
const { SandboxAgent: r } = await import("./agent-
|
|
31265
|
+
const { SandboxAgent: r } = await import("./agent-CivO4--s.js"), o = new r({
|
|
31266
31266
|
name: "sandbox-memory-phase-two",
|
|
31267
31267
|
model: t.phaseTwoModel,
|
|
31268
31268
|
modelSettings: t.phaseTwoModelSettings,
|
|
@@ -61425,7 +61425,7 @@ class abe {
|
|
|
61425
61425
|
hasCapabilities: this.capabilities.length > 0
|
|
61426
61426
|
}), i = t;
|
|
61427
61427
|
return s.flow === "initialize" ? this.runInitialize(`用于移动端手机的布局,优先关注 layout.description,用于组件选择与页面布局规划;必要时参考 description,理解组件的业务语义。
|
|
61428
|
-
|
|
61428
|
+
${i}`, r, n) : s.flow === "edit" ? this.runEdit(i, r, n) : this.runCapability(i, r, n);
|
|
61429
61429
|
}
|
|
61430
61430
|
async reset() {
|
|
61431
61431
|
await this.flowSession.clearSession();
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t, Y as s, j as i, g as r, R as n, W as o, E as l, l as g, a0 as c, h as u, Z as p, T as d, z as m, Q as y, O as A, V as C, B as b, K as f, L as R, P as M, X as k, m as S, q as h, u as w, F as E, G as I, D as x, N as L, H as T, _ as W, I as v, k as F, v as J, x as N, y as O, $ as j, t as q, J as z } from "./index-
|
|
1
|
+
import { c as t, Y as s, j as i, g as r, R as n, W as o, E as l, l as g, a0 as c, h as u, Z as p, T as d, z as m, Q as y, O as A, V as C, B as b, K as f, L as R, P as M, X as k, m as S, q as h, u as w, F as E, G as I, D as x, N as L, H as T, _ as W, I as v, k as F, v as J, x as N, y as O, $ as j, t as q, J as z } from "./index-DKbChncS.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Agent,
|
|
4
4
|
s as AgentRuntime,
|