Commit Graph

37 Commits

Author SHA1 Message Date
Haitao Pan
d396760a4e fix(tasks): return durable assistant output 2026-06-27 12:14:01 +08:00
Haitao Pan
6ec2c10924 fix(tasks): distinguish prepared from terminal run state 2026-06-27 12:07:27 +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
0682fbf7cf refactor: share expected artifact dir normalization 2026-06-12 14:49:54 +08:00
Haitao Pan
e75176db39 feat(artifacts): validate required export constraints 2026-06-12 14:08:08 +08:00
Haitao Pan
fc6a02ac1a fix(taskState): report artifact fallback as unknown evidence 2026-06-12 14:08:02 +08:00
Haitao Pan
35379f2fb0 fix: resolve xworkmate task snapshots from artifacts 2026-06-08 07:13:40 +08:00
Haitao Pan
4cf4ae49af Create session mapping entries during prepare 2026-06-06 10:26:55 +08:00
Haitao Pan
529965aa3b Keep OpenClaw artifact export task scoped 2026-06-06 08:16:28 +08:00
Haitao Pan
d887df0f64 Refactor: Fix path breakage by copying global media to task scope, flatten workspace resolution cascade 2026-06-06 08:06:50 +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
1e0658e004 fix(artifacts): apply per-run artifact ignore rules 2026-06-02 04:46:01 +08:00
Haitao Pan
9bc52e7861 Adapt plugin to OpenClaw 2026.5.28 2026-06-01 10:54:17 +08:00
Haitao Pan
260380531b fix(artifacts): remove thread workspace adoption 2026-05-29 13:32:15 +08:00
Haitao Pan
c8f379847b fix: export thread image artifacts 2026-05-29 11:40:51 +08:00
Haitao Pan
ccbad4934e Fix XWorkmate artifact export fallback 2026-05-25 13:16:17 +08:00
Haitao Pan
c6ddcfd22b feat: add bridge-backed multi-agent OpenClaw tool 2026-05-18 16:55:40 +08:00
Haitao Pan
b68fc811c9 Adopt OpenClaw root artifacts into task scope 2026-05-18 06:26:53 +08:00
Haitao Pan
29e09701b8 Clarify empty OpenClaw artifact runs 2026-05-12 15:12:31 +08:00
Haitao Pan
5c686f95b2 Clarify unprepared artifact scopes 2026-05-11 17:23:56 +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
aa0c2323ea fix: export latest session task artifacts 2026-05-07 10:10:13 +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
a8b75f0aa8 fix: publish task scoped artifacts 2026-05-06 19:41:07 +08:00
Haitao Pan
06978b7dd4 fix: align task artifact scope 2026-05-06 18:58:58 +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
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