@haaaiawd/second-nature 0.1.43 → 0.1.51
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/openclaw.plugin.json +29 -29
- package/package.json +55 -55
- package/runtime/cli/commands/index.js +325 -325
- package/runtime/cli/ops/heartbeat-surface.d.ts +84 -75
- package/runtime/cli/ops/heartbeat-surface.js +100 -97
- package/runtime/cli/ops/ops-router.js +1482 -1454
- package/runtime/cli/ops/workspace-heartbeat-runner.d.ts +85 -76
- package/runtime/cli/ops/workspace-heartbeat-runner.js +242 -236
- package/runtime/connectors/base/contract.d.ts +111 -111
- package/runtime/connectors/base/failure-taxonomy.d.ts +13 -13
- package/runtime/connectors/base/failure-taxonomy.js +186 -186
- package/runtime/connectors/base/map-life-evidence.js +137 -137
- package/runtime/connectors/base/policy-layer.js +202 -202
- package/runtime/connectors/manifest/manifest-schema.d.ts +152 -152
- package/runtime/connectors/manifest/manifest-schema.js +54 -54
- package/runtime/connectors/services/connector-executor-adapter.d.ts +20 -20
- package/runtime/connectors/services/connector-executor-adapter.js +645 -645
- package/runtime/core/second-nature/heartbeat/goal-lifecycle-policy.d.ts +24 -37
- package/runtime/core/second-nature/heartbeat/goal-lifecycle-policy.js +61 -61
- package/runtime/core/second-nature/heartbeat/heartbeat-loop.d.ts +97 -88
- package/runtime/core/second-nature/heartbeat/heartbeat-loop.js +397 -329
- package/runtime/core/second-nature/orchestrator/platform-capability-router.js +149 -131
package/openclaw.plugin.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "second-nature",
|
|
3
|
-
"name": "Second Nature",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "OpenClaw native plugin with synchronous surface registration and bundled runtime spine. Set SECOND_NATURE_WORKSPACE_ROOT or tool workspaceRoot to the same path as the agent workspace. Agent inner guide is packaged as agent-inner-guide.md. v7 ops surface: self_health, tool_affordance, heartbeat_digest, snapshot:capture, narrative:diff, timeline, restore, runtime_secret_bootstrap, connector:run, guidance_payload.",
|
|
6
|
-
"activation": {
|
|
7
|
-
"onStartup": true,
|
|
8
|
-
"onCapabilities": [
|
|
9
|
-
"tool"
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"contracts": {
|
|
13
|
-
"commands": [
|
|
14
|
-
"second-nature"
|
|
15
|
-
],
|
|
16
|
-
"tools": [
|
|
17
|
-
"second_nature_ops"
|
|
18
|
-
],
|
|
19
|
-
"services": [
|
|
20
|
-
"second-nature-runtime",
|
|
21
|
-
"second-nature-lifecycle"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"configSchema": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"properties": {}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"id": "second-nature",
|
|
3
|
+
"name": "Second Nature",
|
|
4
|
+
"version": "0.1.51",
|
|
5
|
+
"description": "OpenClaw native plugin with synchronous surface registration and bundled runtime spine. Set SECOND_NATURE_WORKSPACE_ROOT or tool workspaceRoot to the same path as the agent workspace. Agent inner guide is packaged as agent-inner-guide.md. v7 ops surface: self_health, tool_affordance, heartbeat_digest, snapshot:capture, narrative:diff, timeline, restore, runtime_secret_bootstrap, connector:run, guidance_payload.",
|
|
6
|
+
"activation": {
|
|
7
|
+
"onStartup": true,
|
|
8
|
+
"onCapabilities": [
|
|
9
|
+
"tool"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"contracts": {
|
|
13
|
+
"commands": [
|
|
14
|
+
"second-nature"
|
|
15
|
+
],
|
|
16
|
+
"tools": [
|
|
17
|
+
"second_nature_ops"
|
|
18
|
+
],
|
|
19
|
+
"services": [
|
|
20
|
+
"second-nature-runtime",
|
|
21
|
+
"second-nature-lifecycle"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"configSchema": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@haaaiawd/second-nature",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenClaw native plugin with synchronous registration, a packaged runtime artifact, and operator-facing status/explain flows.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"openclaw",
|
|
7
|
-
"plugin",
|
|
8
|
-
"agent",
|
|
9
|
-
"continuity",
|
|
10
|
-
"quiet",
|
|
11
|
-
"memory",
|
|
12
|
-
"observability",
|
|
13
|
-
"operator"
|
|
14
|
-
],
|
|
15
|
-
"license": "Apache-2.0",
|
|
16
|
-
"type": "module",
|
|
17
|
-
"main": "./index.js",
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"workspace-ops-bridge.js",
|
|
21
|
-
"openclaw.plugin.json",
|
|
22
|
-
"SKILL.md",
|
|
23
|
-
"agent-inner-guide.md",
|
|
24
|
-
"runtime/"
|
|
25
|
-
],
|
|
26
|
-
"publishConfig": {
|
|
27
|
-
"access": "public"
|
|
28
|
-
},
|
|
29
|
-
"openclaw": {
|
|
30
|
-
"manifest": "./openclaw.plugin.json",
|
|
31
|
-
"extensions": [
|
|
32
|
-
"./index.js"
|
|
33
|
-
],
|
|
34
|
-
"runtimeExtensions": [
|
|
35
|
-
"./index.js"
|
|
36
|
-
],
|
|
37
|
-
"compat": {
|
|
38
|
-
"pluginApi": ">=2026.5.12"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.5.12"
|
|
43
|
-
},
|
|
44
|
-
"peerDependenciesMeta": {
|
|
45
|
-
"openclaw": {
|
|
46
|
-
"optional": true
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"drizzle-orm": "^0.45.2",
|
|
51
|
-
"js-yaml": "^4.1.1",
|
|
52
|
-
"sql.js": "^1.14.1",
|
|
53
|
-
"zod": "^4.4.3"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@haaaiawd/second-nature",
|
|
3
|
+
"version": "0.1.51",
|
|
4
|
+
"description": "OpenClaw native plugin with synchronous registration, a packaged runtime artifact, and operator-facing status/explain flows.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"openclaw",
|
|
7
|
+
"plugin",
|
|
8
|
+
"agent",
|
|
9
|
+
"continuity",
|
|
10
|
+
"quiet",
|
|
11
|
+
"memory",
|
|
12
|
+
"observability",
|
|
13
|
+
"operator"
|
|
14
|
+
],
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "./index.js",
|
|
18
|
+
"files": [
|
|
19
|
+
"index.js",
|
|
20
|
+
"workspace-ops-bridge.js",
|
|
21
|
+
"openclaw.plugin.json",
|
|
22
|
+
"SKILL.md",
|
|
23
|
+
"agent-inner-guide.md",
|
|
24
|
+
"runtime/"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"openclaw": {
|
|
30
|
+
"manifest": "./openclaw.plugin.json",
|
|
31
|
+
"extensions": [
|
|
32
|
+
"./index.js"
|
|
33
|
+
],
|
|
34
|
+
"runtimeExtensions": [
|
|
35
|
+
"./index.js"
|
|
36
|
+
],
|
|
37
|
+
"compat": {
|
|
38
|
+
"pluginApi": ">=2026.5.12"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"openclaw": ">=2026.5.12"
|
|
43
|
+
},
|
|
44
|
+
"peerDependenciesMeta": {
|
|
45
|
+
"openclaw": {
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"drizzle-orm": "^0.45.2",
|
|
51
|
+
"js-yaml": "^4.1.1",
|
|
52
|
+
"sql.js": "^1.14.1",
|
|
53
|
+
"zod": "^4.4.3"
|
|
54
|
+
}
|
|
55
|
+
}
|