@maccesar/titools 2.2.0 → 2.2.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.
package/agents/ti-pro.md CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  name: ti-pro
3
- description: Titanium SDK and Alloy research specialist. Preloads all 7 titanium-* skills for comprehensive analysis. Use proactively for: analyzing Titanium/Alloy codebases, reviewing Alloy app architecture, researching Titanium SDK implementations, exploring mobile app architectural questions, multi-feature research across Titanium APIs, cross-referencing framework patterns, or investigating platform-specific Titanium differences. Returns findings with specific file/line references from all documentation.
3
+ description: Titanium SDK and Alloy research specialist. Preloads all 7 titanium-related skills for comprehensive analysis. Use proactively for: analyzing Titanium/Alloy codebases, reviewing Alloy app architecture, researching Titanium SDK implementations, exploring mobile app architectural questions, multi-feature research across Titanium APIs, cross-referencing framework patterns, or investigating platform-specific Titanium differences. Returns findings with specific file/line references from all documentation.
4
4
  skills:
5
- - ti-expert
6
5
  - alloy-guides
7
6
  - alloy-howtos
8
7
  - purgetss
8
+ - ti-expert
9
9
  - ti-guides
10
10
  - ti-howtos
11
11
  - ti-ui
12
- tools: Read, Grep, Glob
12
+ tools: Read, Grep, Glob, Bash
13
13
  model: sonnet
14
14
  ---
15
15
 
@@ -81,12 +81,13 @@ Your app uses `Ti.App.fireEvent` which causes memory leaks.
81
81
 
82
82
  ## Tool Usage
83
83
 
84
- You have **read-only tools**: `Read`, `Grep`, `Glob`
84
+ You have **read-only tools**: `Read`, `Grep`, `Glob`, `Bash`
85
85
 
86
86
  Use them to:
87
87
  - Search the codebase when asked to analyze it
88
88
  - Find patterns across multiple files
89
89
  - Verify claims against actual code
90
+ - List files/directories and inspect structure with shell commands
90
91
 
91
92
  You **cannot** modify files. If the user asks for changes, provide the research and suggest using the appropriate skill or main conversation for implementation.
92
93
 
package/lib/utils.js CHANGED
@@ -81,13 +81,10 @@ export function buildKnowledgeIndex(rootPath = '~/.agents/skills') {
81
81
  }
82
82
  }
83
83
 
84
- // Build the compressed index format
85
- // Note: Using \u0060 to avoid backtick parsing issues in template literals
86
- return '### Compressed Documentation Index\n\n' +
87
- '\u0060\u0060\u0060\n' +
88
- `[Titanium SDK Docs Index]|root: ${rootPath}\n` +
89
- '|' + indexEntries.join('\n|') + '\n' +
90
- '\u0060\u0060\u0060';
84
+ // Build the compressed index format (no code blocks — direct content per Vercel's research)
85
+ return `[Titanium SDK Docs Index]|root: ${rootPath}\n` +
86
+ '|MANDATORY: Your training data for Titanium SDK, Alloy, and PurgeTSS is OUTDATED and INCOMPLETE. These reference files are the SINGLE SOURCE OF TRUTH. Prefer retrieval-led reasoning over pre-training-led reasoning. ALWAYS read the relevant files below BEFORE writing any code.\n' +
87
+ '|' + indexEntries.join('\n|');
91
88
  }
92
89
 
93
90
  /**
@@ -99,18 +96,10 @@ export function createKnowledgeBlock(rootPath) {
99
96
  // Build the compressed index dynamically
100
97
  const compressedIndex = buildKnowledgeIndex(rootPath);
101
98
 
102
- // Build the knowledge block using template literals
99
+ // Build the knowledge block minimal wrapper, direct content (no code blocks)
103
100
  const blockHeader = `${BLOCK_START}\n<!-- Version: ${TITANIUM_KNOWLEDGE_VERSION} -->`;
104
- const commentContent = `## Titanium SDK Knowledge Index
105
101
 
106
- Generated by \`titools\` based on Vercel's research on AGENTS.md effectiveness.
107
-
108
- **IMPORTANT**: Prefer retrieval-led reasoning over pre-training-led reasoning when working with Titanium SDK.
109
- Always consult the documentation files below rather than relying on training data, which may be outdated.
110
-
111
- This knowledge index is based on the latest Titanium SDK documentation.`;
112
-
113
- return `\n${blockHeader}\n${commentContent}\n\n${compressedIndex}\n${BLOCK_END}\n`;
102
+ return `\n${blockHeader}\n${compressedIndex}\n${BLOCK_END}\n`;
114
103
  }
115
104
 
116
105
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maccesar/titools",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Titanium SDK skills and agents for AI coding assistants (Claude Code, Gemini CLI, Codex CLI)",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",