agentloom 0.1.0 → 0.1.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.
Files changed (53) hide show
  1. package/README.md +91 -72
  2. package/bin/cli.mjs +3 -2
  3. package/dist/cli.d.ts +1 -0
  4. package/dist/cli.js +149 -17
  5. package/dist/commands/add.d.ts +7 -0
  6. package/dist/commands/add.js +122 -31
  7. package/dist/commands/agent.d.ts +2 -0
  8. package/dist/commands/agent.js +85 -0
  9. package/dist/commands/command.d.ts +2 -0
  10. package/dist/commands/command.js +98 -0
  11. package/dist/commands/delete.d.ts +9 -0
  12. package/dist/commands/delete.js +444 -0
  13. package/dist/commands/entity-utils.d.ts +13 -0
  14. package/dist/commands/entity-utils.js +58 -0
  15. package/dist/commands/find.d.ts +21 -0
  16. package/dist/commands/find.js +944 -0
  17. package/dist/commands/mcp.js +133 -55
  18. package/dist/commands/skills.d.ts +2 -1
  19. package/dist/commands/skills.js +105 -9
  20. package/dist/commands/sync.d.ts +6 -0
  21. package/dist/commands/sync.js +12 -10
  22. package/dist/commands/update.d.ts +7 -0
  23. package/dist/commands/update.js +286 -21
  24. package/dist/core/argv.d.ts +2 -1
  25. package/dist/core/argv.js +42 -2
  26. package/dist/core/commands.d.ts +13 -0
  27. package/dist/core/commands.js +65 -0
  28. package/dist/core/copy.d.ts +6 -0
  29. package/dist/core/copy.js +126 -65
  30. package/dist/core/importer.d.ts +28 -1
  31. package/dist/core/importer.js +1104 -41
  32. package/dist/core/lockfile.js +86 -3
  33. package/dist/core/manage-agents-bootstrap.d.ts +10 -0
  34. package/dist/core/manage-agents-bootstrap.js +40 -0
  35. package/dist/core/manifest.js +7 -1
  36. package/dist/core/router.d.ts +16 -0
  37. package/dist/core/router.js +66 -0
  38. package/dist/core/scope.d.ts +1 -1
  39. package/dist/core/scope.js +12 -8
  40. package/dist/core/settings.d.ts +4 -3
  41. package/dist/core/settings.js +10 -8
  42. package/dist/core/skills.d.ts +23 -0
  43. package/dist/core/skills.js +328 -0
  44. package/dist/core/sources.d.ts +3 -1
  45. package/dist/core/sources.js +31 -1
  46. package/dist/core/telemetry.d.ts +26 -0
  47. package/dist/core/telemetry.js +124 -0
  48. package/dist/core/version-notifier.d.ts +1 -0
  49. package/dist/core/version-notifier.js +22 -4
  50. package/dist/sync/index.d.ts +7 -1
  51. package/dist/sync/index.js +395 -131
  52. package/dist/types.d.ts +16 -1
  53. package/package.json +5 -4
package/dist/types.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export declare const ALL_PROVIDERS: readonly ["cursor", "claude", "codex", "opencode", "gemini", "copilot"];
2
2
  export type Provider = (typeof ALL_PROVIDERS)[number];
3
3
  export type Scope = "local" | "global";
4
+ export type EntityType = "agent" | "command" | "mcp" | "skill";
5
+ export type SelectionMode = "all" | "custom";
4
6
  export interface AgentFrontmatter {
5
7
  name: string;
6
8
  description: string;
@@ -24,11 +26,21 @@ export interface LockEntry {
24
26
  source: string;
25
27
  sourceType: "local" | "github" | "git";
26
28
  requestedRef?: string;
29
+ requestedAgents?: string[];
27
30
  resolvedCommit: string;
28
31
  subdir?: string;
29
32
  importedAt: string;
30
33
  importedAgents: string[];
34
+ importedCommands: string[];
35
+ selectedSourceCommands?: string[];
36
+ commandRenameMap?: Record<string, string>;
31
37
  importedMcpServers: string[];
38
+ selectedSourceMcpServers?: string[];
39
+ importedSkills: string[];
40
+ selectedSourceSkills?: string[];
41
+ skillsProviders?: Provider[];
42
+ skillRenameMap?: Record<string, string>;
43
+ trackedEntities?: EntityType[];
32
44
  contentHash: string;
33
45
  }
34
46
  export interface AgentsLockFile {
@@ -50,12 +62,14 @@ export interface ScopePaths {
50
62
  homeDir: string;
51
63
  agentsRoot: string;
52
64
  agentsDir: string;
65
+ commandsDir: string;
66
+ skillsDir: string;
53
67
  mcpPath: string;
54
68
  lockPath: string;
55
69
  settingsPath: string;
56
70
  manifestPath: string;
57
71
  }
58
- export interface DotagentsSettings {
72
+ export interface AgentloomSettings {
59
73
  version: 1;
60
74
  lastScope?: Scope;
61
75
  defaultProviders?: Provider[];
@@ -66,6 +80,7 @@ export interface DotagentsSettings {
66
80
  export interface SyncManifest {
67
81
  version: 1;
68
82
  generatedFiles: string[];
83
+ generatedByEntity?: Partial<Record<EntityType, string[]>>;
69
84
  codex?: {
70
85
  roles?: string[];
71
86
  mcpServers?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentloom",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Unified agent and MCP sync CLI for multi-provider AI tooling",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,8 +18,8 @@
18
18
  "dev": "tsx src/cli.ts",
19
19
  "test": "vitest run",
20
20
  "test:watch": "vitest",
21
- "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
22
- "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
21
+ "format": "prettier --no-editorconfig --write \"src/**/*.ts\" \"tests/**/*.ts\"",
22
+ "format:check": "prettier --no-editorconfig --check \"src/**/*.ts\" \"tests/**/*.ts\"",
23
23
  "type-check": "tsc --noEmit",
24
24
  "check": "pnpm format:check && pnpm type-check && pnpm test",
25
25
  "prepublishOnly": "pnpm build"
@@ -35,7 +35,8 @@
35
35
  "mcp"
36
36
  ],
37
37
  "repository": {
38
- "type": "git"
38
+ "type": "git",
39
+ "url": "https://github.com/farnoodma/agentloom"
39
40
  },
40
41
  "license": "MIT",
41
42
  "engines": {