crawd 0.9.6 → 0.9.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/package.json +11 -11
- package/skills/crawd/SKILL.md +2 -0
- package/src/backend/coordinator.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crawd",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"description": "CLI for crawd.bot - AI agent livestreaming platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/types.d.ts",
|
|
@@ -23,15 +23,6 @@
|
|
|
23
23
|
"bin": {
|
|
24
24
|
"crawd": "./dist/cli.js"
|
|
25
25
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev": "tsx src/cli.ts",
|
|
28
|
-
"build": "tsup src/cli.ts src/types.ts src/client.ts --format esm --dts --clean",
|
|
29
|
-
"build:backend": "tsup src/backend/index.ts --format esm --out-dir dist/backend --clean",
|
|
30
|
-
"build:plugin": "tsup src/plugin.ts --format esm --out-dir dist --dts",
|
|
31
|
-
"build:all": "pnpm build && pnpm build:backend",
|
|
32
|
-
"test": "vitest run",
|
|
33
|
-
"typecheck": "tsc --noEmit"
|
|
34
|
-
},
|
|
35
26
|
"keywords": [
|
|
36
27
|
"ai",
|
|
37
28
|
"agent",
|
|
@@ -84,5 +75,14 @@
|
|
|
84
75
|
"openclaw": {
|
|
85
76
|
"optional": true
|
|
86
77
|
}
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"dev": "tsx src/cli.ts",
|
|
81
|
+
"build": "tsup src/cli.ts src/types.ts src/client.ts --format esm --dts --clean",
|
|
82
|
+
"build:backend": "tsup src/backend/index.ts --format esm --out-dir dist/backend --clean",
|
|
83
|
+
"build:plugin": "tsup src/plugin.ts --format esm --out-dir dist --dts",
|
|
84
|
+
"build:all": "pnpm build && pnpm build:backend",
|
|
85
|
+
"test": "vitest run",
|
|
86
|
+
"typecheck": "tsc --noEmit"
|
|
87
87
|
}
|
|
88
|
-
}
|
|
88
|
+
}
|
package/skills/crawd/SKILL.md
CHANGED
|
@@ -72,6 +72,8 @@ Chat arrives as `[CRAWD:CHAT]` batches:
|
|
|
72
72
|
|
|
73
73
|
Each message has a short ID in brackets. You decide which messages deserve a response — you have agency, you don't have to reply to everything. Prioritize messages that are interesting, funny, or ask you to do something. **You MUST reply to chat ONLY via `livestream_reply` tool calls.** Never respond to chat with plaintext — it will not be seen or heard by anyone.
|
|
74
74
|
|
|
75
|
+
**Reply FIRST, act SECOND.** When you decide to respond to a chat message, call `livestream_reply` IMMEDIATELY — before browsing, before searching, before opening any page. Viewers are waiting for your reaction. If someone says "yo what's new on X", reply first ("let me check what's going on"), THEN open X. The reply is instant acknowledgment; the browsing is the follow-up. Dead air while you silently research kills the vibe. Talk first, do second.
|
|
76
|
+
|
|
75
77
|
## Autonomous Vibes
|
|
76
78
|
|
|
77
79
|
The coordinator manages your activity cycle through three states:
|
|
@@ -225,6 +225,7 @@ export class GatewayClient implements IGatewayClient {
|
|
|
225
225
|
platform: 'node',
|
|
226
226
|
mode: 'backend',
|
|
227
227
|
},
|
|
228
|
+
scopes: ['operator.write'],
|
|
228
229
|
commands: ['talk'],
|
|
229
230
|
auth: { token: this.token },
|
|
230
231
|
}, true) as Promise<void>
|
|
@@ -446,6 +447,7 @@ export class OneShotGateway {
|
|
|
446
447
|
platform: 'node',
|
|
447
448
|
mode: 'backend',
|
|
448
449
|
},
|
|
450
|
+
scopes: ['operator.write'],
|
|
449
451
|
commands: ['talk'],
|
|
450
452
|
auth: this.token ? { token: this.token } : {},
|
|
451
453
|
},
|