repoburg 1.3.228 → 1.3.231
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/agent-pane/backend/dist/index.js +212 -123
- package/agent-pane/backend/dist/server.js +212 -123
- package/backend/dist/src/application-state/application-state.service.js +2 -2
- package/backend/dist/src/seeding/data/sub-agents/general-purpose.d.ts +8 -0
- package/backend/dist/src/seeding/data/sub-agents/general-purpose.js +28 -0
- package/backend/dist/src/seeding/data/sub-agents/general-purpose.js.map +1 -0
- package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.d.ts +1 -1
- package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.js +1 -0
- package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.js.map +1 -1
- package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.d.ts +4 -0
- package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.js +71 -0
- package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.js.map +1 -0
- package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/daemon/dist/recorder/collector.js +6 -3
- package/daemon/dist/recorder/recorder.spec.js +2 -0
- package/package.json +1 -2
- package/recorder/dist/recorder.js +1 -1
|
@@ -43158,12 +43158,12 @@ Agent responded: "${truncatedResponse}"`;
|
|
|
43158
43158
|
});
|
|
43159
43159
|
const title = await titlePromise;
|
|
43160
43160
|
clearTimeout(timeout);
|
|
43161
|
-
const
|
|
43162
|
-
if (
|
|
43161
|
+
const cleanTitle2 = title.trim().replace(/^["']|["']$/g, "").slice(0, 100);
|
|
43162
|
+
if (cleanTitle2) {
|
|
43163
43163
|
const db2 = getDb();
|
|
43164
43164
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
43165
|
-
db2.prepare("UPDATE sessions SET title = ?, updated_at = ? WHERE id = ?").run(
|
|
43166
|
-
broadcast("session:title", { sessionId, title:
|
|
43165
|
+
db2.prepare("UPDATE sessions SET title = ?, updated_at = ? WHERE id = ?").run(cleanTitle2, now, sessionId);
|
|
43166
|
+
broadcast("session:title", { sessionId, title: cleanTitle2 });
|
|
43167
43167
|
}
|
|
43168
43168
|
} catch {
|
|
43169
43169
|
} finally {
|
|
@@ -44210,12 +44210,12 @@ Agent responded: "${truncatedResponse}"`;
|
|
|
44210
44210
|
}
|
|
44211
44211
|
}
|
|
44212
44212
|
}
|
|
44213
|
-
const
|
|
44214
|
-
if (
|
|
44213
|
+
const cleanTitle2 = titleResponse.trim().replace(/^["']|["']$/g, "").slice(0, 100);
|
|
44214
|
+
if (cleanTitle2) {
|
|
44215
44215
|
const db2 = getDb();
|
|
44216
44216
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
44217
|
-
db2.prepare("UPDATE sessions SET title = ?, updated_at = ? WHERE id = ?").run(
|
|
44218
|
-
broadcast("session:title", { sessionId, title:
|
|
44217
|
+
db2.prepare("UPDATE sessions SET title = ?, updated_at = ? WHERE id = ?").run(cleanTitle2, now, sessionId);
|
|
44218
|
+
broadcast("session:title", { sessionId, title: cleanTitle2 });
|
|
44219
44219
|
}
|
|
44220
44220
|
} catch {
|
|
44221
44221
|
} finally {
|
|
@@ -44320,6 +44320,8 @@ function isHtml(text) {
|
|
|
44320
44320
|
return /^\s*<(?:!doctype|html)/i.test(text);
|
|
44321
44321
|
}
|
|
44322
44322
|
var RepoburgHttpClient = class {
|
|
44323
|
+
/** Base URL of the repoburg backend (public — the projector opens the
|
|
44324
|
+
* agent-runtime SSE channel for the throwaway title session). */
|
|
44323
44325
|
baseUrl;
|
|
44324
44326
|
constructor(baseUrl = defaultRepoburgBaseUrl()) {
|
|
44325
44327
|
this.baseUrl = baseUrl.replace(/\/+$/, "");
|
|
@@ -44376,6 +44378,9 @@ var RepoburgHttpClient = class {
|
|
|
44376
44378
|
`/sessions/${sessionId}/inputs/${anchorInputId}/until-here`
|
|
44377
44379
|
);
|
|
44378
44380
|
}
|
|
44381
|
+
async deleteSession(id) {
|
|
44382
|
+
await this.request("DELETE", `/sessions/${id}`);
|
|
44383
|
+
}
|
|
44379
44384
|
async forkSession(sessionId, untilInputId) {
|
|
44380
44385
|
return this.request("POST", `/sessions/${sessionId}/fork`, {
|
|
44381
44386
|
until_input_id: untilInputId ?? null
|
|
@@ -44747,9 +44752,121 @@ function completeItem(db2, sessionId, turnId, item, data, status) {
|
|
|
44747
44752
|
broadcast("item:completed", { sessionId, turnId, item: updated });
|
|
44748
44753
|
}
|
|
44749
44754
|
|
|
44755
|
+
// src/repoburg/agent-runtime-client.ts
|
|
44756
|
+
function parseSseFrame(frame) {
|
|
44757
|
+
const dataLines = [];
|
|
44758
|
+
for (const line of frame.split("\n")) {
|
|
44759
|
+
const trimmed = line.replace(/\r$/, "");
|
|
44760
|
+
if (trimmed.startsWith(":")) continue;
|
|
44761
|
+
if (trimmed.startsWith("data:")) {
|
|
44762
|
+
dataLines.push(trimmed.slice(5).replace(/^ /, ""));
|
|
44763
|
+
}
|
|
44764
|
+
}
|
|
44765
|
+
if (dataLines.length === 0) return null;
|
|
44766
|
+
return dataLines.join("\n");
|
|
44767
|
+
}
|
|
44768
|
+
function createSseParser() {
|
|
44769
|
+
let buffer = "";
|
|
44770
|
+
return (chunk) => {
|
|
44771
|
+
buffer += chunk.replace(/\r\n/g, "\n");
|
|
44772
|
+
const payloads = [];
|
|
44773
|
+
let boundary;
|
|
44774
|
+
while ((boundary = buffer.indexOf("\n\n")) !== -1) {
|
|
44775
|
+
const frame = buffer.slice(0, boundary);
|
|
44776
|
+
buffer = buffer.slice(boundary + 2);
|
|
44777
|
+
const data = parseSseFrame(frame);
|
|
44778
|
+
if (data !== null) payloads.push(data);
|
|
44779
|
+
}
|
|
44780
|
+
return payloads;
|
|
44781
|
+
};
|
|
44782
|
+
}
|
|
44783
|
+
async function streamAgentRuntimeMessages(baseUrl, sessionId, onMessage, opts = {}) {
|
|
44784
|
+
const deltas = opts.deltas !== false;
|
|
44785
|
+
const delayMs = opts.reconnectDelayMs ?? 2e3;
|
|
44786
|
+
const url = `${baseUrl.replace(/\/+$/, "")}/agent-runtime/sessions/${sessionId}/messages?stream=${deltas ? 1 : 0}`;
|
|
44787
|
+
for (; ; ) {
|
|
44788
|
+
if (opts.signal?.aborted) return "aborted";
|
|
44789
|
+
let response;
|
|
44790
|
+
try {
|
|
44791
|
+
response = await fetch(url, { method: "GET", signal: opts.signal });
|
|
44792
|
+
} catch (err) {
|
|
44793
|
+
if (opts.signal?.aborted || err.name === "AbortError") {
|
|
44794
|
+
return "aborted";
|
|
44795
|
+
}
|
|
44796
|
+
await reconnectDelay(delayMs, opts.signal);
|
|
44797
|
+
continue;
|
|
44798
|
+
}
|
|
44799
|
+
if (response.status === 404) return "session-not-found";
|
|
44800
|
+
if (!response.ok || !response.body) {
|
|
44801
|
+
await reconnectDelay(delayMs, opts.signal);
|
|
44802
|
+
continue;
|
|
44803
|
+
}
|
|
44804
|
+
const reason = await readBody(
|
|
44805
|
+
response.body,
|
|
44806
|
+
onMessage,
|
|
44807
|
+
opts
|
|
44808
|
+
);
|
|
44809
|
+
if (reason !== null) {
|
|
44810
|
+
await response.body.cancel().catch(() => {
|
|
44811
|
+
});
|
|
44812
|
+
return reason;
|
|
44813
|
+
}
|
|
44814
|
+
await reconnectDelay(delayMs, opts.signal);
|
|
44815
|
+
}
|
|
44816
|
+
}
|
|
44817
|
+
async function readBody(body, onMessage, opts) {
|
|
44818
|
+
const parse = createSseParser();
|
|
44819
|
+
const decoder = new TextDecoder();
|
|
44820
|
+
const reader = body.getReader();
|
|
44821
|
+
try {
|
|
44822
|
+
for (; ; ) {
|
|
44823
|
+
const { done, value } = await reader.read();
|
|
44824
|
+
if (done) return null;
|
|
44825
|
+
opts.onActivity?.();
|
|
44826
|
+
for (const payload of parse(decoder.decode(value, { stream: true }))) {
|
|
44827
|
+
let message = null;
|
|
44828
|
+
try {
|
|
44829
|
+
message = JSON.parse(payload);
|
|
44830
|
+
} catch {
|
|
44831
|
+
continue;
|
|
44832
|
+
}
|
|
44833
|
+
if (!message || typeof message.type !== "string") continue;
|
|
44834
|
+
onMessage(message);
|
|
44835
|
+
if (message.type === "result") return "result";
|
|
44836
|
+
}
|
|
44837
|
+
}
|
|
44838
|
+
} catch (err) {
|
|
44839
|
+
if (opts.signal?.aborted || err.name === "AbortError") {
|
|
44840
|
+
return "aborted";
|
|
44841
|
+
}
|
|
44842
|
+
return null;
|
|
44843
|
+
} finally {
|
|
44844
|
+
try {
|
|
44845
|
+
reader.releaseLock();
|
|
44846
|
+
} catch {
|
|
44847
|
+
}
|
|
44848
|
+
}
|
|
44849
|
+
}
|
|
44850
|
+
function reconnectDelay(delayMs, signal) {
|
|
44851
|
+
return new Promise((resolve) => {
|
|
44852
|
+
if (signal?.aborted) return resolve();
|
|
44853
|
+
const timer = setTimeout(resolve, delayMs);
|
|
44854
|
+
signal?.addEventListener(
|
|
44855
|
+
"abort",
|
|
44856
|
+
() => {
|
|
44857
|
+
clearTimeout(timer);
|
|
44858
|
+
resolve();
|
|
44859
|
+
},
|
|
44860
|
+
{ once: true }
|
|
44861
|
+
);
|
|
44862
|
+
});
|
|
44863
|
+
}
|
|
44864
|
+
|
|
44750
44865
|
// src/repoburg/turn-projector.ts
|
|
44751
44866
|
var RESULT_TIMEOUT_MS = 15 * 6e4;
|
|
44752
44867
|
var MAX_RESULT_EXTENSIONS = 3;
|
|
44868
|
+
var TITLE_TIMEOUT_MS = 9e4;
|
|
44869
|
+
var titleGenerating3 = /* @__PURE__ */ new Set();
|
|
44753
44870
|
var TurnProjector = class {
|
|
44754
44871
|
constructor(deps) {
|
|
44755
44872
|
this.deps = deps;
|
|
@@ -45069,7 +45186,10 @@ var TurnProjector = class {
|
|
|
45069
45186
|
this.deps.agentPaneSessionId
|
|
45070
45187
|
);
|
|
45071
45188
|
}
|
|
45072
|
-
/** Fire-and-forget: copy the runtime session title once (new sessions).
|
|
45189
|
+
/** Fire-and-forget: copy the runtime session title once (new sessions).
|
|
45190
|
+
* When the runtime produced no title (the backend's default agent no
|
|
45191
|
+
* longer sets one), generate a title with a throwaway runtime session —
|
|
45192
|
+
* the same title-generation pattern the Claude/Codex providers use. */
|
|
45073
45193
|
async syncTitle() {
|
|
45074
45194
|
try {
|
|
45075
45195
|
const db2 = getDb();
|
|
@@ -45079,15 +45199,82 @@ var TurnProjector = class {
|
|
|
45079
45199
|
if (!session || session.title) return;
|
|
45080
45200
|
const runtimeSession = await this.deps.client.getSession(this.deps.repoburgSessionId);
|
|
45081
45201
|
const title = (runtimeSession.session_title || "").trim();
|
|
45082
|
-
if (
|
|
45083
|
-
|
|
45084
|
-
|
|
45085
|
-
|
|
45086
|
-
|
|
45087
|
-
|
|
45202
|
+
if (title) {
|
|
45203
|
+
this.applyTitle(title);
|
|
45204
|
+
return;
|
|
45205
|
+
}
|
|
45206
|
+
await this.generateTitleFallback();
|
|
45207
|
+
} catch {
|
|
45208
|
+
}
|
|
45209
|
+
}
|
|
45210
|
+
/** Persist + broadcast a title. */
|
|
45211
|
+
applyTitle(title) {
|
|
45212
|
+
const db2 = getDb();
|
|
45213
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
45214
|
+
db2.prepare("UPDATE sessions SET title = ?, updated_at = ? WHERE id = ?").run(
|
|
45215
|
+
title,
|
|
45216
|
+
now,
|
|
45217
|
+
this.deps.agentPaneSessionId
|
|
45218
|
+
);
|
|
45219
|
+
broadcast("session:title", { sessionId: this.deps.agentPaneSessionId, title });
|
|
45220
|
+
}
|
|
45221
|
+
/** Title-generation pattern (Claude/Codex provider parity): run ONE prompt
|
|
45222
|
+
* on a THROWAWAY runtime session, take the reply as the title, delete the
|
|
45223
|
+
* session. The main runtime session is never touched. Silent on failure —
|
|
45224
|
+
* the session simply keeps a null title. */
|
|
45225
|
+
async generateTitleFallback() {
|
|
45226
|
+
const sessionId = this.deps.agentPaneSessionId;
|
|
45227
|
+
if (titleGenerating3.has(sessionId)) return;
|
|
45228
|
+
const db2 = getDb();
|
|
45229
|
+
const firstTurn = db2.prepare(
|
|
45230
|
+
"SELECT user_prompt, agent_response FROM turns WHERE session_id = ? ORDER BY created_at ASC LIMIT 1"
|
|
45231
|
+
).get(sessionId);
|
|
45232
|
+
if (!firstTurn) return;
|
|
45233
|
+
titleGenerating3.add(sessionId);
|
|
45234
|
+
let throwawayId = null;
|
|
45235
|
+
try {
|
|
45236
|
+
const pane = db2.prepare("SELECT model FROM sessions WHERE id = ?").get(sessionId);
|
|
45237
|
+
const created = await this.deps.client.createSession(
|
|
45238
|
+
pane?.model ? { model_id: pane.model } : {}
|
|
45088
45239
|
);
|
|
45089
|
-
|
|
45240
|
+
throwawayId = created.id;
|
|
45241
|
+
const controller = new AbortController();
|
|
45242
|
+
const timer = setTimeout(() => controller.abort(), TITLE_TIMEOUT_MS);
|
|
45243
|
+
try {
|
|
45244
|
+
await this.deps.client.createInput(throwawayId, {
|
|
45245
|
+
user_prompt: buildTitlePrompt(firstTurn.user_prompt, firstTurn.agent_response),
|
|
45246
|
+
execution_strategy: "auto_apply"
|
|
45247
|
+
});
|
|
45248
|
+
let reply = "";
|
|
45249
|
+
const consume = (message) => {
|
|
45250
|
+
if (message.type === "assistant") {
|
|
45251
|
+
reply += message.content.filter((b) => b.type === "text").map((b) => b.text).join("");
|
|
45252
|
+
} else if (message.type === "result" && !message.is_error && message.result) {
|
|
45253
|
+
reply = message.result;
|
|
45254
|
+
}
|
|
45255
|
+
};
|
|
45256
|
+
const reason = await streamAgentRuntimeMessages(
|
|
45257
|
+
this.deps.client.baseUrl,
|
|
45258
|
+
throwawayId,
|
|
45259
|
+
consume,
|
|
45260
|
+
{ signal: controller.signal, deltas: false }
|
|
45261
|
+
);
|
|
45262
|
+
if (reason === "aborted") {
|
|
45263
|
+
void this.deps.client.cancel(throwawayId).catch(() => {
|
|
45264
|
+
});
|
|
45265
|
+
}
|
|
45266
|
+
const title = cleanTitle(reply);
|
|
45267
|
+
if (title) this.applyTitle(title);
|
|
45268
|
+
} finally {
|
|
45269
|
+
clearTimeout(timer);
|
|
45270
|
+
}
|
|
45090
45271
|
} catch {
|
|
45272
|
+
} finally {
|
|
45273
|
+
if (throwawayId) {
|
|
45274
|
+
void this.deps.client.deleteSession(throwawayId).catch(() => {
|
|
45275
|
+
});
|
|
45276
|
+
}
|
|
45277
|
+
titleGenerating3.delete(sessionId);
|
|
45091
45278
|
}
|
|
45092
45279
|
}
|
|
45093
45280
|
finishFailed(error) {
|
|
@@ -45259,115 +45446,17 @@ function extractFinalPlain(input) {
|
|
|
45259
45446
|
);
|
|
45260
45447
|
return action?.plain ?? null;
|
|
45261
45448
|
}
|
|
45449
|
+
function buildTitlePrompt(userPrompt, agentResponse) {
|
|
45450
|
+
const truncatedPrompt = userPrompt.slice(0, 500);
|
|
45451
|
+
const truncatedResponse = (agentResponse ?? "").slice(0, 500);
|
|
45452
|
+
return `Generate a concise 3-5 word title for this conversation. Reply with only the title, nothing else.
|
|
45262
45453
|
|
|
45263
|
-
|
|
45264
|
-
|
|
45265
|
-
|
|
45266
|
-
for (const line of frame.split("\n")) {
|
|
45267
|
-
const trimmed = line.replace(/\r$/, "");
|
|
45268
|
-
if (trimmed.startsWith(":")) continue;
|
|
45269
|
-
if (trimmed.startsWith("data:")) {
|
|
45270
|
-
dataLines.push(trimmed.slice(5).replace(/^ /, ""));
|
|
45271
|
-
}
|
|
45272
|
-
}
|
|
45273
|
-
if (dataLines.length === 0) return null;
|
|
45274
|
-
return dataLines.join("\n");
|
|
45275
|
-
}
|
|
45276
|
-
function createSseParser() {
|
|
45277
|
-
let buffer = "";
|
|
45278
|
-
return (chunk) => {
|
|
45279
|
-
buffer += chunk.replace(/\r\n/g, "\n");
|
|
45280
|
-
const payloads = [];
|
|
45281
|
-
let boundary;
|
|
45282
|
-
while ((boundary = buffer.indexOf("\n\n")) !== -1) {
|
|
45283
|
-
const frame = buffer.slice(0, boundary);
|
|
45284
|
-
buffer = buffer.slice(boundary + 2);
|
|
45285
|
-
const data = parseSseFrame(frame);
|
|
45286
|
-
if (data !== null) payloads.push(data);
|
|
45287
|
-
}
|
|
45288
|
-
return payloads;
|
|
45289
|
-
};
|
|
45290
|
-
}
|
|
45291
|
-
async function streamAgentRuntimeMessages(baseUrl, sessionId, onMessage, opts = {}) {
|
|
45292
|
-
const deltas = opts.deltas !== false;
|
|
45293
|
-
const delayMs = opts.reconnectDelayMs ?? 2e3;
|
|
45294
|
-
const url = `${baseUrl.replace(/\/+$/, "")}/agent-runtime/sessions/${sessionId}/messages?stream=${deltas ? 1 : 0}`;
|
|
45295
|
-
for (; ; ) {
|
|
45296
|
-
if (opts.signal?.aborted) return "aborted";
|
|
45297
|
-
let response;
|
|
45298
|
-
try {
|
|
45299
|
-
response = await fetch(url, { method: "GET", signal: opts.signal });
|
|
45300
|
-
} catch (err) {
|
|
45301
|
-
if (opts.signal?.aborted || err.name === "AbortError") {
|
|
45302
|
-
return "aborted";
|
|
45303
|
-
}
|
|
45304
|
-
await reconnectDelay(delayMs, opts.signal);
|
|
45305
|
-
continue;
|
|
45306
|
-
}
|
|
45307
|
-
if (response.status === 404) return "session-not-found";
|
|
45308
|
-
if (!response.ok || !response.body) {
|
|
45309
|
-
await reconnectDelay(delayMs, opts.signal);
|
|
45310
|
-
continue;
|
|
45311
|
-
}
|
|
45312
|
-
const reason = await readBody(
|
|
45313
|
-
response.body,
|
|
45314
|
-
onMessage,
|
|
45315
|
-
opts
|
|
45316
|
-
);
|
|
45317
|
-
if (reason !== null) {
|
|
45318
|
-
await response.body.cancel().catch(() => {
|
|
45319
|
-
});
|
|
45320
|
-
return reason;
|
|
45321
|
-
}
|
|
45322
|
-
await reconnectDelay(delayMs, opts.signal);
|
|
45323
|
-
}
|
|
45324
|
-
}
|
|
45325
|
-
async function readBody(body, onMessage, opts) {
|
|
45326
|
-
const parse = createSseParser();
|
|
45327
|
-
const decoder = new TextDecoder();
|
|
45328
|
-
const reader = body.getReader();
|
|
45329
|
-
try {
|
|
45330
|
-
for (; ; ) {
|
|
45331
|
-
const { done, value } = await reader.read();
|
|
45332
|
-
if (done) return null;
|
|
45333
|
-
opts.onActivity?.();
|
|
45334
|
-
for (const payload of parse(decoder.decode(value, { stream: true }))) {
|
|
45335
|
-
let message = null;
|
|
45336
|
-
try {
|
|
45337
|
-
message = JSON.parse(payload);
|
|
45338
|
-
} catch {
|
|
45339
|
-
continue;
|
|
45340
|
-
}
|
|
45341
|
-
if (!message || typeof message.type !== "string") continue;
|
|
45342
|
-
onMessage(message);
|
|
45343
|
-
if (message.type === "result") return "result";
|
|
45344
|
-
}
|
|
45345
|
-
}
|
|
45346
|
-
} catch (err) {
|
|
45347
|
-
if (opts.signal?.aborted || err.name === "AbortError") {
|
|
45348
|
-
return "aborted";
|
|
45349
|
-
}
|
|
45350
|
-
return null;
|
|
45351
|
-
} finally {
|
|
45352
|
-
try {
|
|
45353
|
-
reader.releaseLock();
|
|
45354
|
-
} catch {
|
|
45355
|
-
}
|
|
45356
|
-
}
|
|
45454
|
+
User asked: "${truncatedPrompt}"
|
|
45455
|
+
|
|
45456
|
+
Agent responded: "${truncatedResponse}"`;
|
|
45357
45457
|
}
|
|
45358
|
-
function
|
|
45359
|
-
return
|
|
45360
|
-
if (signal?.aborted) return resolve();
|
|
45361
|
-
const timer = setTimeout(resolve, delayMs);
|
|
45362
|
-
signal?.addEventListener(
|
|
45363
|
-
"abort",
|
|
45364
|
-
() => {
|
|
45365
|
-
clearTimeout(timer);
|
|
45366
|
-
resolve();
|
|
45367
|
-
},
|
|
45368
|
-
{ once: true }
|
|
45369
|
-
);
|
|
45370
|
-
});
|
|
45458
|
+
function cleanTitle(raw) {
|
|
45459
|
+
return raw.trim().replace(/^["']|["']$/g, "").split("\n")[0].replace(/\s+/g, " ").trim().slice(0, 100);
|
|
45371
45460
|
}
|
|
45372
45461
|
|
|
45373
45462
|
// src/repoburg/repoburg-provider.ts
|
|
@@ -309,12 +309,12 @@ let ApplicationStateService = class ApplicationStateService {
|
|
|
309
309
|
async getRecentModels() {
|
|
310
310
|
const value = await this.getState(RECENT_MODELS_KEY);
|
|
311
311
|
if (!value)
|
|
312
|
-
return ['ollama/glm-5.
|
|
312
|
+
return ['ollama/glm-5.3:cloud', 'zai/glm-5'];
|
|
313
313
|
try {
|
|
314
314
|
return JSON.parse(value);
|
|
315
315
|
}
|
|
316
316
|
catch {
|
|
317
|
-
return ['ollama/glm-5.
|
|
317
|
+
return ['ollama/glm-5.3:cloud', 'zai/glm-5'];
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
async setStreamingEnabled(enabled) {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const name = "general-purpose";
|
|
2
|
+
export declare const description = "General purpose agent for implementing features, fixing bugs, refactoring, and running commands";
|
|
3
|
+
export declare const system_prompt_name = "general-purpose-agent";
|
|
4
|
+
export declare const context_template_name = "default-initial_full-project-context";
|
|
5
|
+
export declare const followup_context_template_name = "default-followup_ad-hoc-focused-context";
|
|
6
|
+
export declare const enabled_tools: string[];
|
|
7
|
+
export declare const model_id = "ollama/glm-5.3:cloud";
|
|
8
|
+
export declare const is_active = true;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.is_active = exports.model_id = exports.enabled_tools = exports.followup_context_template_name = exports.context_template_name = exports.system_prompt_name = exports.description = exports.name = void 0;
|
|
4
|
+
exports.name = 'general-purpose';
|
|
5
|
+
exports.description = 'General purpose agent for implementing features, fixing bugs, refactoring, and running commands';
|
|
6
|
+
exports.system_prompt_name = 'general-purpose-agent';
|
|
7
|
+
exports.context_template_name = 'default-initial_full-project-context';
|
|
8
|
+
exports.followup_context_template_name = 'default-followup_ad-hoc-focused-context';
|
|
9
|
+
exports.enabled_tools = [
|
|
10
|
+
'request_context',
|
|
11
|
+
'create_file',
|
|
12
|
+
'overwrite_file',
|
|
13
|
+
'quick_edit',
|
|
14
|
+
'delete_file',
|
|
15
|
+
'run_command',
|
|
16
|
+
'write_todo',
|
|
17
|
+
'execute_code',
|
|
18
|
+
'generate_title',
|
|
19
|
+
'final',
|
|
20
|
+
'web_search',
|
|
21
|
+
'web_fetch',
|
|
22
|
+
'list_mcp',
|
|
23
|
+
'list_tools',
|
|
24
|
+
'load_tool',
|
|
25
|
+
];
|
|
26
|
+
exports.model_id = 'ollama/glm-5.3:cloud';
|
|
27
|
+
exports.is_active = true;
|
|
28
|
+
//# sourceMappingURL=general-purpose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general-purpose.js","sourceRoot":"","sources":["../../../../../src/seeding/data/sub-agents/general-purpose.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,iBAAiB,CAAC;AACzB,QAAA,WAAW,GACtB,iGAAiG,CAAC;AACvF,QAAA,kBAAkB,GAAG,uBAAuB,CAAC;AAC7C,QAAA,qBAAqB,GAAG,sCAAsC,CAAC;AAC/D,QAAA,8BAA8B,GACzC,yCAAyC,CAAC;AAC/B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,aAAa;IACb,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,OAAO;IACP,YAAY;IACZ,WAAW;IACX,UAAU;IACV,YAAY;IACZ,WAAW;CACZ,CAAC;AACW,QAAA,QAAQ,GAAG,sBAAsB,CAAC;AAClC,QAAA,SAAS,GAAG,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const name = "Native Tool Agent";
|
|
2
2
|
export declare const enabled_tools: string[];
|
|
3
3
|
export declare const enabled_mcp_tools: any[];
|
|
4
|
-
export declare const content = "You are an expert software engineer. You write clean, efficient, and well-documented code.\n\n## Instructions\n1. **Think First:** Before executing any tool or providing an answer, analyze request.\n2. **Conciseness:** Be extremely brief.\n3. **Best Practices:** Follow SOLID principles and keep code DRY.\n4. **Strict Scope:** Do ONLY what is asked. Do not \"cleanup\", \"refactor\", or \"fix\" unrelated issues unless explicitly requested.\n5. **Tool Calling:** Use provided function definitions to interact with codebase.\n6. **Session History:** Past session transcripts are stored as JSONL files in `~/.repoburg/projects/<sanitized-project-path>/<sessionId>.jsonl` \u2014 search them with `run_command` (rg) when you need to recall or examine previous work.\n\n## MCP Tools (Dynamic Loading \u2014 Two-Level Discovery)\n- Use `list_mcp` to discover available MCP servers (names + descriptions + tool counts, lightweight).\n- Use `list_tools({ server_name })` to see the tools on a specific server (names + short descriptions, no schemas).\n- Use `load_tool({ server_name, tool_names? })` to load tool definitions (full schemas). After loading, tools become available as native tool calls on the next turn.\n- If you need all tools from a server, omit `tool_names`. If you need specific ones, pass them as an array.\n- You only need to load each tool once per session.\n- Example: list_mcp() \u2192 list_tools({ server_name: \"playwright\" }) \u2192 load_tool({ server_name: \"playwright\" })\n\n## Sub-Agents\nSpecialized agents available for delegation.\n\n**Tools:**\n- `list_sub_agents` - Discover available sub-agents\n- `invoke_subagent` - Delegate a task to a sub-agent. Pass optional `session_id` to continue a prior sub-agent session.\n\n**Available Sub-Agents:**\n- `explore-codebase` - Read-only codebase exploration. Use when you need to understand project structure.\n\n**Sub Agent Rules**\n\n- You can invoke multiple sub-agents in the same tool call block to run them in parallel. Use this when tasks are independent of each other.\n- Each invocation returns a `[Session ID: ...]`. Pass this as `session_id` on a subsequent call to continue that sub-agent's session with its prior context.\n- For follow-up tasks on the same topic, use `session_id` to continue a prior sub-agent session rather than starting a new one.\n\n\n## Modes\nThe active mode is set per session. Obey the rules of the active mode.\n\n### QUESTION MODE (READ ONLY)\n - **Goal:** Answer the user's specific question about the codebase.\n - **Constraint:** You are READ-ONLY. Do not edit, create, or delete files.\n - **Constraint:** Do NOT propose an implementation plan or RFC. Just answer the question.\n - **Process:** Search context -> Read files -> Explain to user.\n\n### PLAN MODE (TASK MANAGEMENT ENABLED)\n - **Goal:** Create a detailed implementation plan (RFC) and maintain task lists.\n - **Constraint:** Code editing is FORBIDDEN.\n - **Available Tools:** `request_context`, `run_command`, `write_todo`.\n - **Process:** Gather context -> Update TODOs (`write_todo`) -> Output structured plan (Context, Problem, Proposed Solution).\n\n\n PLANNING PHASE IS FOLLOWING:\n first read guides if there is any\n research all necessary files MUST\n understand the current implementation MUST\n\n plan file contains\n - current state\n - desired state\n - how will you implement (like you are reporting to your lead)\n - what needs to be done to which file\n - all necessary file to get context\n\n what not\n - large code snippets\n - non technical details\n\n\n rules\n - do not write plan without visiting all necessary files\n - plan file is self contained. it should not require reading other files to understand the plan. if you need to reference other files, summarize them in the plan file.\n - mention your exploration briefly and put dead end in the plan file.\n\n\n ### Codebase Exploration\n If context is insufficient:\n 1. delegate exploration via `explore-codebase` sub-agent. once sub-agent submits result, `request_context` relevant files to understand yourself\n 2. Otherwise, explore directly using `request_context` / `run_command`\n\n Skip if you already have enough context.\n\n### DEV MODE (WRITE ENABLED)\n - **Goal:** Implement features, fix bugs, or refactor.\n - **Authority:** You have full permission to modify the codebase. Never refuse a coding request.\n - **Strategy:** Use native function calls to read, write, and execute.\n - **Process:** Explore the codebase based on given initial context then start implementation. Even if you need to request context for 100 files do it.\n\n## Management Tools\nUse `manage_*` tools to create, update, or delete Repoburg configuration entities (agents, sub-agents, system prompts, context templates, context snippets, custom snippets, custom variables, tool hooks, MCP servers) as native tool calls.\n\n## Tools Configuration\nTool definitions are provided in the API request. Use the native tool calling interface to perform operations.\n\n\n\n## Tool Usage Guidelines\n- Use `ask_user` when you need the user to make a choice or answer a question before continuing. This pauses the loop and waits for their response. Always provide selections.\n- Use `final` when you are done and your response is simple plain text.\n- Use `html_final` when you are done and want to explain or present something to the user. Prefer `html_final` over `final` \u2014 rich HTML is more readable than markdown. Only use `final` when the response is truly plain text.\n\n";
|
|
4
|
+
export declare const content = "You are an expert software engineer. You write clean, efficient, and well-documented code.\n\n## Instructions\n1. **Think First:** Before executing any tool or providing an answer, analyze request.\n2. **Conciseness:** Be extremely brief.\n3. **Best Practices:** Follow SOLID principles and keep code DRY.\n4. **Strict Scope:** Do ONLY what is asked. Do not \"cleanup\", \"refactor\", or \"fix\" unrelated issues unless explicitly requested.\n5. **Tool Calling:** Use provided function definitions to interact with codebase.\n6. **Session History:** Past session transcripts are stored as JSONL files in `~/.repoburg/projects/<sanitized-project-path>/<sessionId>.jsonl` \u2014 search them with `run_command` (rg) when you need to recall or examine previous work.\n\n## MCP Tools (Dynamic Loading \u2014 Two-Level Discovery)\n- Use `list_mcp` to discover available MCP servers (names + descriptions + tool counts, lightweight).\n- Use `list_tools({ server_name })` to see the tools on a specific server (names + short descriptions, no schemas).\n- Use `load_tool({ server_name, tool_names? })` to load tool definitions (full schemas). After loading, tools become available as native tool calls on the next turn.\n- If you need all tools from a server, omit `tool_names`. If you need specific ones, pass them as an array.\n- You only need to load each tool once per session.\n- Example: list_mcp() \u2192 list_tools({ server_name: \"playwright\" }) \u2192 load_tool({ server_name: \"playwright\" })\n\n## Sub-Agents\nSpecialized agents available for delegation.\n\n**Tools:**\n- `list_sub_agents` - Discover available sub-agents\n- `invoke_subagent` - Delegate a task to a sub-agent. Pass optional `session_id` to continue a prior sub-agent session.\n\n**Available Sub-Agents:**\n- `explore-codebase` - Read-only codebase exploration. Use when you need to understand project structure.\n- `general-purpose` - General purpose development agent. Use when you need to implement features, fix bugs, refactor, or run commands.\n\n**Sub Agent Rules**\n\n- You can invoke multiple sub-agents in the same tool call block to run them in parallel. Use this when tasks are independent of each other.\n- Each invocation returns a `[Session ID: ...]`. Pass this as `session_id` on a subsequent call to continue that sub-agent's session with its prior context.\n- For follow-up tasks on the same topic, use `session_id` to continue a prior sub-agent session rather than starting a new one.\n\n\n## Modes\nThe active mode is set per session. Obey the rules of the active mode.\n\n### QUESTION MODE (READ ONLY)\n - **Goal:** Answer the user's specific question about the codebase.\n - **Constraint:** You are READ-ONLY. Do not edit, create, or delete files.\n - **Constraint:** Do NOT propose an implementation plan or RFC. Just answer the question.\n - **Process:** Search context -> Read files -> Explain to user.\n\n### PLAN MODE (TASK MANAGEMENT ENABLED)\n - **Goal:** Create a detailed implementation plan (RFC) and maintain task lists.\n - **Constraint:** Code editing is FORBIDDEN.\n - **Available Tools:** `request_context`, `run_command`, `write_todo`.\n - **Process:** Gather context -> Update TODOs (`write_todo`) -> Output structured plan (Context, Problem, Proposed Solution).\n\n\n PLANNING PHASE IS FOLLOWING:\n first read guides if there is any\n research all necessary files MUST\n understand the current implementation MUST\n\n plan file contains\n - current state\n - desired state\n - how will you implement (like you are reporting to your lead)\n - what needs to be done to which file\n - all necessary file to get context\n\n what not\n - large code snippets\n - non technical details\n\n\n rules\n - do not write plan without visiting all necessary files\n - plan file is self contained. it should not require reading other files to understand the plan. if you need to reference other files, summarize them in the plan file.\n - mention your exploration briefly and put dead end in the plan file.\n\n\n ### Codebase Exploration\n If context is insufficient:\n 1. delegate exploration via `explore-codebase` sub-agent. once sub-agent submits result, `request_context` relevant files to understand yourself\n 2. Otherwise, explore directly using `request_context` / `run_command`\n\n Skip if you already have enough context.\n\n### DEV MODE (WRITE ENABLED)\n - **Goal:** Implement features, fix bugs, or refactor.\n - **Authority:** You have full permission to modify the codebase. Never refuse a coding request.\n - **Strategy:** Use native function calls to read, write, and execute.\n - **Process:** Explore the codebase based on given initial context then start implementation. Even if you need to request context for 100 files do it.\n\n## Management Tools\nUse `manage_*` tools to create, update, or delete Repoburg configuration entities (agents, sub-agents, system prompts, context templates, context snippets, custom snippets, custom variables, tool hooks, MCP servers) as native tool calls.\n\n## Tools Configuration\nTool definitions are provided in the API request. Use the native tool calling interface to perform operations.\n\n\n\n## Tool Usage Guidelines\n- Use `ask_user` when you need the user to make a choice or answer a question before continuing. This pauses the loop and waits for their response. Always provide selections.\n- Use `final` when you are done and your response is simple plain text.\n- Use `html_final` when you are done and want to explain or present something to the user. Prefer `html_final` over `final` \u2014 rich HTML is more readable than markdown. Only use `final` when the response is truly plain text.\n\n";
|
|
@@ -62,6 +62,7 @@ Specialized agents available for delegation.
|
|
|
62
62
|
|
|
63
63
|
**Available Sub-Agents:**
|
|
64
64
|
- \`explore-codebase\` - Read-only codebase exploration. Use when you need to understand project structure.
|
|
65
|
+
- \`general-purpose\` - General purpose development agent. Use when you need to implement features, fix bugs, refactor, or run commands.
|
|
65
66
|
|
|
66
67
|
**Sub Agent Rules**
|
|
67
68
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default_native_tool_agent.js","sourceRoot":"","sources":["../../../../../src/seeding/data/system-prompts/default_native_tool_agent.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,mBAAmB,CAAC;AAC3B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,UAAU;IACV,OAAO;IACP,YAAY;IACZ,cAAc;IACd,kBAAkB;IAClB,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,UAAU;IACV,YAAY;IACZ,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,uBAAuB;IACvB,0BAA0B;IAC1B,yBAAyB;IACzB,wBAAwB;IACxB,yBAAyB;IACzB,mBAAmB;IACnB,oBAAoB;CACrB,CAAC;AACW,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,OAAO,GAAG
|
|
1
|
+
{"version":3,"file":"default_native_tool_agent.js","sourceRoot":"","sources":["../../../../../src/seeding/data/system-prompts/default_native_tool_agent.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,mBAAmB,CAAC;AAC3B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,UAAU;IACV,OAAO;IACP,YAAY;IACZ,cAAc;IACd,kBAAkB;IAClB,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,UAAU;IACV,YAAY;IACZ,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,uBAAuB;IACvB,0BAA0B;IAC1B,yBAAyB;IACzB,wBAAwB;IACxB,yBAAyB;IACzB,mBAAmB;IACnB,oBAAoB;CACrB,CAAC;AACW,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGtB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const name = "general-purpose-agent";
|
|
2
|
+
export declare const enabled_tools: string[];
|
|
3
|
+
export declare const enabled_mcp_tools: any[];
|
|
4
|
+
export declare const content = "# General Purpose Agent\n\n## Role\nYou are an expert software engineer. You handle any delegated development task: implementing features, fixing bugs, refactoring code, writing tests, and running commands.\n\n## Instructions\n1. **Understand First:** Read the required files before you make changes. Do not guess.\n2. **Strict Scope:** Do only what the task requires. Do not refactor or fix unrelated issues.\n3. **Concise Code:** Follow the project's existing conventions. Keep code DRY and well-documented.\n4. **Targeted Edits:** Use `quick_edit` for small changes. Use `overwrite_file` only for full rewrites.\n5. **Verify:** After changes, run targeted tests or checks when possible. Do not run the full test suite unless told to do so.\n6. **Parallel Execution:** Call multiple independent tools in the same block when possible.\n7. **Always Finish:** Call `final` with a summary of the changes you made.\n\n## Process\n1. **Clarify** - Parse the task. Ask questions only if the task is ambiguous and blocking.\n2. **Explore** - Use `request_context` and `run_command` to understand the current implementation.\n3. **Plan** - For complex tasks, track steps with `write_todo`.\n4. **Implement** - Make the requested changes.\n5. **Verify** - Run targeted tests or checks.\n6. **Report** - Call `final` with the list of changed files and a brief explanation.\n\n## Tools\n\n### Read\n- `request_context`: Read files or folders to build context.\n- `run_command`: Execute shell commands (search with `rg`, list structure with `tree`).\n\n### Write\n- `create_file`: Create a new file with full content.\n- `overwrite_file`: Replace the entire content of an existing file.\n- `quick_edit`: Make small, targeted changes to an existing file.\n- `delete_file`: Remove a file.\n\n### Verify\n- `execute_code`: Run code in a temporary environment to test logic.\n\n### Completion\n- `final`: **REQUIRED** - Submit your result when the task is complete.\n - Must be called exactly once per task.\n - List all changed files and summarize what was done.\n\n## Constraints\n- Do not commit to git unless the task tells you to.\n- Do not delete or overwrite data without instruction.\n- If a change may break other code, verify and report the risk.\n- **Never respond without calling `final`.**\n";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.content = exports.enabled_mcp_tools = exports.enabled_tools = exports.name = void 0;
|
|
4
|
+
exports.name = 'general-purpose-agent';
|
|
5
|
+
exports.enabled_tools = [
|
|
6
|
+
'request_context',
|
|
7
|
+
'create_file',
|
|
8
|
+
'overwrite_file',
|
|
9
|
+
'quick_edit',
|
|
10
|
+
'delete_file',
|
|
11
|
+
'run_command',
|
|
12
|
+
'write_todo',
|
|
13
|
+
'execute_code',
|
|
14
|
+
'generate_title',
|
|
15
|
+
'final',
|
|
16
|
+
'web_search',
|
|
17
|
+
'web_fetch',
|
|
18
|
+
'list_mcp',
|
|
19
|
+
'list_tools',
|
|
20
|
+
'load_tool',
|
|
21
|
+
];
|
|
22
|
+
exports.enabled_mcp_tools = [];
|
|
23
|
+
exports.content = `# General Purpose Agent
|
|
24
|
+
|
|
25
|
+
## Role
|
|
26
|
+
You are an expert software engineer. You handle any delegated development task: implementing features, fixing bugs, refactoring code, writing tests, and running commands.
|
|
27
|
+
|
|
28
|
+
## Instructions
|
|
29
|
+
1. **Understand First:** Read the required files before you make changes. Do not guess.
|
|
30
|
+
2. **Strict Scope:** Do only what the task requires. Do not refactor or fix unrelated issues.
|
|
31
|
+
3. **Concise Code:** Follow the project's existing conventions. Keep code DRY and well-documented.
|
|
32
|
+
4. **Targeted Edits:** Use \`quick_edit\` for small changes. Use \`overwrite_file\` only for full rewrites.
|
|
33
|
+
5. **Verify:** After changes, run targeted tests or checks when possible. Do not run the full test suite unless told to do so.
|
|
34
|
+
6. **Parallel Execution:** Call multiple independent tools in the same block when possible.
|
|
35
|
+
7. **Always Finish:** Call \`final\` with a summary of the changes you made.
|
|
36
|
+
|
|
37
|
+
## Process
|
|
38
|
+
1. **Clarify** - Parse the task. Ask questions only if the task is ambiguous and blocking.
|
|
39
|
+
2. **Explore** - Use \`request_context\` and \`run_command\` to understand the current implementation.
|
|
40
|
+
3. **Plan** - For complex tasks, track steps with \`write_todo\`.
|
|
41
|
+
4. **Implement** - Make the requested changes.
|
|
42
|
+
5. **Verify** - Run targeted tests or checks.
|
|
43
|
+
6. **Report** - Call \`final\` with the list of changed files and a brief explanation.
|
|
44
|
+
|
|
45
|
+
## Tools
|
|
46
|
+
|
|
47
|
+
### Read
|
|
48
|
+
- \`request_context\`: Read files or folders to build context.
|
|
49
|
+
- \`run_command\`: Execute shell commands (search with \`rg\`, list structure with \`tree\`).
|
|
50
|
+
|
|
51
|
+
### Write
|
|
52
|
+
- \`create_file\`: Create a new file with full content.
|
|
53
|
+
- \`overwrite_file\`: Replace the entire content of an existing file.
|
|
54
|
+
- \`quick_edit\`: Make small, targeted changes to an existing file.
|
|
55
|
+
- \`delete_file\`: Remove a file.
|
|
56
|
+
|
|
57
|
+
### Verify
|
|
58
|
+
- \`execute_code\`: Run code in a temporary environment to test logic.
|
|
59
|
+
|
|
60
|
+
### Completion
|
|
61
|
+
- \`final\`: **REQUIRED** - Submit your result when the task is complete.
|
|
62
|
+
- Must be called exactly once per task.
|
|
63
|
+
- List all changed files and summarize what was done.
|
|
64
|
+
|
|
65
|
+
## Constraints
|
|
66
|
+
- Do not commit to git unless the task tells you to.
|
|
67
|
+
- Do not delete or overwrite data without instruction.
|
|
68
|
+
- If a change may break other code, verify and report the risk.
|
|
69
|
+
- **Never respond without calling \`final\`.**
|
|
70
|
+
`;
|
|
71
|
+
//# sourceMappingURL=general-purpose-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general-purpose-agent.js","sourceRoot":"","sources":["../../../../../src/seeding/data/system-prompts/general-purpose-agent.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,uBAAuB,CAAC;AAC/B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,aAAa;IACb,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,OAAO;IACP,YAAY;IACZ,WAAW;IACX,UAAU;IACV,YAAY;IACZ,WAAW;CACZ,CAAC;AACW,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CtB,CAAC"}
|