Commit Graph

21 Commits

Author SHA1 Message Date
Haitao Pan
d396760a4e fix(tasks): return durable assistant output 2026-06-27 12:14:01 +08:00
Haitao Pan
d5f0e9f437 fix(tasks): persist gateway agent terminal state 2026-06-27 12:02:51 +08:00
Haitao Pan
80bbce0955 fix: define openclaw plugin entry 2026-06-18 10:01:19 +08:00
Haitao Pan
ba7b447af6 Simplify OpenClaw multi-session plugin adapter 2026-06-06 07:56:32 +08:00
Haitao Pan
34be232931 refactor: use OpenClaw native task state 2026-06-05 21:25:29 +08:00
Haitao Pan
af9313bf14 refactor(artifacts): remove snapshotSourceRoots and manifestMarkdown from payload 2026-06-05 13:40:28 +08:00
Haitao Pan
e03f59c2a4 feat(artifacts): auto-prepare on session.start and support expectedArtifactDirs
- Register session.start hook to call prepareXWorkmateArtifacts best-effort
  so subsequent export calls have a ready scope.
- Use scope directory birthtime/mtime as a floor for sinceUnixMs when the
  scope is already prepared, so files written before export are still
  picked up.
- Fall back to scanning params.expectedArtifactDirs (under workspaceRoot)
  when no scoped candidates are found, so callers can point at ad-hoc
  output directories.
2026-06-05 12:46:33 +08:00
Haitao Pan
2695c38612 feat(artifacts): add xworkmate.artifacts.collect-and-snapshot gateway method
Adds a new gateway method that copies recent outputs from the OpenClaw media
and tmp directories into the current task scope's artifacts directory,
returning a snapshot manifest. XWorkmate Bridge can then call the existing
xworkmate.artifacts.export to hand the snapshot to the XWorkmate APP.
2026-06-05 11:50:53 +08:00
Haitao Pan
9bc52e7861 Adapt plugin to OpenClaw 2026.5.28 2026-06-01 10:54:17 +08:00
Haitao Pan
c6ddcfd22b feat: add bridge-backed multi-agent OpenClaw tool 2026-05-18 16:55:40 +08:00
Haitao Pan
0ee969ea16 Restrict artifacts to current task scope 2026-05-11 11:45:32 +08:00
Haitao Pan
88b073d9d3 fix: align openclaw artifact task scopes 2026-05-07 17:12:50 +08:00
Haitao Pan
bbc21098f7 fix: enforce openclaw artifact session scope 2026-05-07 17:02:55 +08:00
Haitao Pan
b9c05e3657 chore: rename plugin for multi-session scope 2026-05-07 11:26:34 +08:00
Haitao Pan
1d9887e77b fix: restore tasks artifact scope 2026-05-06 20:10:45 +08:00
Haitao Pan
6d481d3152 fix: restore xworkmate task artifact scope 2026-05-06 19:50:40 +08:00
Haitao Pan
74ea384374 fix: declare xworkmate artifact tool contract 2026-05-06 18:34:05 +08:00
Haitao Pan
ac3a285dc2 feat: add scoped OpenClaw artifact exports 2026-05-06 09:33:54 +08:00
Haitao Pan
856c9a6f3d Fix agent tool result typing 2026-05-05 11:46:02 +08:00
Haitao Pan
88f26bdbee Add artifact list and read plugin methods 2026-05-05 11:43:40 +08:00
Haitao Pan
d9491aaa2a Ship compiled npm plugin package 2026-05-05 11:21:54 +08:00