@agentprojectcontext/apx 1.31.0 → 1.31.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/package.json +1 -1
- package/skills/apx-agency-agents/SKILL.md +1 -1
- package/skills/apx-agent/SKILL.md +6 -6
- package/skills/apx-project/SKILL.md +1 -2
- package/src/core/agent/self-memory.js +1 -1
- package/src/core/agent-memory.js +64 -0
- package/src/core/agent-system.js +3 -2
- package/src/core/scaffold.js +43 -18
- package/src/core/tools/registry.js +7 -7
- package/src/host/daemon/api/agents.js +19 -21
- package/src/host/daemon/api/sessions-search.js +1 -1
- package/src/host/daemon/api/shared.js +5 -8
- package/src/host/daemon/super-agent-tools/tools/import-agent.js +2 -0
- package/src/host/daemon/super-agent-tools/tools/read-agent-memory.js +5 -4
- package/src/interfaces/cli/commands/agent.js +4 -1
- package/src/interfaces/cli/commands/memory.js +9 -10
- package/src/interfaces/web/dist/assets/{index-CfWyjPBa.js → index-BV615I9p.js} +5 -5
- package/src/interfaces/web/dist/assets/{index-CfWyjPBa.js.map → index-BV615I9p.js.map} +1 -1
- package/src/interfaces/web/dist/index.html +1 -1
- package/src/interfaces/web/src/i18n/en.ts +6 -6
- package/src/interfaces/web/src/i18n/es.ts +6 -6
- package/src/interfaces/web/src/screens/project/AgentDetailScreen.tsx +1 -1
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<link rel="apple-touch-icon" href="/favicon/dark/apple-touch-icon.png" media="(prefers-color-scheme: dark)" />
|
|
19
19
|
<link rel="manifest" href="/favicon/white/site.webmanifest" media="(prefers-color-scheme: light)" />
|
|
20
20
|
<link rel="manifest" href="/favicon/dark/site.webmanifest" media="(prefers-color-scheme: dark)" />
|
|
21
|
-
<script type="module" crossorigin src="/assets/index-
|
|
21
|
+
<script type="module" crossorigin src="/assets/index-BV615I9p.js"></script>
|
|
22
22
|
<link rel="stylesheet" crossorigin href="/assets/index-BDUsA6L6.css">
|
|
23
23
|
</head>
|
|
24
24
|
<body class="bg-background text-foreground antialiased">
|
|
@@ -388,8 +388,8 @@ export const en = {
|
|
|
388
388
|
|
|
389
389
|
agents: {
|
|
390
390
|
title: "Agents",
|
|
391
|
-
subtitle: "Defined in AGENTS.md + .apc/agents/<slug
|
|
392
|
-
subtitle_full: "Defined in AGENTS.md + .apc/agents/<slug
|
|
391
|
+
subtitle: "Defined in AGENTS.md + .apc/agents/<slug>.md.",
|
|
392
|
+
subtitle_full: "Defined in AGENTS.md + .apc/agents/<slug>.md. Runtime memory lives under ~/.apx/projects/<id>/agents/<slug>/.",
|
|
393
393
|
empty: "No agents. Add one with <code>apx agent add</code> or the button.",
|
|
394
394
|
empty_text: "No agents. Add one with `apx agent add` or the button above.",
|
|
395
395
|
new: "Agent",
|
|
@@ -408,7 +408,7 @@ export const en = {
|
|
|
408
408
|
role_label: "role (optional)",
|
|
409
409
|
role_ph: "code refactor",
|
|
410
410
|
model_label: "model (optional)",
|
|
411
|
-
model_hint: "e.g.
|
|
411
|
+
model_hint: "e.g. ollama:gemma2:9b, openai:gpt-4o-mini",
|
|
412
412
|
lang_label: "language (optional)",
|
|
413
413
|
desc_label: "description (optional)",
|
|
414
414
|
desc_ph: "What does this agent do…",
|
|
@@ -423,7 +423,7 @@ export const en = {
|
|
|
423
423
|
create_success: "Agent {slug} created.",
|
|
424
424
|
create_error: "create failed",
|
|
425
425
|
import_title: "Import from vault",
|
|
426
|
-
import_desc: "Templates in ~/.apx/agents.
|
|
426
|
+
import_desc: "Templates in ~/.apx/agents. Registered in this project (.apc/agents/<slug>.md).",
|
|
427
427
|
import_empty: "No templates in the vault.",
|
|
428
428
|
import_success: "Imported: {slug}",
|
|
429
429
|
import_already: "already here",
|
|
@@ -457,7 +457,7 @@ export const en = {
|
|
|
457
457
|
master_label: "Orchestrator (master)",
|
|
458
458
|
delete_btn: "Delete agent",
|
|
459
459
|
save_btn: "Save changes",
|
|
460
|
-
delete_confirm: "Delete agent \"{slug}\"? Removes .apc/agents/{slug}.md and
|
|
460
|
+
delete_confirm: "Delete agent \"{slug}\"? Removes .apc/agents/{slug}.md and local runtime data.",
|
|
461
461
|
update_success: "Agent updated.",
|
|
462
462
|
delete_success: "Agent deleted.",
|
|
463
463
|
tools_hint: "Which tools this agent can use. Tap to toggle; or edit the list below.",
|
|
@@ -566,7 +566,7 @@ export const en = {
|
|
|
566
566
|
project_desc: "Durable facts at the project level. .apc/memory.md — read by agents and the super-agent.",
|
|
567
567
|
project_ph: "# Project Memory\n\nStable facts that any agent should know…",
|
|
568
568
|
agents_title: "Agent memories",
|
|
569
|
-
agents_desc: "Individual memory per agent.
|
|
569
|
+
agents_desc: "Individual memory per agent. ~/.apx/projects/<id>/agents/<slug>/memory.md",
|
|
570
570
|
no_agents: "No agents in this project.",
|
|
571
571
|
saved: "Memory saved.",
|
|
572
572
|
empty: "(empty memory)",
|
|
@@ -389,8 +389,8 @@ export const es = {
|
|
|
389
389
|
|
|
390
390
|
agents: {
|
|
391
391
|
title: "Agents",
|
|
392
|
-
subtitle: "Definidos en AGENTS.md + .apc/agents/<slug
|
|
393
|
-
subtitle_full: "Definidos en AGENTS.md + .apc/agents/<slug
|
|
392
|
+
subtitle: "Definidos en AGENTS.md + .apc/agents/<slug>.md.",
|
|
393
|
+
subtitle_full: "Definidos en AGENTS.md + .apc/agents/<slug>.md. La memoria runtime vive en ~/.apx/projects/<id>/agents/<slug>/.",
|
|
394
394
|
empty: "Sin agents. Agregá uno con <code>apx agent add</code> o el botón.",
|
|
395
395
|
empty_text: "Sin agents. Agregá uno con `apx agent add` o el botón de arriba.",
|
|
396
396
|
new: "Agente",
|
|
@@ -409,7 +409,7 @@ export const es = {
|
|
|
409
409
|
role_label: "role (opcional)",
|
|
410
410
|
role_ph: "code refactor",
|
|
411
411
|
model_label: "model (opcional)",
|
|
412
|
-
model_hint: "ej.
|
|
412
|
+
model_hint: "ej. ollama:gemma2:9b, openai:gpt-4o-mini",
|
|
413
413
|
lang_label: "language (opcional)",
|
|
414
414
|
desc_label: "description (opcional)",
|
|
415
415
|
desc_ph: "Qué hace este agente…",
|
|
@@ -424,7 +424,7 @@ export const es = {
|
|
|
424
424
|
create_success: "Agent {slug} creado.",
|
|
425
425
|
create_error: "create falló",
|
|
426
426
|
import_title: "Importar del vault",
|
|
427
|
-
import_desc: "Plantillas en ~/.apx/agents. Se
|
|
427
|
+
import_desc: "Plantillas en ~/.apx/agents. Se registran en este proyecto (.apc/agents/<slug>.md).",
|
|
428
428
|
import_empty: "Sin plantillas en el vault.",
|
|
429
429
|
import_success: "Importado: {slug}",
|
|
430
430
|
import_already: "ya está",
|
|
@@ -458,7 +458,7 @@ export const es = {
|
|
|
458
458
|
master_label: "Orquestador (master)",
|
|
459
459
|
delete_btn: "Borrar agente",
|
|
460
460
|
save_btn: "Guardar cambios",
|
|
461
|
-
delete_confirm: "Borrar el agente \"{slug}\"? Se elimina .apc/agents/{slug}.md y
|
|
461
|
+
delete_confirm: "Borrar el agente \"{slug}\"? Se elimina .apc/agents/{slug}.md y sus datos runtime locales.",
|
|
462
462
|
update_success: "Agente actualizado.",
|
|
463
463
|
delete_success: "Agente borrado.",
|
|
464
464
|
tools_hint: "Qué tools puede usar el agente. Tocá para activar/desactivar; o editá la lista abajo.",
|
|
@@ -567,7 +567,7 @@ export const es = {
|
|
|
567
567
|
project_desc: "Hechos durables a nivel proyecto. .apc/memory.md — la leen los agentes y el super-agente.",
|
|
568
568
|
project_ph: "# Memoria del proyecto\n\nHechos estables que cualquier agente debería saber…",
|
|
569
569
|
agents_title: "Memorias de agentes",
|
|
570
|
-
agents_desc: "Memoria individual por agente.
|
|
570
|
+
agents_desc: "Memoria individual por agente. ~/.apx/projects/<id>/agents/<slug>/memory.md",
|
|
571
571
|
no_agents: "Sin agentes en este proyecto.",
|
|
572
572
|
saved: "Memoria guardada.",
|
|
573
573
|
empty: "(memoria vacía)",
|
|
@@ -302,7 +302,7 @@ function MemoryEditor({ pid, slug, initial, onSaved }: { pid: string; slug: stri
|
|
|
302
302
|
finally { setBusy(false); }
|
|
303
303
|
};
|
|
304
304
|
return (
|
|
305
|
-
<Section title={t("project.agent_detail.memory_title")} description={
|
|
305
|
+
<Section title={t("project.agent_detail.memory_title")} description={`~/.apx/projects/<id>/agents/${slug}/memory.md — hechos durables que el agente recuerda.`}>
|
|
306
306
|
<Textarea rows={16} className="font-mono text-xs" value={value} onChange={(e) => setValue(e.target.value)} placeholder={t("project.agent_detail.memory_empty")} />
|
|
307
307
|
<div className="mt-2 flex items-center justify-between">
|
|
308
308
|
<span className="text-[11px] text-muted-fg">{value.length} {t("project.memories.chars")}</span>
|