@ghostspeak/plugin-elizaos 0.1.1

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 (43) hide show
  1. package/README.md +333 -0
  2. package/dist/index.js +53438 -0
  3. package/dist/index.js.map +142 -0
  4. package/dist/src/actions/acceptPayment.d.ts +22 -0
  5. package/dist/src/actions/acceptPayment.d.ts.map +1 -0
  6. package/dist/src/actions/didActions.d.ts +21 -0
  7. package/dist/src/actions/didActions.d.ts.map +1 -0
  8. package/dist/src/actions/ghost-score.d.ts +16 -0
  9. package/dist/src/actions/ghost-score.d.ts.map +1 -0
  10. package/dist/src/actions/index.d.ts +13 -0
  11. package/dist/src/actions/index.d.ts.map +1 -0
  12. package/dist/src/actions/issueCredential.d.ts +15 -0
  13. package/dist/src/actions/issueCredential.d.ts.map +1 -0
  14. package/dist/src/actions/protocolActions.d.ts +24 -0
  15. package/dist/src/actions/protocolActions.d.ts.map +1 -0
  16. package/dist/src/actions/registerAgent.d.ts +14 -0
  17. package/dist/src/actions/registerAgent.d.ts.map +1 -0
  18. package/dist/src/character/caisper.d.ts +46 -0
  19. package/dist/src/character/caisper.d.ts.map +1 -0
  20. package/dist/src/character/index.d.ts +18 -0
  21. package/dist/src/character/index.d.ts.map +1 -0
  22. package/dist/src/config.d.ts +53 -0
  23. package/dist/src/config.d.ts.map +1 -0
  24. package/dist/src/frontend/utils.d.ts +3 -0
  25. package/dist/src/frontend/utils.d.ts.map +1 -0
  26. package/dist/src/index.d.ts +15 -0
  27. package/dist/src/index.d.ts.map +1 -0
  28. package/dist/src/plugin.d.ts +25 -0
  29. package/dist/src/plugin.d.ts.map +1 -0
  30. package/dist/src/providers/agent-context.d.ts +20 -0
  31. package/dist/src/providers/agent-context.d.ts.map +1 -0
  32. package/dist/src/providers/ghost-score.d.ts +19 -0
  33. package/dist/src/providers/ghost-score.d.ts.map +1 -0
  34. package/dist/src/providers/index.d.ts +6 -0
  35. package/dist/src/providers/index.d.ts.map +1 -0
  36. package/dist/src/services/GhostSpeakService.d.ts +148 -0
  37. package/dist/src/services/GhostSpeakService.d.ts.map +1 -0
  38. package/dist/src/services/index.d.ts +5 -0
  39. package/dist/src/services/index.d.ts.map +1 -0
  40. package/dist/src/wallet.d.ts +91 -0
  41. package/dist/src/wallet.d.ts.map +1 -0
  42. package/dist/tsconfig.build.tsbuildinfo +1 -0
  43. package/package.json +135 -0
package/package.json ADDED
@@ -0,0 +1,135 @@
1
+ {
2
+ "name": "@ghostspeak/plugin-elizaos",
3
+ "description": "Caisper - ElizaOS plugin for GhostSpeak reputation and credentials. Bouncer & Concierge of the Solana Agents Club.",
4
+ "version": "0.1.1",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "packageType": "plugin",
10
+ "platform": "node",
11
+ "license": "MIT",
12
+ "author": "Ghostspeak",
13
+ "keywords": [
14
+ "elizaos",
15
+ "plugin",
16
+ "ghostspeak",
17
+ "solana",
18
+ "ai-agents",
19
+ "reputation",
20
+ "credentials",
21
+ "web3",
22
+ "blockchain",
23
+ "caisper",
24
+ "x402"
25
+ ],
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/Ghostspeak/plugin-ghostspeak.git"
29
+ },
30
+ "homepage": "https://github.com/Ghostspeak/plugin-ghostspeak#readme",
31
+ "bugs": {
32
+ "url": "https://github.com/Ghostspeak/plugin-ghostspeak/issues"
33
+ },
34
+ "exports": {
35
+ "./package.json": "./package.json",
36
+ ".": {
37
+ "import": {
38
+ "types": "./dist/index.d.ts",
39
+ "default": "./dist/index.js"
40
+ }
41
+ }
42
+ },
43
+ "files": [
44
+ "dist",
45
+ "README.md",
46
+ ".npmignore",
47
+ ".gitignore",
48
+ "package.json"
49
+ ],
50
+ "dependencies": {
51
+ "@elizaos/core": "1.7.0",
52
+ "@ghostspeak/sdk": "^2.0.8",
53
+ "@solana/addresses": "^2.1.6",
54
+ "@solana/rpc": "^2.1.6",
55
+ "@solana/signers": "^2.1.6",
56
+ "@tanstack/react-query": "^5.80.7",
57
+ "bs58": "^6.0.0",
58
+ "clsx": "^2.1.1",
59
+ "react": "^19.2.3",
60
+ "react-dom": "^19.2.3",
61
+ "tailwind-merge": "^3.3.1",
62
+ "tailwindcss": "^4.1.10",
63
+ "vite": "^7.2.6",
64
+ "zod": "^4.1.13"
65
+ },
66
+ "devDependencies": {
67
+ "@elizaos/cli": "1.7.0",
68
+ "@tailwindcss/vite": "^4.1.10",
69
+ "@vitejs/plugin-react-swc": "^4.1.0",
70
+ "dotenv": "^17.2.3",
71
+ "prettier": "^3.7.4",
72
+ "tailwindcss-animate": "^1.0.7",
73
+ "typescript": "^5.9.3"
74
+ },
75
+ "scripts": {
76
+ "start": "elizaos start",
77
+ "dev": "elizaos dev",
78
+ "build": "bun run build.ts",
79
+ "lint": "prettier --write ./src",
80
+ "postinstall": "node -e \"const fs=require('fs');const path=require('path');const zodPath=path.join('node_modules','zod');if(fs.existsSync(zodPath)){fs.writeFileSync(path.join(zodPath,'v3.js'),'module.exports=require(\\\"./lib/index.js\\\");');fs.writeFileSync(path.join(zodPath,'v3.d.ts'),'export * from \\\"./lib/index\\\";');}\" || true",
81
+ "test:component": "bun run test:install && bun test",
82
+ "test:e2e": "bun run test:install && bun test",
83
+ "test:e2e:manual": "bun run test:install && node scripts/test-e2e-manual.js",
84
+ "test:cypress": "bun run test:install && cypress run --component",
85
+ "test": "bun run test:install && bun run test:component && bun run test:e2e",
86
+ "test:install": "node scripts/install-test-deps.js",
87
+ "format": "prettier --write ./src",
88
+ "format:check": "prettier --check ./src",
89
+ "build:watch": "bun run build.ts --watch",
90
+ "dev:standalone": "bunx vite --config vite.config.standalone.ts"
91
+ },
92
+ "publishConfig": {
93
+ "access": "public"
94
+ },
95
+ "resolutions": {
96
+ "zod": "4.1.13"
97
+ },
98
+ "agentConfig": {
99
+ "pluginType": "elizaos:plugin:1.0.0",
100
+ "pluginParameters": {
101
+ "AGENT_WALLET_PRIVATE_KEY": {
102
+ "type": "string",
103
+ "description": "Agent wallet private key (base58, hex, or JSON array format). Required for write operations.",
104
+ "required": false
105
+ },
106
+ "SOLANA_CLUSTER": {
107
+ "type": "string",
108
+ "description": "Solana cluster (devnet, mainnet-beta, testnet). Default: devnet",
109
+ "required": false,
110
+ "default": "devnet"
111
+ },
112
+ "SOLANA_RPC_URL": {
113
+ "type": "string",
114
+ "description": "Custom Solana RPC endpoint URL",
115
+ "required": false
116
+ },
117
+ "CROSSMINT_SECRET_KEY": {
118
+ "type": "string",
119
+ "description": "Crossmint API secret key for EVM credential bridging",
120
+ "required": false
121
+ },
122
+ "CROSSMINT_REPUTATION_TEMPLATE_ID": {
123
+ "type": "string",
124
+ "description": "Crossmint template ID for reputation credentials",
125
+ "required": false
126
+ },
127
+ "CROSSMINT_ENV": {
128
+ "type": "string",
129
+ "description": "Crossmint environment (staging or production)",
130
+ "required": false
131
+ }
132
+ }
133
+ },
134
+ "gitHead": "d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7"
135
+ }