Commit Graph

52 Commits

Author SHA1 Message Date
Haitao Pan
d5ffc79098 Merge OpenClaw thin adapter refactor
# Conflicts:
#	dist/index.js
#	dist/src/exportArtifacts.js
#	dist/src/taskState.d.ts
#	dist/src/taskState.js
2026-06-06 07:58:35 +08:00
Haitao Pan
ba7b447af6 Simplify OpenClaw multi-session plugin adapter 2026-06-06 07:56:32 +08:00
Haitao Pan
cd3b645abe refactor: simplify task state to read openclawSessionKey directly 2026-06-06 07:25:03 +08:00
8c4dcb45bc
Merge pull request #1 from x-evor/release/v2026.6.1
Release/v2026.6.1
2026-06-06 06:29:46 +08:00
Haitao Pan
8eab228b8a ci: deploy from github when npm package is missing 2026-06-06 06:29:03 +08:00
Haitao Pan
74b350b962 ci: verify npm publish access 2026-06-06 06:25:07 +08:00
Haitao Pan
d3c36d9001 fix: normalize deploy workflow version input 2026-06-06 06:23:31 +08:00
Haitao Pan
9d37a79960 refactor: optimize plugin architecture using OpenClaw 2026.6.1 native capabilities
- Resolve critical task-synchronization and configuration-passing issues
- Leverage task-registry, session.store, and refined gateway routing
- Eliminate redundant manual management and enforce a single source of truth for task states
- Ensure proper propagation of expectedArtifactDirs
2026-06-06 06:11:58 +08:00
Haitao Pan
1448a4c421 chore: ignore packaged plugin archives 2026-06-05 22:10:40 +08:00
Haitao Pan
34be232931 refactor: use OpenClaw native task state 2026-06-05 21:25:29 +08:00
Haitao Pan
c462ed6cce chore: bump version to 2026.6.1 2026-06-05 13:43:00 +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
3bc137be6b chore: add repomix-output.xml to .gitignore 2026-06-05 02:54:20 +00: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
961e8391db chore: bump plugin version to 0.1.10 2026-05-18 17:42:22 +08:00
Haitao Pan
5e36cee987 docs: clarify OpenClaw artifact handoff contract 2026-05-18 17:25:33 +08:00
Haitao Pan
c6ddcfd22b feat: add bridge-backed multi-agent OpenClaw tool 2026-05-18 16:55:40 +08:00
Haitao Pan
56845ab79f test: cover actual OpenClaw run artifact adoption 2026-05-18 16:34:35 +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
097a62e2fa chore: bump openclaw multi-session plugin to 0.1.9 2026-05-07 17:17:42 +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
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
4d1f0aa429 chore: release artifact scope fix 2026-05-06 19:27:19 +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
a89d8c3759 test: cover artifact read limits 2026-05-05 14:48:46 +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
Haitao Pan
966f10d9ef Skip already published npm versions 2026-05-05 11:19:32 +08:00
Haitao Pan
a8e0ba27ed Release xworkmate-artifacts 0.1.1 2026-05-05 11:17:09 +08:00
Haitao Pan
bba99cd970 Fix CI plugin SDK test type 2026-05-05 11:16:21 +08:00
Haitao Pan
05f609f391 Use corepack for pnpm in workflows 2026-05-05 11:14:32 +08:00
Haitao Pan
fa1a9843de Document xworkmate artifacts plugin 2026-05-05 11:14:01 +08:00
Haitao Pan
f5df5f3533 Pin GitHub Actions for org policy 2026-05-05 11:12:21 +08:00