crawd 0.9.6 → 0.9.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crawd",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
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
+ }
@@ -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
  },