clawpowers 1.1.3 → 2.0.0
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/CHANGELOG.md +94 -0
- package/LICENSE +44 -0
- package/README.md +202 -384
- package/SECURITY.md +72 -0
- package/dist/index.d.ts +844 -0
- package/dist/index.js +2536 -0
- package/dist/index.js.map +1 -0
- package/package.json +52 -42
- package/.claude-plugin/manifest.json +0 -19
- package/.codex/INSTALL.md +0 -36
- package/.cursor-plugin/manifest.json +0 -21
- package/.opencode/INSTALL.md +0 -52
- package/ARCHITECTURE.md +0 -69
- package/bin/clawpowers.js +0 -625
- package/bin/clawpowers.sh +0 -91
- package/docs/demo/clawpowers-demo.cast +0 -197
- package/docs/demo/clawpowers-demo.gif +0 -0
- package/docs/launch-images/25-skills-breakdown.jpg +0 -0
- package/docs/launch-images/clawpowers-vs-superpowers.jpg +0 -0
- package/docs/launch-images/economic-code-optimization.jpg +0 -0
- package/docs/launch-images/native-vs-bridge-2.jpg +0 -0
- package/docs/launch-images/native-vs-bridge.jpg +0 -0
- package/docs/launch-images/post1-hero-lobster.jpg +0 -0
- package/docs/launch-images/post2-dashboard.jpg +0 -0
- package/docs/launch-images/post3-superpowers.jpg +0 -0
- package/docs/launch-images/post4-before-after.jpg +0 -0
- package/docs/launch-images/post5-install-now.jpg +0 -0
- package/docs/launch-images/ultimate-stack.jpg +0 -0
- package/docs/launch-posts.md +0 -76
- package/docs/quickstart-first-transaction.md +0 -204
- package/gemini-extension.json +0 -32
- package/hooks/session-start +0 -205
- package/hooks/session-start.cmd +0 -43
- package/hooks/session-start.js +0 -163
- package/runtime/demo/README.md +0 -78
- package/runtime/demo/x402-mock-server.js +0 -230
- package/runtime/feedback/analyze.js +0 -621
- package/runtime/feedback/analyze.sh +0 -546
- package/runtime/init.js +0 -210
- package/runtime/init.sh +0 -178
- package/runtime/metrics/collector.js +0 -361
- package/runtime/metrics/collector.sh +0 -308
- package/runtime/payments/ledger.js +0 -305
- package/runtime/payments/ledger.sh +0 -262
- package/runtime/payments/pipeline.js +0 -459
- package/runtime/persistence/store.js +0 -433
- package/runtime/persistence/store.sh +0 -303
- package/skill.json +0 -106
- package/skills/agent-bounties/SKILL.md +0 -553
- package/skills/agent-payments/SKILL.md +0 -479
- package/skills/brainstorming/SKILL.md +0 -233
- package/skills/content-pipeline/SKILL.md +0 -282
- package/skills/cross-project-knowledge/SKILL.md +0 -345
- package/skills/dispatching-parallel-agents/SKILL.md +0 -305
- package/skills/economic-code-optimization/SKILL.md +0 -265
- package/skills/executing-plans/SKILL.md +0 -255
- package/skills/finishing-a-development-branch/SKILL.md +0 -260
- package/skills/formal-verification-lite/SKILL.md +0 -441
- package/skills/learn-how-to-learn/SKILL.md +0 -235
- package/skills/market-intelligence/SKILL.md +0 -323
- package/skills/meta-skill-evolution/SKILL.md +0 -325
- package/skills/prospecting/SKILL.md +0 -454
- package/skills/receiving-code-review/SKILL.md +0 -225
- package/skills/requesting-code-review/SKILL.md +0 -206
- package/skills/security-audit/SKILL.md +0 -353
- package/skills/self-healing-code/SKILL.md +0 -369
- package/skills/subagent-driven-development/SKILL.md +0 -244
- package/skills/systematic-debugging/SKILL.md +0 -355
- package/skills/test-driven-development/SKILL.md +0 -416
- package/skills/using-clawpowers/SKILL.md +0 -160
- package/skills/using-git-worktrees/SKILL.md +0 -261
- package/skills/verification-before-completion/SKILL.md +0 -254
- package/skills/writing-plans/SKILL.md +0 -276
- package/skills/writing-skills/SKILL.md +0 -260
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to ClawPowers are documented here.
|
|
4
|
+
|
|
5
|
+
## [2.0.0] - 2026-04-03
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- **Complete TypeScript rewrite.** The v1.x shell-script runtime has been replaced with a fully typed TypeScript library.
|
|
10
|
+
- **No agent control loop.** ClawPowers is now a pure capability library — bring your own agent framework.
|
|
11
|
+
- **ESM-only.** Requires Node.js 20+.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Payments module** — x402 detection (`detect402`), `SpendingPolicy` enforcement, `PaymentExecutor` with append-only audit log. Fees: 0.77% tx / 0.30% swap.
|
|
16
|
+
- **Memory module** — `WorkingMemoryManager` (in-process, token-budgeted), `EpisodicMemory` (JSONL append-only), `ProceduralMemory` (atomic JSON), `CheckpointManager` (crash recovery), `ContextInjector` (relevant memory selection).
|
|
17
|
+
- **RSI module** — `MetricsCollector`, `HypothesisEngine`, `MutationEngine`, `ABTestManager`, `RSIAuditLog`, `AutoResearcher`. Full measure → hypothesize → mutate → A/B test → promote/rollback cycle.
|
|
18
|
+
- **Wallet module** — `WalletManager`, `generateWallet`, `importWallet`, `signMessage` with AES-256-GCM encryption at rest.
|
|
19
|
+
- **Skills module** — `discoverSkills`, `loadSkillManifest`, `SkillExecutor` with outcome tracking.
|
|
20
|
+
- **Config module** — Zod-validated config, dot-notation access, profile support.
|
|
21
|
+
- **Framework demos** — LangChain (`demos/langchain.ts`), Claude Code (`demos/claude-code.md`), ElizaOS (`demos/elizaos.ts`).
|
|
22
|
+
- **231 TypeScript tests** — full coverage across all modules.
|
|
23
|
+
- **BSL 1.1 license** with Change Date April 3, 2030.
|
|
24
|
+
- **SECURITY.md** with vulnerability reporting policy and security design principles.
|
|
25
|
+
|
|
26
|
+
### Compatibility
|
|
27
|
+
|
|
28
|
+
Drop-in library for: LangChain, LangGraph, Claude Code, Cursor, ElizaOS, AutoGen, CrewAI, Agent Zero, any MCP-compatible host.
|
|
29
|
+
|
|
30
|
+
### Removed
|
|
31
|
+
|
|
32
|
+
- Shell-script runtime (v1.x skills)
|
|
33
|
+
- CLI binary (`clawpowers` command)
|
|
34
|
+
- Agent control loop (use ClawPowers-Agent for that)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [1.1.3] - 2026-03-22
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- **Unified Payment Decision Pipeline** (`runtime/payments/pipeline.js`) — 8-step flow for evaluating payment boundaries across all skills
|
|
42
|
+
- **Agent-to-Agent Bounties skill** (`skills/agent-bounties/`) — 6-phase escrow lifecycle for agent hiring
|
|
43
|
+
- **Premium enrichment** in prospecting skill — x402-aware paid data sources
|
|
44
|
+
- **5-minute transaction quickstart** (`docs/quickstart-first-transaction.md`) — JS + Python paths
|
|
45
|
+
- **Demo README** (`runtime/demo/README.md`) — x402 flow walkthrough with curl examples
|
|
46
|
+
- **30 natural language triggers** in skill.json — purchase intents, payment management, demo commands
|
|
47
|
+
- "Payments are optional" README section with regulatory disclaimer and patent positioning
|
|
48
|
+
- Smart `update` command — detects npm vs git install
|
|
49
|
+
|
|
50
|
+
## [1.1.2] - 2026-03-22
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
|
|
54
|
+
- **Config.json on init** — payments disabled by default, dry-run mode, $0 limits
|
|
55
|
+
- **Payment ledger** (`~/.clawpowers/logs/payments.jsonl`) — full audit trail
|
|
56
|
+
- **Wallet activation wizard** (`npx clawpowers payments setup`) — interactive, non-scary
|
|
57
|
+
- **x402 Mock Merchant** (`npx clawpowers demo x402`) — test payments with zero risk
|
|
58
|
+
- **Dry-run mode** documentation in agent-payments skill
|
|
59
|
+
- **Payment moment hooks** in market-intelligence + security-audit skills
|
|
60
|
+
- Updated using-clawpowers trigger map
|
|
61
|
+
- Standardized `.env.example` across all projects
|
|
62
|
+
|
|
63
|
+
## [1.1.1] - 2026-03-22
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
|
|
67
|
+
- **economic-code-optimization skill** (25th skill) — ROI-tracked micro-budget spending
|
|
68
|
+
- 4 RSI intelligence skills: meta-skill-evolution, self-healing-code, cross-project-knowledge, formal-verification-lite
|
|
69
|
+
- 2 skills enhanced: test-driven-development (+mutation testing), systematic-debugging (+hypothesis memory)
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- README rewritten (381 lines)
|
|
74
|
+
- +994 lines inline JSDoc comments across 12 code files
|
|
75
|
+
|
|
76
|
+
## [1.1.0] - 2026-03-21
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- agent-payments skill rewritten for agentwallet-sdk v6.0.0
|
|
81
|
+
- OpenClaw skill.json manifest
|
|
82
|
+
- Security Model section in README
|
|
83
|
+
- Agent Payment Demo (3-step walkthrough)
|
|
84
|
+
- Demo GIF (asciinema recording, 621KB)
|
|
85
|
+
|
|
86
|
+
## [1.0.0] - 2026-03-21
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
|
|
90
|
+
- Initial release — 20 core skills
|
|
91
|
+
- Dual runtime (bash + Node.js)
|
|
92
|
+
- Session hooks for Claude Code, Cursor, Codex, OpenCode, Gemini CLI
|
|
93
|
+
- Metrics collection and RSI feedback loop
|
|
94
|
+
- 366 tests passing
|
package/LICENSE
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Parameters
|
|
4
|
+
|
|
5
|
+
Licensor: AI Agent Economy
|
|
6
|
+
Licensed Work: ClawPowers v2.0.0
|
|
7
|
+
The Licensed Work is (c) 2026 AI Agent Economy.
|
|
8
|
+
Additional Use Grant: Non-production use (development, testing, personal
|
|
9
|
+
projects, academic research) is permitted without a
|
|
10
|
+
commercial license.
|
|
11
|
+
Change Date: April 3, 2030
|
|
12
|
+
Change License: Apache License, Version 2.0
|
|
13
|
+
|
|
14
|
+
-----------------------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
Terms
|
|
17
|
+
|
|
18
|
+
The Licensor grants you the right to copy, modify, create derivative works,
|
|
19
|
+
redistribute, and make non-production use of the Licensed Work. The Licensor
|
|
20
|
+
may make an Additional Use Grant permitting limited production use.
|
|
21
|
+
|
|
22
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
23
|
+
available distribution of a specific version of the Licensed Work under this
|
|
24
|
+
License, whichever comes first, the Licensor grants you rights under the terms
|
|
25
|
+
of the Change License, and the rights granted above terminate.
|
|
26
|
+
|
|
27
|
+
If your use of the Licensed Work does not comply with the requirements in this
|
|
28
|
+
License, you must purchase a commercial license from the Licensor or refrain
|
|
29
|
+
from using the Licensed Work.
|
|
30
|
+
|
|
31
|
+
All copies of the original and modified Licensed Work, and derivative works,
|
|
32
|
+
are subject to this License. This License applies separately for each version
|
|
33
|
+
of the Licensed Work.
|
|
34
|
+
|
|
35
|
+
You must conspicuously display this License on each original or modified copy
|
|
36
|
+
of the Licensed Work.
|
|
37
|
+
|
|
38
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
39
|
+
terminate your rights under this License.
|
|
40
|
+
|
|
41
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
42
|
+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
43
|
+
EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
44
|
+
PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|