@myclaw163/clawclaw-cli 0.10.6 → 0.10.8
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/dist/strategy-worker/assets/clawclaw-spatial-facts.json +1383 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-3VLVCU6P.js +71 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-ATQQZA4X.js +44 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-CF6IEQ4V.js +12 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-JMX6D6A3.js +260 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-QEPKDSLE.js +278 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/chunk-ZQILO6OM.js +0 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/clawclaw-walkable.bin +0 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/host.js +1389 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-behavior-plugin.js +22 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-module-input.js +0 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-perception-plugin.js +72 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-sdk.js +3108 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-strategy-plugin.js +25 -0
- package/dist/strategy-worker/runtime/clawclaw/plugins/behavior/sdk-trigger-plugin.js +16 -0
- package/docs/custom-modules/api-reference.md +10 -8
- package/docs/custom-modules/perception.md +26 -3
- package/docs/desktop-event-push.md +2 -1
- package/docs/runtime/behavior-runtime.md +3 -1
- package/docs/runtime/official-perception-modules.md +2 -2
- package/docs/user-guide/behavior.md +3 -1
- package/docs/user-guide/desktop-auth.md +33 -1
- package/package.json +5 -3
- package/scripts/build-strategy-worker.mjs +28 -0
- package/scripts/migrate-official-perceptions.mjs +157 -0
- package/skills/clawclaw/SKILL.md +3 -3
- package/skills/clawclaw/references/BEHAVIORS.md +2 -0
- package/skills/clawclaw/references/TACTICS.md +4 -0
- package/skills/clawclaw-creator/SKILL.md +3 -1
- package/skills/clawclaw-creator/references/CUSTOM-MODULE-API.md +10 -8
- package/skills/clawclaw-creator/references/CUSTOM-PERCEPTION-DEVELOPMENT.md +26 -3
- package/skills/clawclaw-creator/references/CUSTOM-SKILL-DEVELOPMENT.md +1 -1
- package/src/commands/capability.ts +4 -2
- package/src/commands/load.ts +5 -2
- package/src/lib/agent-workspace-skills.ts +12 -7
- package/src/lib/capability-cloud-sync.ts +13 -7
- package/src/lib/capability-discovery.ts +10 -3
- package/src/lib/capability-selection.ts +7 -0
- package/src/lib/game-client.ts +33 -6
- package/src/lib/lobby-host-context.ts +74 -0
- package/src/lib/package-skills.ts +11 -1
- package/src/lib/participation-status.ts +5 -0
- package/src/pipeline/event-format.ts +2 -0
- package/src/pipeline/event-hints.ts +1 -0
- package/src/runtime/clawclaw/behavior-start-control.ts +114 -0
- package/src/runtime/clawclaw/notification-policy.ts +1 -0
- package/src/runtime/clawclaw/owner.ts +21 -4
- package/src/runtime/clawclaw/plugins/behavior/behavior-analysis-thread-host.ts +1 -0
- package/src/runtime/clawclaw/plugins/behavior/behavior-catalog.ts +11 -6
- package/src/runtime/clawclaw/plugins/behavior/behavior-module-loader.ts +48 -1
- package/src/runtime/clawclaw/plugins/behavior/behavior-normalization.ts +2 -0
- package/src/runtime/clawclaw/plugins/behavior/behavior-plugin.ts +28 -6
- package/src/runtime/clawclaw/plugins/behavior/behavior-worker-bridge.ts +25 -3
- package/src/runtime/clawclaw/plugins/behavior/thread-behavior-executor.ts +1 -1
- package/src/runtime/clawclaw/plugins/derived-event/derived-event-rules.ts +9 -0
- package/src/runtime/clawclaw/plugins/derived-event/state-change-rules.ts +3 -0
- package/src/runtime/clawclaw/plugins/perception/module-input-boundary.ts +64 -0
- package/src/runtime/clawclaw/plugins/perception/perception-module-plugin.ts +37 -49
- package/src/runtime/clawclaw/plugins/perception/perception-module-worker.ts +3 -1
- package/src/runtime/clawclaw/plugins/source/room-transport.ts +46 -9
- package/src/runtime/clawclaw/plugins/source/source-plugin.ts +18 -4
- package/src/runtime/clawclaw/plugins/source/types.ts +2 -0
- package/src/runtime/clawclaw/plugins/system-perception/sabotage-availability-rule.ts +2 -0
- package/src/runtime/clawclaw/plugins/system-perception/system-perceptions.ts +122 -61
- package/src/runtime/clawclaw-event-catalog.ts +1 -0
- package/src/sdk/perception-plugin/index.ts +1 -0
- package/src/sdk/perception-plugin/lifecycle.ts +15 -0
- package/src/sdk/perception-plugin/module.ts +15 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BEHAVIOR_PLUGIN_API_VERSION,
|
|
3
|
+
ClawclawBehavior,
|
|
4
|
+
getAvailableTasks,
|
|
5
|
+
getTaskAvailability,
|
|
6
|
+
getTaskKind,
|
|
7
|
+
isTaskAvailable
|
|
8
|
+
} from "./chunk-3VLVCU6P.js";
|
|
9
|
+
import {
|
|
10
|
+
hasValidClawclawResourceLocalizations,
|
|
11
|
+
resolveClawclawResourceMetadata
|
|
12
|
+
} from "./chunk-ATQQZA4X.js";
|
|
13
|
+
export {
|
|
14
|
+
BEHAVIOR_PLUGIN_API_VERSION,
|
|
15
|
+
ClawclawBehavior,
|
|
16
|
+
getAvailableTasks,
|
|
17
|
+
getTaskAvailability,
|
|
18
|
+
getTaskKind,
|
|
19
|
+
hasValidClawclawResourceLocalizations,
|
|
20
|
+
isTaskAvailable,
|
|
21
|
+
resolveClawclawResourceMetadata
|
|
22
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ClawclawParallelPerception,
|
|
3
|
+
ClawclawPerception,
|
|
4
|
+
ClawclawReaction,
|
|
5
|
+
ClawclawReminder,
|
|
6
|
+
MOVE_MIN_PX,
|
|
7
|
+
PERCEPTION_MODULE_API_VERSION,
|
|
8
|
+
PERCEPTION_PLUGIN_API_VERSION,
|
|
9
|
+
REMINDER_PLUGIN_API_VERSION,
|
|
10
|
+
STEP_MOVE_MIN_PX,
|
|
11
|
+
STILL_STEP_MAX_PX,
|
|
12
|
+
TICK_MS,
|
|
13
|
+
actorLabel,
|
|
14
|
+
actorValue,
|
|
15
|
+
angleDegrees,
|
|
16
|
+
cosine,
|
|
17
|
+
cross,
|
|
18
|
+
direction,
|
|
19
|
+
distance,
|
|
20
|
+
dot,
|
|
21
|
+
enteredPhase,
|
|
22
|
+
evaluateReminder,
|
|
23
|
+
hasPerceptionBoundary,
|
|
24
|
+
headingDirection,
|
|
25
|
+
leftPhase,
|
|
26
|
+
length,
|
|
27
|
+
positionCopy,
|
|
28
|
+
resetPerceptionState,
|
|
29
|
+
round1,
|
|
30
|
+
timeRange,
|
|
31
|
+
unit,
|
|
32
|
+
vector
|
|
33
|
+
} from "./chunk-QEPKDSLE.js";
|
|
34
|
+
import {
|
|
35
|
+
hasValidClawclawResourceLocalizations,
|
|
36
|
+
resolveClawclawResourceMetadata
|
|
37
|
+
} from "./chunk-ATQQZA4X.js";
|
|
38
|
+
export {
|
|
39
|
+
ClawclawParallelPerception,
|
|
40
|
+
ClawclawPerception,
|
|
41
|
+
ClawclawReaction,
|
|
42
|
+
ClawclawReminder,
|
|
43
|
+
MOVE_MIN_PX,
|
|
44
|
+
PERCEPTION_MODULE_API_VERSION,
|
|
45
|
+
PERCEPTION_PLUGIN_API_VERSION,
|
|
46
|
+
REMINDER_PLUGIN_API_VERSION,
|
|
47
|
+
STEP_MOVE_MIN_PX,
|
|
48
|
+
STILL_STEP_MAX_PX,
|
|
49
|
+
TICK_MS,
|
|
50
|
+
actorLabel,
|
|
51
|
+
actorValue,
|
|
52
|
+
angleDegrees,
|
|
53
|
+
cosine,
|
|
54
|
+
cross,
|
|
55
|
+
direction,
|
|
56
|
+
distance,
|
|
57
|
+
dot,
|
|
58
|
+
enteredPhase,
|
|
59
|
+
evaluateReminder,
|
|
60
|
+
hasPerceptionBoundary,
|
|
61
|
+
hasValidClawclawResourceLocalizations,
|
|
62
|
+
headingDirection,
|
|
63
|
+
leftPhase,
|
|
64
|
+
length,
|
|
65
|
+
positionCopy,
|
|
66
|
+
resetPerceptionState,
|
|
67
|
+
resolveClawclawResourceMetadata,
|
|
68
|
+
round1,
|
|
69
|
+
timeRange,
|
|
70
|
+
unit,
|
|
71
|
+
vector
|
|
72
|
+
};
|