@dev.sail.money/sailor 1.2.0-75 → 1.2.0-77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +2 -1
- package/packages/cli/dist/index.cjs +296 -206
- package/packages/sdk/dist/intelligence.d.ts +1 -1
- package/packages/sdk/dist/intelligence.js +1 -1
- package/scripts/check-docs.mjs +1 -1
- package/scripts/check-init.mjs +16 -13
- package/scripts/check-update.mjs +177 -0
- package/templates/default/.agents/skills/sail-automation/SKILL.md +50 -0
- package/templates/default/.agents/skills/sail-automation/references/docker-vm.md +113 -0
- package/templates/default/.agents/skills/sail-automation/references/github-actions.md +50 -0
- package/templates/default/.agents/skills/sail-automation/references/local-daemon.md +34 -0
- package/templates/default/.agents/skills/sail-automation/references/self-hosted-runner.md +72 -0
- package/templates/default/.agents/skills/sail-onboarding/SKILL.md +2 -0
- package/templates/default/AGENTS.md +1 -1
- package/templates/default/Dockerfile +18 -0
- package/templates/default/_dockerignore +15 -0
- package/templates/default/.agents/skills/sail-ci/SKILL.md +0 -63
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ The path from nothing to a running agent follows the protocol lifecycle:
|
|
|
62
62
|
2. **Author your permissions** — describe what the agent may do. Permission contracts encode the bounds: tokens, amounts, venues, call targets. Author them in the scaffolded Foundry workspace.
|
|
63
63
|
3. **Simulate, deploy, and sign your mandate** — `sailor mandate simulate` probes a permission off-chain before authorizing it. `sailor mandate deploy --attach` deploys and registers it on-chain. `sailor mandate sign` builds and signs the registration payload against live on-chain state.
|
|
64
64
|
4. **Run** — `sailor run` executes the agent loop. Three execution hosts compose: run it locally on a schedule, install it as a local OS service (`sailor service install` — launchd/systemd/Task Scheduler) that restarts on crash, or let the GitHub Actions cron workflow the scaffold provides run it. `sailor trigger github` fires that workflow on demand.
|
|
65
|
-
5. **Operate** — `sailor doctor` checks kernel health and gas balances; `sailor chains` lists supported chains and deployment addresses; `sailor session pause` instantly revokes dispatch rights without touching Safe custody.
|
|
65
|
+
5. **Operate** — `sailor doctor` checks kernel health and gas balances; `sailor chains` lists supported chains and deployment addresses; `sailor session pause` instantly revokes dispatch rights without touching Safe custody. After a CLI upgrade, `sailor update` resyncs agent tooling files (skills, `AGENTS.md`, `Dockerfile`) without touching user code or runtime state.
|
|
66
66
|
|
|
67
67
|
Run `npx sailor init my-agent`, open the scaffolded folder in Claude Code, Cursor, or any AI coding assistant, and say **"start"**.
|
|
68
68
|
|
|
@@ -158,6 +158,9 @@ sailor trigger github # fire the agent's GitHub Actions workflow on demand
|
|
|
158
158
|
|
|
159
159
|
# Dashboard
|
|
160
160
|
sailor ui start # prints the per-project dashboard URL
|
|
161
|
+
|
|
162
|
+
# Maintenance
|
|
163
|
+
sailor update # re-sync skills, AGENTS.md, and tooling files after a CLI upgrade
|
|
161
164
|
```
|
|
162
165
|
|
|
163
166
|
`sailor run` writes reverted transactions to stderr as `reverted: <txHash> (gas used: N)`; successful dispatches are appended to `.sail/activity.jsonl`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev.sail.money/sailor",
|
|
3
|
-
"version": "1.2.0-
|
|
3
|
+
"version": "1.2.0-77",
|
|
4
4
|
"description": "Operator toolkit for Sail Protocol",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sailor": "packages/cli/dist/index.cjs"
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"typecheck": "pnpm --filter @sail/sdk build && pnpm -r typecheck",
|
|
32
32
|
"docs:check": "node scripts/check-docs.mjs",
|
|
33
33
|
"init:check": "node scripts/check-init.mjs",
|
|
34
|
+
"update:check": "node scripts/check-update.mjs",
|
|
34
35
|
"eval": "node evals/run.mjs",
|
|
35
36
|
"lint": "biome check ."
|
|
36
37
|
},
|