@hasna/project 0.1.3 → 0.1.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.
package/README.md CHANGED
@@ -5,58 +5,58 @@ Project management CLI + MCP server for AI agents. Register projects once, open
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- bun install -g @hasna/open-projects
8
+ bun install -g @hasna/project
9
9
  ```
10
10
 
11
11
  ## CLI
12
12
 
13
13
  ```bash
14
14
  # Register a project
15
- projects create --name my-app --path /path/to/my-app
15
+ project create --name my-app --path /path/to/my-app
16
16
 
17
17
  # List projects
18
- projects list
19
- projects list --status archived
18
+ project list
19
+ project list --status archived
20
20
 
21
21
  # Get details
22
- projects get my-app
22
+ project get my-app
23
23
 
24
24
  # Open a project (cd into it)
25
- cd $(projects open my-app)
25
+ cd $(project open my-app)
26
26
 
27
27
  # Update metadata
28
- projects update my-app --description "My app" --tags "web,ts"
28
+ project update my-app --description "My app" --tags "web,ts"
29
29
 
30
30
  # Archive / unarchive
31
- projects archive my-app
32
- projects unarchive my-app
31
+ project archive my-app
32
+ project unarchive my-app
33
33
 
34
34
  # Import existing directories
35
- projects import /path/to/existing-project
36
- projects import-bulk /path/to/workspace # imports all subdirs
35
+ project import /path/to/existing-project
36
+ project import-bulk /path/to/workspace # imports all subdirs
37
37
 
38
38
  # Sync to/from S3
39
- projects update my-app --s3-bucket my-bucket
40
- projects sync my-app
41
- projects sync my-app --direction push
42
- projects sync-all # sync all projects with S3 configured
39
+ project update my-app --s3-bucket my-bucket
40
+ project sync my-app
41
+ project sync my-app --direction push
42
+ project sync-all # sync all projects with S3 configured
43
43
 
44
44
  # Schedule auto-sync
45
- projects schedule set --interval daily --direction both
46
- projects schedule status
47
- projects schedule remove
45
+ project schedule set --interval daily --direction both
46
+ project schedule status
47
+ project schedule remove
48
48
 
49
49
  # Publish to GitHub
50
- projects publish my-app --org hasnaxyz
51
- projects unpublish my-app
50
+ project publish my-app --org hasnaxyz
51
+ project unpublish my-app
52
52
 
53
53
  # Git passthrough
54
- projects git my-app status
55
- projects git my-app log --oneline -10
54
+ project git my-app status
55
+ project git my-app log --oneline -10
56
56
 
57
57
  # Shell completion
58
- eval "$(projects completion)" # bash
59
- eval "$(projects completion --shell zsh)" # zsh
58
+ eval "$(project completion)" # bash
59
+ eval "$(project completion --shell zsh)" # zsh
60
60
  ```
61
61
 
62
62
  ## MCP Server
@@ -67,7 +67,7 @@ Add to your Claude config:
67
67
  {
68
68
  "mcpServers": {
69
69
  "open-projects": {
70
- "command": "projects-mcp"
70
+ "command": "project-mcp"
71
71
  }
72
72
  }
73
73
  }
package/dist/cli/index.js CHANGED
@@ -45955,12 +45955,12 @@ ${buildWorkdirList(allWorkdirs, workdir.path)}
45955
45955
  ## Instructions for AI Agents
45956
45956
 
45957
45957
  1. **Write code in \`${workdir.path}\`** \u2014 this is your working directory for this session.
45958
- 2. Use \`projects sync ${project.slug}\` to push changes to S3.
45959
- 3. Use \`projects git ${project.slug} <args>\` to run git commands.
45958
+ 2. Use \`project sync ${project.slug}\` to push changes to S3.
45959
+ 3. Use \`project git ${project.slug} <args>\` to run git commands.
45960
45960
  4. If you need to switch to a different workdir, call \`projects_open\` with the project ID.
45961
45961
 
45962
45962
  ---
45963
- *Generated by open-projects. Regenerate: \`projects workdir generate ${project.slug}\`*
45963
+ *Generated by open-projects. Regenerate: \`project workdir generate ${project.slug}\`*
45964
45964
  `.trimStart();
45965
45965
  }
45966
45966
  function agentsMdContent(project, workdir, allWorkdirs) {
@@ -45999,11 +45999,11 @@ ${otherDirs.map((w2) => `- \`${w2.path}\` [${w2.label}] on ${w2.machine_id}`).jo
45999
45999
  cd ${workdir.path}
46000
46000
 
46001
46001
  # Sync to S3
46002
- projects sync ${project.slug}
46002
+ project sync ${project.slug}
46003
46003
 
46004
46004
  # Git operations
46005
- projects git ${project.slug} status
46006
- projects git ${project.slug} log --oneline -10
46005
+ project git ${project.slug} status
46006
+ project git ${project.slug} log --oneline -10
46007
46007
  \`\`\`
46008
46008
  ${Object.keys(project.integrations).length ? `
46009
46009
  ## Service IDs
package/dist/mcp/index.js CHANGED
@@ -47432,12 +47432,12 @@ ${buildWorkdirList(allWorkdirs, workdir.path)}
47432
47432
  ## Instructions for AI Agents
47433
47433
 
47434
47434
  1. **Write code in \`${workdir.path}\`** \u2014 this is your working directory for this session.
47435
- 2. Use \`projects sync ${project.slug}\` to push changes to S3.
47436
- 3. Use \`projects git ${project.slug} <args>\` to run git commands.
47435
+ 2. Use \`project sync ${project.slug}\` to push changes to S3.
47436
+ 3. Use \`project git ${project.slug} <args>\` to run git commands.
47437
47437
  4. If you need to switch to a different workdir, call \`projects_open\` with the project ID.
47438
47438
 
47439
47439
  ---
47440
- *Generated by open-projects. Regenerate: \`projects workdir generate ${project.slug}\`*
47440
+ *Generated by open-projects. Regenerate: \`project workdir generate ${project.slug}\`*
47441
47441
  `.trimStart();
47442
47442
  }
47443
47443
  function agentsMdContent(project, workdir, allWorkdirs) {
@@ -47476,11 +47476,11 @@ ${otherDirs.map((w2) => `- \`${w2.path}\` [${w2.label}] on ${w2.machine_id}`).jo
47476
47476
  cd ${workdir.path}
47477
47477
 
47478
47478
  # Sync to S3
47479
- projects sync ${project.slug}
47479
+ project sync ${project.slug}
47480
47480
 
47481
47481
  # Git operations
47482
- projects git ${project.slug} status
47483
- projects git ${project.slug} log --oneline -10
47482
+ project git ${project.slug} status
47483
+ project git ${project.slug} log --oneline -10
47484
47484
  \`\`\`
47485
47485
  ${Object.keys(project.integrations).length ? `
47486
47486
  ## Service IDs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/project",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Project management CLI + MCP server for AI agents — register, sync, and open projects across machines",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",