@haaaiawd/second-nature 0.1.40 → 0.1.42

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "second-nature",
3
3
  "name": "Second Nature",
4
- "version": "0.1.40",
4
+ "version": "0.1.42",
5
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
6
  "activation": {
7
7
  "onStartup": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haaaiawd/second-nature",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "description": "OpenClaw native plugin with synchronous registration, a packaged runtime artifact, and operator-facing status/explain flows.",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -285,6 +285,7 @@ export function createCliCommands(deps) {
285
285
  opsCommand("timeline", "T-ROS.C.1 — query v7 narrative timeline with cursor pagination"),
286
286
  opsCommand("restore", "T-ROS.C.1 — apply bounded restore and write restore audit"),
287
287
  opsCommand("runtime_secret_bootstrap", "T-ROS.C.1 — inspect runtime secret anchor health without exposing plaintext"),
288
+ opsCommand("guidance_payload", "T-V7C.C.4R — assemble impulse + atmosphere for a scene context"),
288
289
  {
289
290
  name: "goal",
290
291
  description: "T1.2.4 — owner-governed goal operations: set, list, accept, reject",
@@ -5,7 +5,7 @@
5
5
  * - platformIds whitelist (empty = all platforms)
6
6
  * - goalKind trust-tier filtering (task_completion prefers write/claim;
7
7
  * passive_sensing exposes only read-only)
8
- * - allowedStatuses defaults to safe subset; blocked/pending_trust always excluded
8
+ * - allowedStatuses defaults to heartbeat-usable statuses; blocked/pending_trust always excluded
9
9
  * - Credential-bearing items never enter affordance (ADR-003)
10
10
  *
11
11
  * Dependencies:
@@ -5,7 +5,7 @@
5
5
  * - platformIds whitelist (empty = all platforms)
6
6
  * - goalKind trust-tier filtering (task_completion prefers write/claim;
7
7
  * passive_sensing exposes only read-only)
8
- * - allowedStatuses defaults to safe subset; blocked/pending_trust always excluded
8
+ * - allowedStatuses defaults to heartbeat-usable statuses; blocked/pending_trust always excluded
9
9
  * - Credential-bearing items never enter affordance (ADR-003)
10
10
  *
11
11
  * Dependencies:
@@ -20,6 +20,7 @@
20
20
  export const DEFAULT_ALLOWED_STATUSES = [
21
21
  "safe",
22
22
  "exploratory",
23
+ "needs_auth",
23
24
  ];
24
25
  const BLOCKED_STATUSES = [
25
26
  "unavailable", // painful is allowed for diagnostics; unavailable is blocked from active use