{"_id":"@akalsey/openclaw-thinking","_rev":"6-5ef6b8bfbc10197b87f241d8ab95ee80","name":"@akalsey/openclaw-thinking","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@akalsey/openclaw-thinking","version":"0.1.0","_id":"@akalsey/openclaw-thinking@0.1.0","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"dist":{"shasum":"7fe9238cea456c38072bacb646d1635f68238dba","tarball":"https://registry.npmjs.org/@akalsey/openclaw-thinking/-/openclaw-thinking-0.1.0.tgz","fileCount":21,"integrity":"sha512-fHdXI877rjWccCf0BdeQm4z0A12o2U2N2f6l4LSp+n1rUPLG8+laIk83pPq7J8bzOE8i+b4defSB+FOOb3380w==","signatures":[{"sig":"MEUCIQD5bDlzeSAhkUAaJarQDsQctbENWR/0nWg3XTYtUJbdBwIgUrGQLRHeC5Nd6uTsc6Y2cmdvu0N6FbaInchnQ0tHphI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49027},"main":"./dist/index.js","type":"module","exports":{".":"./dist/index.js"},"gitHead":"10b27df3b0acf6aabe9c85fdffeac48006b88a0b","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"akalsey","email":"adam@kalsey.com"},"openclaw":{"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"localPath":"."},"extensions":["./dist/index.js"]},"_npmVersion":"11.13.0","description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@sinclair/typebox":"^0.33.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","openclaw":"latest","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"openclaw":">=2026.3.24-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-thinking_0.1.0_1779424824729_0.6111375281308178","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @akalsey/sapience-thinking"},"0.1.1":{"name":"@akalsey/openclaw-thinking","version":"0.1.1","_id":"@akalsey/openclaw-thinking@0.1.1","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"dist":{"shasum":"adede9f98c7f04aca586da801b263d540df15167","tarball":"https://registry.npmjs.org/@akalsey/openclaw-thinking/-/openclaw-thinking-0.1.1.tgz","fileCount":14,"integrity":"sha512-4ROXDRFYM1FIqQc/frKOCqVAt+8PSADXGRbSl2I6s0dsOie2VxRG7KHw3tSlrFfD3q2kRARv1IJR/EJ3UDz2jA==","signatures":[{"sig":"MEUCIBHo4mL7t9UTcs4dAbbKAQeHht9sIVovBZncRSdvzboQAiEA19GY6CUewji4UduoxMovQA2elab/o3KQPakB75m2yjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28219},"main":"./dist/index.js","type":"module","exports":{".":"./dist/index.js"},"gitHead":"f1b1febcca21adfba5d6ba11efc67803d1b445ca","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"akalsey","email":"adam@kalsey.com"},"openclaw":{"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"localPath":"."},"extensions":["./dist/index.js"]},"_npmVersion":"11.13.0","description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@sinclair/typebox":"^0.33.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","openclaw":"latest","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"openclaw":">=2026.3.24-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-thinking_0.1.1_1779425054295_0.7200328357001335","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @akalsey/sapience-thinking"},"0.1.2":{"name":"@akalsey/openclaw-thinking","version":"0.1.2","_id":"@akalsey/openclaw-thinking@0.1.2","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"dist":{"shasum":"20ed2f8150e9f17edd4935d5f9c1ba4508762bd0","tarball":"https://registry.npmjs.org/@akalsey/openclaw-thinking/-/openclaw-thinking-0.1.2.tgz","fileCount":14,"integrity":"sha512-UOKa/pumwN06N7hvdFWVRo5xxIdTnClScFA7vx8US3QBGe3fnYUmKFiUvP3UanhRjrjpZSNKeDWMecffFijVnw==","signatures":[{"sig":"MEUCIQCQswPiNRJ2Bx8WUW/JMT/eWgVWafqq+gWe5K39EZbdkgIgWmjj2N7k9PHQ/IXgfzDj/0fxEHPH9DEzKkRFIR+zswU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28200},"main":"./dist/index.js","type":"module","exports":{".":"./dist/index.js"},"gitHead":"b70d59d46562e15bcf869902d2a8227a82ab834d","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"akalsey","email":"adam@kalsey.com"},"openclaw":{"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"localPath":"."},"extensions":["./dist/index.js"]},"_npmVersion":"11.13.0","description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@sinclair/typebox":"^0.33.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","openclaw":"latest","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"openclaw":">=2026.3.24-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-thinking_0.1.2_1779425617042_0.011918431403563856","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @akalsey/sapience-thinking"},"0.1.3":{"name":"@akalsey/openclaw-thinking","version":"0.1.3","_id":"@akalsey/openclaw-thinking@0.1.3","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"dist":{"shasum":"e4a609859598c8fd94afbbf318195557808a763b","tarball":"https://registry.npmjs.org/@akalsey/openclaw-thinking/-/openclaw-thinking-0.1.3.tgz","fileCount":14,"integrity":"sha512-MVzPOwjWB5DJjcuXJQ4L+1wBGiNCYpu/a7qgPMgC7JmqWAcDXVx6Enla9MQa3Y3MlPCrURwOo0MSkVExy1+HmQ==","signatures":[{"sig":"MEUCIQDuQjZusaYZj1L+dcBXH2xXX1szJRgS9honzRgiaR/jiwIgVI5zR10mETdLONKWB/olqJdQaMILLaSUoTf/AJWr3WE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28384},"main":"./dist/index.js","type":"module","exports":{".":"./dist/index.js"},"gitHead":"3e900a4a1e599c5e00a9478066ffce59b64c272c","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"akalsey","email":"adam@kalsey.com"},"openclaw":{"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"localPath":"."},"extensions":["./dist/index.js"]},"_npmVersion":"11.13.0","description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@sinclair/typebox":"^0.33.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","openclaw":"latest","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"openclaw":">=2026.3.24-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-thinking_0.1.3_1779426084363_0.8348797378959971","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @akalsey/sapience-thinking"},"0.1.4":{"name":"@akalsey/openclaw-thinking","version":"0.1.4","_id":"@akalsey/openclaw-thinking@0.1.4","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"dist":{"shasum":"67b5b3ed3938f633c66e34fc31d4380d3d4a28ac","tarball":"https://registry.npmjs.org/@akalsey/openclaw-thinking/-/openclaw-thinking-0.1.4.tgz","fileCount":14,"integrity":"sha512-WnoUurHLkdCVC2kxoZ5FAyMz6Bk/bTfukL88tU2sqUXIpOTrg+4bdF4exVnzRwPeV1RcdJuhl2xyhTcS06rfVw==","signatures":[{"sig":"MEUCIQCraJ4kPnk8DG7K+MzRN++TiCSUR9W7A6wuU6JCTB1oRgIgAZWkSU1HjeYHbiIJxMjsYuqB37gT1fFGMLs9RupLGkQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27579},"main":"./dist/index.js","type":"module","exports":{".":"./dist/index.js"},"gitHead":"0e704f0d35d21e0aae46be298502da3b63985cb4","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"akalsey","email":"adam@kalsey.com"},"openclaw":{"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"localPath":"."},"extensions":["./dist/index.js"]},"_npmVersion":"11.13.0","description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@sinclair/typebox":"^0.33.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","openclaw":"latest","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"openclaw":">=2026.3.24-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-thinking_0.1.4_1779461005599_0.37254421658387904","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @akalsey/sapience-thinking"}},"time":{"created":"2026-05-22T04:40:24.591Z","modified":"2026-05-24T16:05:22.490Z","0.1.0":"2026-05-22T04:40:24.861Z","0.1.1":"2026-05-22T04:44:14.436Z","0.1.2":"2026-05-22T04:53:37.186Z","0.1.3":"2026-05-22T05:01:24.498Z","0.1.4":"2026-05-22T14:43:25.854Z"},"description":"Your agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Ever","maintainers":[{"name":"akalsey","email":"adam@kalsey.com"}],"readme":"# OpenClaw Thinking\n\nYour agent notices things. While it works, it watches for anomalies, patterns, and opportunities that don't fit neatly into scheduled tasks — the kind of \"I noticed this while doing something else\" observations that a thoughtful colleague would flag. Every 15 minutes during working hours, it runs a brief thinking pass over recent activity, produces a structured list of observations and proposed actions, and surfaces anything worth your attention.\n\nThe output is a reviewable log file, not autonomous action. You see what it noticed, you decide what to do with it.\n\nThis plugin is part of the Sapience Suite that gives your OpenClaw agent genuine agency — not just the ability to execute tasks, but the judgment to know when to act, when to ask, when to propose, and when to say \"I'm not sure how you want me to handle this.\"\n\nThis plugin can be used without Sapience if all you want to do is surface observations to the human.\n\n## Setup\n\n### Install\n\n```bash\nopenclaw plugins install npm:@akalsey/openclaw-thinking\n```\n\n### Configuration\n\nAdd to your OpenClaw config:\n\n```json\n{\n  \"plugins\": {\n    \"sapience-thinking\": {\n      \"schedule\": \"*/15 * * * *\",\n      \"activeHours\": {\n        \"start\": \"08:00\",\n        \"end\": \"20:00\",\n        \"timezone\": \"America/Los_Angeles\"\n      },\n      \"output\": {\n        \"logPath\": \"~/.openclaw/proactive-thinking/thinking-log.md\"\n      }\n    }\n  }\n}\n```\n\nAll settings are optional — the defaults above are used if omitted.\n\n### Output files\n\n| File | Purpose |\n|------|---------|\n| `~/.openclaw/proactive-thinking/thinking-log.md` | Human-readable log of every pass |\n| `~/.openclaw/proactive-thinking/outcomes.json` | Tracks which proposals you acted on |\n| `~/.openclaw/proactive-thinking/proposals.jsonl` | Structured sidecar read by `openclaw-sapience` |\n\n---\n\n## What a pass looks like\n\nEach entry in `thinking-log.md` has:\n\n- **Observations** — things noticed with supporting evidence and priority (1–5)\n- **Proposed actions** — concrete things to do, with estimated effort\n- **Proposed audits** — domains worth reviewing\n- **Open questions** — things blocking analysis\n- **Summary** — one-paragraph overview\n\nA pass that found nothing useful logs `nothing_to_report: true`. Over time, this data shows when thinking passes are productive.\n\n---\n\n## Active hours\n\nPasses only fire within `activeHours`. Outside that window, the cron fires but silently skips — no log entry. Set the window to match your working hours.\n\n---\n\n## Troubleshooting\n\n**Nothing in the log after install**\nThe plugin fires on cron schedule, not immediately. Wait for the next 15-minute boundary, or manually trigger:\n```bash\nopenclaw cron run sapience-thinking-pass\n```\n\n**Passes are running but log is empty**\nCheck that `logPath` is writable and that the path (including `~`) is resolving correctly. Try an absolute path first.\n\n**Too many proposals, too much noise**\nThe signal-to-noise data in `outcomes.json` feeds back into future prompts after 14 days. Mark proposals as acted-on or dismissed to train the signal:\n```bash\nopenclaw thinking resolve <proposal-id> acted_on\nopenclaw thinking resolve <proposal-id> dismissed\n```\n\n**`nothing_to_report` on every pass**\nThis usually means the context bundle is too thin — no recent session activity to analyze. The plugin needs active use of OpenClaw to have something to think about.\n","readmeFilename":"README.md"}