@slats/claude-assets-sync 0.1.3 → 0.1.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/dist/@aileron/declare/index.d.ts +4 -4
- package/dist/commands/index.d.ts +9 -9
- package/dist/commands/migrate.d.ts +1 -1
- package/dist/commands/remove.d.ts +1 -1
- package/dist/commands/status.d.ts +1 -1
- package/dist/commands/sync.d.ts +1 -1
- package/dist/commands/types.d.ts +1 -1
- package/dist/commands/update.d.ts +1 -1
- package/dist/components/status/index.d.ts +6 -6
- package/dist/core/assetStructure.d.ts +1 -1
- package/dist/core/constants.d.ts +4 -4
- package/dist/core/filesystem.d.ts +1 -1
- package/dist/core/sync.d.ts +1 -1
- package/dist/core/syncMeta.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/utils/package.d.ts +2 -2
- package/dist/utils/paths.d.ts +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './function';
|
|
2
|
-
export * from './object';
|
|
3
|
-
export * from './utility';
|
|
4
|
-
export * from './unit';
|
|
1
|
+
export * from './function.js';
|
|
2
|
+
export * from './object.js';
|
|
3
|
+
export * from './utility.js';
|
|
4
|
+
export * from './unit.js';
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Command registry and exports
|
|
3
3
|
*/
|
|
4
|
-
export * from './types';
|
|
5
|
-
export { runSyncCommand } from './sync';
|
|
6
|
-
export { runListCommand, registerListCommand } from './list';
|
|
7
|
-
export { runRemoveCommand } from './remove';
|
|
8
|
-
export { runStatusCommand } from './status';
|
|
9
|
-
export { runMigrateCommand } from './migrate';
|
|
10
|
-
export { runAddCommand } from './add';
|
|
11
|
-
export { runUpdateCommand } from './update';
|
|
12
|
-
export type { UpdateCommandOptions } from './update';
|
|
4
|
+
export * from './types.js';
|
|
5
|
+
export { runSyncCommand } from './sync.js';
|
|
6
|
+
export { runListCommand, registerListCommand } from './list.js';
|
|
7
|
+
export { runRemoveCommand } from './remove.js';
|
|
8
|
+
export { runStatusCommand } from './status.js';
|
|
9
|
+
export { runMigrateCommand } from './migrate.js';
|
|
10
|
+
export { runAddCommand } from './add.js';
|
|
11
|
+
export { runUpdateCommand } from './update.js';
|
|
12
|
+
export type { UpdateCommandOptions } from './update.js';
|
|
13
13
|
/**
|
|
14
14
|
* Command metadata for CLI help and documentation
|
|
15
15
|
*/
|
package/dist/commands/sync.d.ts
CHANGED
package/dist/commands/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { StatusDisplay } from './StatusDisplay';
|
|
2
|
-
export { PackageStatusCard } from './PackageStatusCard';
|
|
3
|
-
export { StatusTreeNode } from './StatusTreeNode';
|
|
4
|
-
export type { StatusDisplayProps, PackageStatusItem } from './StatusDisplay';
|
|
5
|
-
export type { PackageStatusCardProps } from './PackageStatusCard';
|
|
6
|
-
export type { StatusTreeNodeProps } from './StatusTreeNode';
|
|
1
|
+
export { StatusDisplay } from './StatusDisplay.js';
|
|
2
|
+
export { PackageStatusCard } from './PackageStatusCard.js';
|
|
3
|
+
export { StatusTreeNode } from './StatusTreeNode.js';
|
|
4
|
+
export type { StatusDisplayProps, PackageStatusItem } from './StatusDisplay.js';
|
|
5
|
+
export type { PackageStatusCardProps } from './PackageStatusCard.js';
|
|
6
|
+
export type { StatusTreeNodeProps } from './StatusTreeNode.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AssetStructure, AssetsConfig } from '../utils/types.js';
|
|
2
|
-
import { DEFAULT_ASSET_TYPES } from './constants';
|
|
2
|
+
import { DEFAULT_ASSET_TYPES } from './constants.js';
|
|
3
3
|
export { DEFAULT_ASSET_TYPES };
|
|
4
4
|
/**
|
|
5
5
|
* Default structure configuration for built-in asset types
|
package/dist/core/constants.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const META_FILES: {
|
|
|
26
26
|
* Schema versions for metadata files
|
|
27
27
|
*/
|
|
28
28
|
export declare const SCHEMA_VERSIONS: {
|
|
29
|
-
readonly UNIFIED_SYNC_META: "0.1.
|
|
29
|
+
readonly UNIFIED_SYNC_META: "0.1.4";
|
|
30
30
|
readonly LEGACY_SYNC_META: "1.0.0";
|
|
31
31
|
readonly SKILL_UNIT_FORMAT: "2";
|
|
32
32
|
};
|
|
@@ -43,16 +43,16 @@ export declare const DEFAULT_ASSET_TYPES: readonly ["commands", "skills", "agent
|
|
|
43
43
|
/**
|
|
44
44
|
* Default structure configuration for built-in asset types
|
|
45
45
|
*
|
|
46
|
-
* @deprecated Import from './assetStructure' instead to avoid circular dependency.
|
|
46
|
+
* @deprecated Import from './assetStructure.js' instead to avoid circular dependency.
|
|
47
47
|
* This re-export will be removed in version 1.0.0
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* ```typescript
|
|
51
51
|
* // ❌ Old (causes circular dependency)
|
|
52
|
-
* import { DEFAULT_ASSET_STRUCTURES } from './constants';
|
|
52
|
+
* import { DEFAULT_ASSET_STRUCTURES } from './constants.js';
|
|
53
53
|
*
|
|
54
54
|
* // ✅ New (recommended)
|
|
55
|
-
* import { DEFAULT_ASSET_STRUCTURES } from './assetStructure';
|
|
55
|
+
* import { DEFAULT_ASSET_STRUCTURES } from './assetStructure.js';
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AssetType, SyncMeta, UnifiedSyncMeta } from '../utils/types.js';
|
|
2
|
-
import { ensureDirectory, writeTextFile } from './io';
|
|
2
|
+
import { ensureDirectory, writeTextFile } from './io.js';
|
|
3
3
|
/**
|
|
4
4
|
* Ensure directory exists (creates recursively if needed)
|
|
5
5
|
* @param dirPath - Directory path
|
package/dist/core/sync.d.ts
CHANGED
package/dist/core/syncMeta.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { PackageSyncInfo, SkillUnit, UnifiedSyncMeta } from '../utils/types
|
|
|
2
2
|
/**
|
|
3
3
|
* Schema version for the unified metadata format
|
|
4
4
|
*/
|
|
5
|
-
export declare const SCHEMA_VERSION: "0.1.
|
|
5
|
+
export declare const SCHEMA_VERSION: "0.1.4";
|
|
6
6
|
/**
|
|
7
7
|
* Read unified sync metadata from .claude/.sync-meta.json
|
|
8
8
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { syncPackage, syncPackages } from './core/sync';
|
|
1
|
+
export { syncPackage, syncPackages } from './core/sync.js';
|
|
2
2
|
export { createProgram, run } from './core/cli.js';
|
|
3
|
-
export { migrateToFlat, needsMigration } from './core/migration';
|
|
4
|
-
export type { MigrationResult } from './core/migration';
|
|
5
|
-
export type { AssetType, CliOptions, ClaudeConfig, GitHubRepoInfo, PackageInfo, SyncMeta, SyncResult, UnifiedSyncMeta, PackageSyncInfo, FileMapping, } from './utils/types';
|
|
3
|
+
export { migrateToFlat, needsMigration } from './core/migration.js';
|
|
4
|
+
export type { MigrationResult } from './core/migration.js';
|
|
5
|
+
export type { AssetType, CliOptions, ClaudeConfig, GitHubRepoInfo, PackageInfo, SyncMeta, SyncResult, UnifiedSyncMeta, PackageSyncInfo, FileMapping, } from './utils/types.js';
|
package/dist/utils/package.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ClaudeConfig, GitHubRepoInfo, PackageInfo, WorkspaceInfo } from './types';
|
|
2
|
-
export { getAssetStructure } from '../core/assetStructure';
|
|
1
|
+
import type { ClaudeConfig, GitHubRepoInfo, PackageInfo, WorkspaceInfo } from './types.js';
|
|
2
|
+
export { getAssetStructure } from '../core/assetStructure.js';
|
|
3
3
|
/**
|
|
4
4
|
* Resolve package path in node_modules by walking up the directory tree.
|
|
5
5
|
* Mimics Node.js module resolution: checks cwd/node_modules, then ../node_modules, etc.
|
package/dist/utils/paths.d.ts
CHANGED
package/dist/utils/types.d.ts
CHANGED
|
@@ -249,4 +249,4 @@ export interface TreeNode {
|
|
|
249
249
|
*
|
|
250
250
|
* @see ../core/assetStructure for the actual implementations
|
|
251
251
|
*/
|
|
252
|
-
export { DEFAULT_ASSET_TYPES, DEFAULT_ASSET_STRUCTURES, getAssetStructure, detectStructureType, validateAssetStructure, normalizeAssetStructure, } from '../core/assetStructure';
|
|
252
|
+
export { DEFAULT_ASSET_TYPES, DEFAULT_ASSET_STRUCTURES, getAssetStructure, detectStructureType, validateAssetStructure, normalizeAssetStructure, } from '../core/assetStructure.js';
|
package/dist/version.cjs
CHANGED
package/dist/version.d.ts
CHANGED
package/dist/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slats/claude-assets-sync",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "CLI tool to sync Claude commands and skills from npm packages to your project's .claude directory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "node scripts/inject-version.js && rollup -c && yarn build:types",
|
|
44
44
|
"build:publish:npm": "yarn build && yarn publish:npm",
|
|
45
|
-
"build:types": "
|
|
45
|
+
"build:types": "node ../../aileron/script/build/buildTypes.mjs",
|
|
46
46
|
"dev": "node scripts/inject-version.js && tsx src/cli.ts",
|
|
47
47
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
48
48
|
"lint": "eslint \"src/**/*.ts\"",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"version:patch": "yarn version patch"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@winglet/react-utils": "^0.11.
|
|
56
|
+
"@winglet/react-utils": "^0.11.2",
|
|
57
57
|
"commander": "^12.1.0",
|
|
58
58
|
"ink": "^6.6.0",
|
|
59
59
|
"ink-select-input": "^6.2.0",
|