@maccesar/titools 2.0.2 → 2.0.4

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/lib/downloader.js CHANGED
@@ -8,7 +8,7 @@ import { tmpdir } from 'os';
8
8
  import { join, dirname } from 'path';
9
9
  import { pipeline } from 'stream/promises';
10
10
  import { unlink } from 'fs/promises';
11
- import tar from 'tar';
11
+ import { extract } from 'tar';
12
12
  import { REPO_API_URL, REPO_RAW_URL, GITHUB_API_HEADERS } from './config.js';
13
13
 
14
14
  /**
@@ -77,7 +77,7 @@ export async function downloadRepoArchive(destDir, ref = 'main') {
77
77
  await downloadFile(archiveUrl, tempFile);
78
78
 
79
79
  // Extract archive
80
- await tar.extract({
80
+ await extract({
81
81
  file: tempFile,
82
82
  cwd: destDir,
83
83
  strip: 1, // Remove top-level directory
package/lib/utils.js CHANGED
@@ -86,7 +86,6 @@ export function buildKnowledgeIndex() {
86
86
  return '### Compressed Documentation Index\n\n' +
87
87
  '\u0060\u0060\u0060\n' +
88
88
  '[Titanium SDK Docs Index]|root: ~/.agents/skills\n' +
89
- '|IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning when working with Titanium SDK. Always consult the documentation files below rather than relying on training data, which may be outdated.\n' +
90
89
  '|' + indexEntries.join('\n|') + '\n' +
91
90
  '\u0060\u0060\u0060';
92
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maccesar/titools",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
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",