183 Commits
Author SHA1 Message Date
Yota Hamada e52fc116e5 fix: initialize compacted session loop immediately (#1832) 2026-03-23 13:09:54 +09:00
Yota Hamada 182e22398e fix: keep agent approval prompts alive (#1800) 2026-03-19 17:04:31 +09:00
Yota Hamada 8ef955e324 fix: harden bot session continuity and responsiveness (#1793) 2026-03-19 12:57:59 +09:00
Yota Hamada 443f13bd83 feat: Telegram bot for AI agent interaction (#1783) 2026-03-16 20:05:00 +09:00
Yota Hamada 98c3725a5a fix: harden agent chat SSE transport (#1781) 2026-03-16 14:51:18 +09:00
Yota Hamada 055bd21753 feat: add Z.AI (GLM models) as LLM provider (#1780) 2026-03-16 14:19:53 +09:00
Yota Hamada 438bb29c17 Stabilize multiplexed SSE connection management (#1768) 2026-03-14 12:07:29 +09:00
Yota Hamada 1c234b3253 feat: add server-side sorting for doc tree sidebar (#1759) 2026-03-12 23:46:33 +09:00
Yota Hamada b962e5302b feat: multi-select, batch delete & keyboard shortcuts for doc tree (#1756) 2026-03-12 00:18:04 +09:00
Yota Hamada 12c2e5395b refactor: use SeedReferences return value and consolidate reference prompt section 2026-03-11 01:17:55 +09:00
Yota Hamada d6d3b8a7cc feat: add references for builtin ai agent (#1751) 2026-03-10 18:38:21 +09:00
Yota Hamada b581118067 chore: add GPL-3.0 license headers to source files
Add copyright and SPDX license identifier headers to all Go source
files, test files, shell scripts, and proto files.
2026-03-09 18:38:11 +09:00
Yota Hamada 5cc7cf3162 feat: enhance agent system prompt with DAG authoring guidance
Add step reference rules, command vs script guidance, data passing
patterns, and built-in environment variables to the system prompt
so the AI agent produces correct DAGs without needing a separate skill.
2026-03-08 20:28:11 +09:00
Yota Hamada 403e902a02 feat: add copy file path button to doc editor header (#1741) 2026-03-08 14:16:57 +09:00
Yota Hamada 2e5af67776 feat: add DAG_DOCS_DIR and DAG_PARAMS_JSON special environment variables (#1731) 2026-03-07 20:12:27 +09:00
Yota Hamada 5d7fd95abb fix: repair orphaned tool calls across entire LLM history
The previous implementation only checked the last assistant message for
orphaned tool calls. Mid-conversation crashes or cancellations could
leave orphaned tool_use blocks earlier in the history, causing Anthropic
API errors. Now scans the full history and inserts synthetic cancelled
results for any unmatched tool calls.

Reported-by: hamadayouta
2026-03-07 01:18:01 +09:00
Yota Hamada c9b6a1c2b5 feat: add DAGU_DOCS_DIR configurable environment variable
Add DocsDir as an independently configurable path (default: {dags_dir}/docs).
Previously the docs directory was always derived from DAGsDir. Now users can
override it via DAGU_DOCS_DIR env var or paths.docs_dir in config YAML.

Also updates the AI agent system prompt to reference DocsDir and note
that DAGU_DAGS_DIR and DAGU_DOCS_DIR are configurable.
2026-03-05 22:39:55 +09:00
Yota Hamada 017880d970 refactor: remove read_schema agent tool in favor of dagu schema CLI (#1726) 2026-03-05 20:16:13 +09:00
Yota Hamada 217625ed88 feat: harden AI agent system prompt with graph type, doc output, and safe content passing rules 2026-03-05 19:54:26 +09:00
Yota Hamada 2364eae390 feat: add schema and examples command (#1724) 2026-03-05 14:32:23 +09:00
Yota Hamada 9385988946 fix: agent step hanging after LLM response (#1718) 2026-03-03 21:17:44 +09:00
Yota Hamada e6b80557a1 fix: harden agent modal stability (#1717) 2026-03-03 19:29:16 +09:00
Yota Hamada b5df396d90 feat: remote agent (#1707) 2026-02-28 10:20:27 +09:00
Yota Hamada 166be0154a refactor: use agent native websearch (#1706) 2026-02-27 17:27:41 +09:00
Yota Hamada b1533f2443 feat: document tree and viewer (#1705) 2026-02-27 16:59:14 +09:00
Yota Hamada af945910c9 feat: support for agent soul (#1696) 2026-02-22 18:27:22 +09:00
Yota Hamada e22497e4e0 feat: enhance agent session management (#1692) 2026-02-21 17:05:26 +09:00
Yota Hamada 1dd37c2d80 feat: wiring agent skills (#1689) 2026-02-19 23:01:50 +09:00
Yota Hamada 4d640a5d79 feat: sub agents (#1685) 2026-02-18 20:24:20 +09:00
Yota Hamada ae13102051 feat: agent skill management (#1684) 2026-02-16 23:55:22 +09:00
Yota Hamada de49170913 refactor: streamline agent package structure (#1683) 2026-02-15 23:33:11 +09:00
Yota Hamada 4de003c524 feat: agent step type (#1681) 2026-02-15 21:38:50 +09:00
Yota Hamada f460e2e1bb feat: adopt DAG schema to snake_case (#1670) 2026-02-14 18:09:40 +09:00
Yota Hamada 9b2b943087 feat: Agent tool permission (#1667) 2026-02-14 03:47:28 +09:00
Yota Hamada c782485ae4 refactor: apply minor improvements 2026-02-14 00:40:48 +09:00
Yota Hamada 7bbf1cefd1 feat: improve system status graph and add developer role (#1664) 2026-02-14 00:37:08 +09:00
Yota Hamada d5c68c55e2 feat: agent memory system (#1659) 2026-02-13 22:21:35 +09:00
Yota Hamada 5394d09878 chore: Upgrade to go 1.26 (#1655) 2026-02-12 22:37:40 +09:00
Yota Hamada 5c7afbbfed reafctor: renaming persistence store for clarity (#1653) 2026-02-12 11:57:06 +09:00
Yota Hamada d44040ced7 feat: agent model selection (#1651) 2026-02-11 23:40:00 +09:00
Yota Hamada 2a21bcf426 feat: add config schema (#1639) 2026-02-06 23:26:31 +09:00
Yota Hamada fd7fabeb33 feat: agent audit logging (#1637) 2026-02-06 19:51:24 +09:00
Yota Hamada 98f8c10884 chore: rename v2 api (#1626) 2026-02-04 22:53:33 +09:00
Yota Hamada 29929211b3 feat: router step type (#1624) 2026-02-03 13:06:32 +09:00
Yota Hamada 46743a4bd4 feat: safe mode toggle for agent (#1620) 2026-02-02 16:26:07 +09:00
Yota Hamada 96071865ca feat: history subcommand (#1621) 2026-02-02 15:55:10 +09:00
Yota Hamada 1a0ad06c93 feat: chat assistant (#1615)
* **New Features**
* Admin UI/API to view and update AI agent settings (enable, provider,
model).
* Built-in conversational agent with persistent conversations, streaming
chat, prompts, and interactive flows.
* New agent tools: shell (bash), file read/patch, navigate, schema
reader, web search, think notes, and ask-user prompt.
  * DAG details responses now include the DAG spec (YAML).

* **Chores**
* Configuration, storage, and CLI plumbing to support the agent feature.
  * Removed embedding of the DAG JSON schema from frontend assets.
2026-02-01 20:13:20 +09:00
YotaHamada 85439bc71e Refactor internal packages into layered architecture (#1319) 2025-10-13 03:52:00 +09:00
YotaHamada 17e719382d Add Executor Validation and Shebang Handling in Scripts (#1318) 2025-10-12 13:48:39 +09:00
YotaHamada 1133d2b725 feat: limit system environment variables passed to step processes (#1303) 2025-10-10 02:29:42 +09:00