@elizaos/plugin-roblox 2.0.0-alpha.7 → 2.0.3-beta.2

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.
Files changed (39) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +123 -0
  3. package/package.json +23 -23
  4. package/dist/__tests__/suite.d.ts +0 -7
  5. package/dist/__tests__/suite.d.ts.map +0 -1
  6. package/dist/actions/executeGameAction.d.ts +0 -4
  7. package/dist/actions/executeGameAction.d.ts.map +0 -1
  8. package/dist/actions/getPlayerInfo.d.ts +0 -4
  9. package/dist/actions/getPlayerInfo.d.ts.map +0 -1
  10. package/dist/actions/index.d.ts +0 -7
  11. package/dist/actions/index.d.ts.map +0 -1
  12. package/dist/actions/sendGameMessage.d.ts +0 -4
  13. package/dist/actions/sendGameMessage.d.ts.map +0 -1
  14. package/dist/client/RobloxClient.d.ts +0 -29
  15. package/dist/client/RobloxClient.d.ts.map +0 -1
  16. package/dist/client/index.d.ts +0 -2
  17. package/dist/client/index.d.ts.map +0 -1
  18. package/dist/generated/specs/specs.d.ts +0 -63
  19. package/dist/generated/specs/specs.d.ts.map +0 -1
  20. package/dist/index.browser.d.ts +0 -4
  21. package/dist/index.browser.d.ts.map +0 -1
  22. package/dist/index.d.ts +0 -6
  23. package/dist/index.d.ts.map +0 -1
  24. package/dist/index.js +0 -1133
  25. package/dist/index.js.map +0 -21
  26. package/dist/providers/gameStateProvider.d.ts +0 -3
  27. package/dist/providers/gameStateProvider.d.ts.map +0 -1
  28. package/dist/providers/index.d.ts +0 -5
  29. package/dist/providers/index.d.ts.map +0 -1
  30. package/dist/services/RobloxService.d.ts +0 -44
  31. package/dist/services/RobloxService.d.ts.map +0 -1
  32. package/dist/services/index.d.ts +0 -2
  33. package/dist/services/index.d.ts.map +0 -1
  34. package/dist/types/index.d.ts +0 -125
  35. package/dist/types/index.d.ts.map +0 -1
  36. package/dist/utils/config.d.ts +0 -12
  37. package/dist/utils/config.d.ts.map +0 -1
  38. package/dist/utils/index.d.ts +0 -2
  39. package/dist/utils/index.d.ts.map +0 -1
package/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 elizaOS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
24
+
25
+
26
+
27
+
28
+
package/README.md ADDED
@@ -0,0 +1,123 @@
1
+ # @elizaos/plugin-roblox
2
+
3
+ Roblox Open Cloud integration for elizaOS agents: publish messages and game-side
4
+ action payloads to a Roblox experience, and look up Roblox players. Communication
5
+ is outbound (agent → Roblox); Open Cloud has no external subscribe endpoint, so
6
+ inbound player chat must be bridged from Roblox (see below).
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ bun add @elizaos/plugin-roblox
12
+ # or
13
+ npm install @elizaos/plugin-roblox
14
+ ```
15
+
16
+ ## Use
17
+
18
+ ```typescript
19
+ import { robloxPlugin } from "@elizaos/plugin-roblox";
20
+
21
+ const agent = {
22
+ plugins: [robloxPlugin],
23
+ // ...
24
+ };
25
+ ```
26
+
27
+ The service is unavailable unless both `ROBLOX_API_KEY` and
28
+ `ROBLOX_UNIVERSE_ID` are set, and the `ROBLOX` action only validates when both are
29
+ present.
30
+
31
+ ### Environment variables
32
+
33
+ | Variable | Required | Default | Description |
34
+ | ------------------------ | -------- | -------------- | ------------------------------------ |
35
+ | `ROBLOX_API_KEY` | Yes | — | Roblox Open Cloud API key |
36
+ | `ROBLOX_UNIVERSE_ID` | Yes | — | Universe ID of the experience |
37
+ | `ROBLOX_PLACE_ID` | No | — | Specific place ID |
38
+ | `ROBLOX_WEBHOOK_SECRET` | No | — | Secret exposed in config for external inbound bridges |
39
+ | `ROBLOX_MESSAGING_TOPIC` | No | `eliza-agent` | Messaging Service topic |
40
+ | `ROBLOX_DRY_RUN` | No | `false` | `"true"` suppresses publish calls |
41
+
42
+ ## Plugin surface
43
+
44
+ - **Action `ROBLOX`** — routes three subactions:
45
+ - `message` — publish text to the messaging topic, optionally to specific player IDs (max 25)
46
+ - `execute` — publish a named game-side action (`move_npc`, `give_coins`, `teleport`, `spawn_entity`, `start_event`, …) with parameters; regex patterns infer common actions from natural language
47
+ - `get_player` — look up a Roblox user by numeric ID or username (display name, ban status, creation date, avatar headshot)
48
+ - **Provider `roblox-game-state`** — injects connection state and experience metadata (universe/place ID, experience name, active players, visits, creator, messaging topic, dry-run flag) into agent context.
49
+ - **Service `RobloxService`** — singleton holding one `RobloxAgentManager` (and `RobloxClient`) per agent UUID.
50
+
51
+ ### Direct service use
52
+
53
+ ```typescript
54
+ import { RobloxService } from "@elizaos/plugin-roblox";
55
+
56
+ const service = runtime.getService<RobloxService>(RobloxService.serviceType);
57
+
58
+ await service.sendMessage(runtime.agentId, "Hello from your agent!");
59
+
60
+ await service.executeAction(
61
+ runtime.agentId,
62
+ "spawn_entity",
63
+ { entityType: "dragon", location: "arena" },
64
+ [12345678], // target specific players (optional)
65
+ );
66
+ ```
67
+
68
+ ## Receiving payloads in Roblox
69
+
70
+ The agent publishes JSON to `ROBLOX_MESSAGING_TOPIC`. Subscribe in a Roblox
71
+ server script to react:
72
+
73
+ ```lua
74
+ local MessagingService = game:GetService("MessagingService")
75
+ local HttpService = game:GetService("HttpService")
76
+
77
+ local TOPIC = "eliza-agent" -- must match ROBLOX_MESSAGING_TOPIC
78
+
79
+ MessagingService:SubscribeAsync(TOPIC, function(message)
80
+ local data = HttpService:JSONDecode(message.Data)
81
+ if data.type == "agent_message" then
82
+ print("Agent says:", data.content)
83
+ elseif data.type == "agent_action" then
84
+ print("Agent action:", data.action, data.parameters)
85
+ end
86
+ end)
87
+ ```
88
+
89
+ ## Limitations
90
+
91
+ - **Inbound is not supported by Open Cloud.** There is no external subscribe API for
92
+ `MessagingService`, so the plugin cannot poll player chat. To send Roblox → agent,
93
+ run an HTTP bridge that the experience calls via `HttpService:RequestAsync(...)`.
94
+ - **Movement / world changes** happen only if your experience subscribes to the topic
95
+ and interprets `agent_action` payloads (`move_npc`, `teleport`, …) using Roblox APIs.
96
+ - **No agent voice channel.** Open Cloud has none; audio playback requires game-side
97
+ logic and Roblox asset constraints.
98
+
99
+ ## Layout
100
+
101
+ ```
102
+ plugin-roblox/
103
+ index.ts Plugin entry (robloxPlugin, RobloxService, RobloxClient, RobloxApiError)
104
+ actions/ ROBLOX action router
105
+ providers/ roblox-game-state provider
106
+ services/ RobloxService (singleton)
107
+ client/ RobloxClient (Open Cloud + roblox.com HTTP wrapper)
108
+ types/ Shared type definitions
109
+ utils/ config.ts (hasRobloxEnabled, validateRobloxConfig)
110
+ prompts/ Prompt fragments (evaluators, providers)
111
+ __tests__/ Vitest suite
112
+ ```
113
+
114
+ ## Commands
115
+
116
+ ```bash
117
+ bun run build # compile (build.ts)
118
+ bun run test # vitest run __tests__/
119
+ bun run typecheck # tsgo --noEmit
120
+ bun run lint # biome check + fix
121
+ ```
122
+
123
+ See `CLAUDE.md` for agent-facing internals and extension points.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-roblox",
3
- "version": "2.0.0-alpha.7",
3
+ "version": "2.0.3-beta.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -16,31 +16,37 @@
16
16
  "types": "./dist/index.d.ts",
17
17
  "default": "./dist/index.js"
18
18
  }
19
+ },
20
+ "./*.css": "./dist/*.css",
21
+ "./*": {
22
+ "types": "./dist/*.d.ts",
23
+ "import": "./dist/*.js",
24
+ "default": "./dist/*.js"
19
25
  }
20
26
  },
21
27
  "files": [
22
28
  "dist"
23
29
  ],
24
30
  "dependencies": {
25
- "@elizaos/core": "2.0.0-alpha.3",
26
- "typescript": "^5.9.3",
27
- "zod": "^4.3.6"
31
+ "@elizaos/core": "2.0.3-beta.2"
28
32
  },
29
33
  "devDependencies": {
30
- "@biomejs/biome": "^2.3.11",
31
- "@types/node": "^25.0.3"
34
+ "@biomejs/biome": "^2.4.14",
35
+ "@types/node": "^25.0.3",
36
+ "typescript": "^6.0.3",
37
+ "vitest": "^4.1.4"
32
38
  },
33
39
  "scripts": {
34
40
  "dev": "bun run build.ts --watch",
35
- "typecheck": "tsc --noEmit -p tsconfig.json",
36
- "test": "vitest run __tests__/ --passWithNoTests",
37
- "test:unit": "vitest run __tests__/ --passWithNoTests",
38
- "test:integration": "echo 'Integration tests require elizaos CLI - skipping'",
41
+ "typecheck": "tsgo --noEmit -p tsconfig.json",
42
+ "test": "vitest run __tests__/",
43
+ "test:unit": "vitest run __tests__/",
44
+ "test:integration": "echo 'Integration tests require the elizaos CLI and live Roblox credentials'",
39
45
  "lint": "bunx @biomejs/biome check --write --unsafe .",
40
- "lint:check": "bun run lint",
41
- "clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo",
42
- "format": "biome format --write .",
43
- "format:check": "biome format .",
46
+ "lint:check": "bunx @biomejs/biome check .",
47
+ "clean": "rm -rf dist .turbo .turbo-tsconfig.json tsconfig.tsbuildinfo",
48
+ "format": "bunx @biomejs/biome format --write .",
49
+ "format:check": "bunx @biomejs/biome format .",
44
50
  "build": "bun run build.ts",
45
51
  "build:ts": "bun run build.ts"
46
52
  },
@@ -81,13 +87,6 @@
81
87
  "default": "eliza-agent",
82
88
  "sensitive": false
83
89
  },
84
- "ROBLOX_POLL_INTERVAL": {
85
- "type": "number",
86
- "description": "Polling interval in seconds for Roblox data store operations.",
87
- "required": false,
88
- "default": 30,
89
- "sensitive": false
90
- },
91
90
  "ROBLOX_DRY_RUN": {
92
91
  "type": "boolean",
93
92
  "description": "When true, operations are simulated but not executed.",
@@ -97,7 +96,7 @@
97
96
  }
98
97
  }
99
98
  },
100
- "milady": {
99
+ "eliza": {
101
100
  "platforms": [
102
101
  "node"
103
102
  ],
@@ -105,5 +104,6 @@
105
104
  "platformDetails": {
106
105
  "node": "ESM build available via exports.import"
107
106
  }
108
- }
107
+ },
108
+ "gitHead": "82fe0f44215954c2417328203f5bd6510985c1fc"
109
109
  }
@@ -1,7 +0,0 @@
1
- import type { TestCase, TestSuite } from "@elizaos/core";
2
- export declare class RobloxTestSuite implements TestSuite {
3
- name: string;
4
- description: string;
5
- tests: TestCase[];
6
- }
7
- //# sourceMappingURL=suite.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"suite.d.ts","sourceRoot":"","sources":["../../__tests__/suite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAIxE,qBAAa,eAAgB,YAAW,SAAS;IAC/C,IAAI,SAAY;IAChB,WAAW,SAAkC;IAE7C,KAAK,EAAE,QAAQ,EAAE,CAkDf;CACH"}
@@ -1,4 +0,0 @@
1
- import { type Action } from "@elizaos/core";
2
- declare const executeGameAction: Action;
3
- export default executeGameAction;
4
- //# sourceMappingURL=executeGameAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeGameAction.d.ts","sourceRoot":"","sources":["../../actions/executeGameAction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EASZ,MAAM,eAAe,CAAC;AAwIvB,QAAA,MAAM,iBAAiB,EAAE,MA2HxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type Action } from "@elizaos/core";
2
- declare const getPlayerInfo: Action;
3
- export default getPlayerInfo;
4
- //# sourceMappingURL=getPlayerInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPlayerInfo.d.ts","sourceRoot":"","sources":["../../actions/getPlayerInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EASZ,MAAM,eAAe,CAAC;AA4DvB,QAAA,MAAM,aAAa,EAAE,MAiKpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Action } from "@elizaos/core";
2
- import executeGameAction from "./executeGameAction";
3
- import getPlayerInfo from "./getPlayerInfo";
4
- import sendGameMessage from "./sendGameMessage";
5
- export declare const robloxActions: Action[];
6
- export { sendGameMessage, executeGameAction, getPlayerInfo };
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,MAAM,EAAwD,CAAC;AAE3F,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type Action } from "@elizaos/core";
2
- declare const sendGameMessage: Action;
3
- export default sendGameMessage;
4
- //# sourceMappingURL=sendGameMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendGameMessage.d.ts","sourceRoot":"","sources":["../../actions/sendGameMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EASZ,MAAM,eAAe,CAAC;AAuCvB,QAAA,MAAM,eAAe,EAAE,MA4HtB,CAAC;AAaF,eAAe,eAAe,CAAC"}
@@ -1,29 +0,0 @@
1
- import type { DataStoreEntry, JsonValue, JsonValueOrUndefined, MessagingServiceMessage, RobloxConfig, RobloxExperienceInfo, RobloxUser } from "../types";
2
- export declare class RobloxApiError extends Error {
3
- statusCode: number;
4
- endpoint: string;
5
- details?: JsonValue | string;
6
- constructor(message: string, statusCode: number, endpoint: string, details?: JsonValue | string);
7
- }
8
- export declare class RobloxClient {
9
- private config;
10
- constructor(config: RobloxConfig);
11
- private request;
12
- publishMessage(topic: string, data: Record<string, JsonValueOrUndefined>, universeId?: string): Promise<void>;
13
- sendAgentMessage(message: MessagingServiceMessage): Promise<void>;
14
- getDataStoreEntry<T extends JsonValue = JsonValue>(datastoreName: string, key: string, scope?: string): Promise<DataStoreEntry<T> | null>;
15
- setDataStoreEntry<T extends JsonValue = JsonValue>(datastoreName: string, key: string, value: T, scope?: string): Promise<DataStoreEntry<T>>;
16
- deleteDataStoreEntry(datastoreName: string, key: string, scope?: string): Promise<void>;
17
- listDataStoreEntries(datastoreName: string, scope?: string, prefix?: string, limit?: number): Promise<{
18
- keys: string[];
19
- nextPageCursor?: string;
20
- }>;
21
- getUserById(userId: number): Promise<RobloxUser>;
22
- getUserByUsername(username: string): Promise<RobloxUser | null>;
23
- getUsersByIds(userIds: number[]): Promise<RobloxUser[]>;
24
- getAvatarUrl(userId: number, size?: string): Promise<string | undefined>;
25
- getExperienceInfo(universeId?: string): Promise<RobloxExperienceInfo>;
26
- getConfig(): Readonly<RobloxConfig>;
27
- isDryRun(): boolean;
28
- }
29
- //# sourceMappingURL=RobloxClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RobloxClient.d.ts","sourceRoot":"","sources":["../../client/RobloxClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACX,MAAM,UAAU,CAAC;AAKlB,qBAAa,cAAe,SAAQ,KAAK;IAG9B,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,MAAM;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM;gBAHnC,OAAO,EAAE,MAAM,EACR,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM;CAKtC;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,EAAE,YAAY;YAIlB,OAAO;IAwCf,cAAc,CAClB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,EAC1C,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,IAAI,CAAC;IAgBV,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAUjE,iBAAiB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACrD,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,EACX,KAAK,GAAE,MAAiB,GACvB,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IA0B9B,iBAAiB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACrD,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,CAAC,EACR,KAAK,GAAE,MAAiB,GACvB,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAiCvB,oBAAoB,CACxB,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,EACX,KAAK,GAAE,MAAiB,GACvB,OAAO,CAAC,IAAI,CAAC;IAYV,oBAAoB,CACxB,aAAa,EAAE,MAAM,EACrB,KAAK,GAAE,MAAiB,EACxB,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,GAAE,MAAY,GAClB,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAkBjD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAkBhD,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAmC/D,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA2BvD,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,GAAE,MAAkB,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAgBnF,iBAAiB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA2C3E,SAAS,IAAI,QAAQ,CAAC,YAAY,CAAC;IAInC,QAAQ,IAAI,OAAO;CAGpB"}
@@ -1,2 +0,0 @@
1
- export { RobloxApiError, RobloxClient } from "./RobloxClient";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,63 +0,0 @@
1
- /**
2
- * Auto-generated canonical action/provider/evaluator docs for plugin-roblox.
3
- * DO NOT EDIT - Generated from prompts/specs/**.
4
- */
5
- export type ActionDoc = {
6
- name: string;
7
- description: string;
8
- similes?: readonly string[];
9
- parameters?: readonly unknown[];
10
- examples?: readonly (readonly unknown[])[];
11
- };
12
- export type ProviderDoc = {
13
- name: string;
14
- description: string;
15
- position?: number;
16
- dynamic?: boolean;
17
- };
18
- export type EvaluatorDoc = {
19
- name: string;
20
- description: string;
21
- similes?: readonly string[];
22
- alwaysRun?: boolean;
23
- examples?: readonly unknown[];
24
- };
25
- export declare const coreActionsSpec: {
26
- readonly version: "1.0.0";
27
- readonly actions: readonly [];
28
- };
29
- export declare const allActionsSpec: {
30
- readonly version: "1.0.0";
31
- readonly actions: readonly [];
32
- };
33
- export declare const coreProvidersSpec: {
34
- readonly version: "1.0.0";
35
- readonly providers: readonly [{
36
- readonly name: "roblox-game-state";
37
- readonly description: "Provides information about the connected Roblox game/experience";
38
- readonly dynamic: true;
39
- }];
40
- };
41
- export declare const allProvidersSpec: {
42
- readonly version: "1.0.0";
43
- readonly providers: readonly [{
44
- readonly name: "roblox-game-state";
45
- readonly description: "Provides information about the connected Roblox game/experience";
46
- readonly dynamic: true;
47
- }];
48
- };
49
- export declare const coreEvaluatorsSpec: {
50
- readonly version: "1.0.0";
51
- readonly evaluators: readonly [];
52
- };
53
- export declare const allEvaluatorsSpec: {
54
- readonly version: "1.0.0";
55
- readonly evaluators: readonly [];
56
- };
57
- export declare const coreActionDocs: readonly ActionDoc[];
58
- export declare const allActionDocs: readonly ActionDoc[];
59
- export declare const coreProviderDocs: readonly ProviderDoc[];
60
- export declare const allProviderDocs: readonly ProviderDoc[];
61
- export declare const coreEvaluatorDocs: readonly EvaluatorDoc[];
62
- export declare const allEvaluatorDocs: readonly EvaluatorDoc[];
63
- //# sourceMappingURL=specs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"specs.d.ts","sourceRoot":"","sources":["../../../generated/specs/specs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC,SAAS,OAAO,EAAE,CAAC,EAAE,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;;;;;CASpB,CAAC;AACX,eAAO,MAAM,gBAAgB;;;;;;;CASnB,CAAC;AACX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,SAAS,SAAS,EAA4B,CAAC;AAC5E,eAAO,MAAM,aAAa,EAAE,SAAS,SAAS,EAA2B,CAAC;AAC1E,eAAO,MAAM,gBAAgB,EAAE,SAAS,WAAW,EAAgC,CAAC;AACpF,eAAO,MAAM,eAAe,EAAE,SAAS,WAAW,EAA+B,CAAC;AAClF,eAAO,MAAM,iBAAiB,EAAE,SAAS,YAAY,EAAkC,CAAC;AACxF,eAAO,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAAiC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Plugin } from "@elizaos/core";
2
- export declare const robloxPlugin: Plugin;
3
- export default robloxPlugin;
4
- //# sourceMappingURL=index.browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../index.browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAK3D,eAAO,MAAM,YAAY,EAAE,MAQ1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import type { Plugin } from "@elizaos/core";
2
- export { RobloxApiError, RobloxClient } from "./client/RobloxClient";
3
- export { RobloxService } from "./services/RobloxService";
4
- export declare const robloxPlugin: Plugin;
5
- export default robloxPlugin;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAM3D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,eAAO,MAAM,YAAY,EAAE,MAwB1B,CAAC;AAEF,eAAe,YAAY,CAAC"}