tibiaway-ai 1.0.4 → 1.0.5

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 (2) hide show
  1. package/commands/sync.md +31 -0
  2. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: Sync character profile from tibiadata.com — refresh the agent's context with updated level, vocation, and guild data
3
+ ---
4
+
5
+ Refresh the character profile. Follow these steps:
6
+
7
+ 1. **Try to read `~/.tibiaway/config.json`** using available file tools.
8
+
9
+ 2. **If the file exists:**
10
+ - Extract `character.name`, `character.vocation`, `character.level`, `character.world`, `character.guild`, `last_sync`
11
+ - Update your context with the new data for the rest of this conversation
12
+ - Respond confirming the updated profile, for example:
13
+ > "✓ Perfil actualizado: **[nombre]** | Level **[X]** | [vocación] | [world]
14
+ > Última sincronización: [fecha]"
15
+
16
+ 3. **If the file does not exist or is unreadable:**
17
+ - Tell the user to run this in their terminal:
18
+ ```
19
+ tibiaway sync
20
+ ```
21
+ - Or if they don't have the CLI installed:
22
+ ```
23
+ npx tibiaway-ai setup
24
+ ```
25
+ - Then ask them to paste their updated character data directly and update the context manually.
26
+
27
+ 4. **If the user pastes data manually** (name, level, vocation, world):
28
+ - Accept any format ("soy ed 250 antica", "Nombre: X, Level: Y", etc.)
29
+ - Update context and confirm.
30
+
31
+ Respond in Spanish.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tibiaway-ai",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Tu guía de Tibia powered by AI. Your path through Tibia, powered by AI.",
5
5
  "bin": {
6
6
  "tibiaway": "./bin/tibiaway.js",