Commit Graph

73 Commits

Author SHA1 Message Date
Haitao Pan
d5f0e9f437 fix(tasks): persist gateway agent terminal state 2026-06-27 12:02:51 +08:00
Haitao Pan
baddb2f13d fix(ci): package runtime asset without recursive dist copy 2026-06-27 11:37:41 +08:00
Haitao Pan
1fe544c984 ci(runtime-release): publish stable runtime-latest tag alongside per-commit
Deployments resolve a deterministic releases/download/runtime-latest/ URL
instead of the mutable /releases/latest/ pointer (which collides with the
human-facing v* release track). Keeps --latest=false so GitHub's "Latest
release" stays on the v* tags. Per-commit runtime-<sha> release retained for
traceability.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 11:30:56 +08:00
48c05db842 ci: build plugin runtime with npm (was pnpm w/ stale lockfile)
The workflow used pnpm install --frozen-lockfile against a stale pnpm-lock.yaml
while the repo migrated to npm (current package-lock.json v3), so it failed and
never published a release -> the deploy's download of
openclaw-multi-session-plugins-runtime-all.tar.gz from releases/latest 404'd.
Switch to npm ci + npm run build and trigger on package-lock.json.
2026-06-21 08:28:00 +00:00
Haitao Pan
c34217e70d ci: add GitHub Actions workflow for runtime release packaging 2026-06-19 19:03:48 +08:00
Haitao Pan
80bbce0955 fix: define openclaw plugin entry 2026-06-18 10:01:19 +08:00
Haitao Pan
df3aab97be fix(artifacts): update export artifacts module 2026-06-17 21:01:47 +08:00
Haitao Pan
0682fbf7cf refactor: share expected artifact dir normalization 2026-06-12 14:49:54 +08:00
Haitao Pan
bec9567f13 fix(deploy): install forced archive builds for OpenClaw plugin 2026-06-12 14:37:17 +08:00
Haitao Pan
dbb7cbfc93 chore(release): bump plugin package version to 2026.6.2 2026-06-12 14:29:12 +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
f0ffa62f52 fix(ci): verify deployed version from package.json 2026-06-06 14:18:03 +08:00
Haitao Pan
8aaae6a8db fix(ci): separate vault deploy secrets 2026-06-06 14:15:19 +08:00
Haitao Pan
48dab93794 fix(ci): use base64 ssh deploy key 2026-06-06 14:14:41 +08:00
Haitao Pan
d4bb8b9ee1 ci: load github actions secrets from vault 2026-06-06 13:33:44 +08:00
Haitao Pan
96468db304 fix(ci): support alternate ssh secret 2026-06-06 12:46:04 +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
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