tlc-claude-code 1.2.14 → 1.2.16
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 +1 -0
- package/package.json +1 -1
- package/tlc.md +59 -2
package/README.md
CHANGED
|
@@ -371,6 +371,7 @@ helm install tlc tlc/tlc-server \
|
|
|
371
371
|
|
|
372
372
|
## Documentation
|
|
373
373
|
|
|
374
|
+
- **[Getting Started Guide](docs/getting-started-guide.md)** — New to coding? Start here!
|
|
374
375
|
- **[Help / All Commands](help.md)** — Complete command reference
|
|
375
376
|
- **[Team Workflow](docs/team-workflow.md)** — Guide for teams (engineers + PO + QA)
|
|
376
377
|
- **[Dev Server](docs/devserver.md)** — Deploy on Ubuntu server
|
package/package.json
CHANGED
package/tlc.md
CHANGED
|
@@ -64,7 +64,64 @@ fi
|
|
|
64
64
|
echo "✓ Synced"
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
### Step 0b: Check
|
|
67
|
+
### Step 0b: Check Team Identity (First Time on Team Project)
|
|
68
|
+
|
|
69
|
+
When joining a team project (team.enabled = true), check if user is identified:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Check if team mode is enabled
|
|
73
|
+
teamEnabled=$(jq -r '.team.enabled // false' .tlc.json)
|
|
74
|
+
|
|
75
|
+
if [ "$teamEnabled" = "true" ]; then
|
|
76
|
+
# Check for user identity
|
|
77
|
+
if [ -z "$TLC_USER" ]; then
|
|
78
|
+
# No TLC_USER set, prompt for identity
|
|
79
|
+
gitUser=$(git config user.name)
|
|
80
|
+
|
|
81
|
+
echo "═══════════════════════════════════════════════════════════════"
|
|
82
|
+
echo "Team Project Detected"
|
|
83
|
+
echo "═══════════════════════════════════════════════════════════════"
|
|
84
|
+
echo ""
|
|
85
|
+
echo "This project uses team coordination."
|
|
86
|
+
echo "Please identify yourself for task claiming."
|
|
87
|
+
echo ""
|
|
88
|
+
echo "Your git name: $gitUser"
|
|
89
|
+
echo ""
|
|
90
|
+
echo "Use this name? [Y/n/other]: _"
|
|
91
|
+
|
|
92
|
+
# If Y → Set TLC_USER=$gitUser (normalized)
|
|
93
|
+
# If n → Ask for name
|
|
94
|
+
# Save to shell profile: export TLC_USER="username"
|
|
95
|
+
fi
|
|
96
|
+
fi
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**On first run, show team onboarding:**
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
═══════════════════════════════════════════════════════════════
|
|
103
|
+
Welcome to the Team!
|
|
104
|
+
═══════════════════════════════════════════════════════════════
|
|
105
|
+
|
|
106
|
+
Project: my-awesome-app
|
|
107
|
+
Team coordination: enabled
|
|
108
|
+
|
|
109
|
+
You'll be identified as: @alice
|
|
110
|
+
|
|
111
|
+
How it works:
|
|
112
|
+
1. /tlc:claim ← Reserve a task before working
|
|
113
|
+
2. git push ← Share your claim with team
|
|
114
|
+
3. Work on task
|
|
115
|
+
4. git commit ← Task auto-marked complete
|
|
116
|
+
|
|
117
|
+
Current team activity:
|
|
118
|
+
@bob is working on: Task 2 - Add validation
|
|
119
|
+
@carol completed: Task 1 - Create schema
|
|
120
|
+
|
|
121
|
+
Press Enter to continue...
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Step 0c: Check for Team Features (Upgrade Hint)
|
|
68
125
|
|
|
69
126
|
For projects that existed before team features, check if dev server is configured:
|
|
70
127
|
|
|
@@ -72,7 +129,7 @@ For projects that existed before team features, check if dev server is configure
|
|
|
72
129
|
# Check if deploy config exists
|
|
73
130
|
deployDomain=$(jq -r '.deploy.domain // ""' .tlc.json)
|
|
74
131
|
|
|
75
|
-
if [ -z "$deployDomain" ]; then
|
|
132
|
+
if [ -z "$deployDomain" ] && [ "$teamEnabled" != "true" ]; then
|
|
76
133
|
# No deploy config - this is an existing project without team setup
|
|
77
134
|
# Show subtle hint in header (not blocking)
|
|
78
135
|
teamHint="│ 💡 Team sharing available: /tlc:deploy setup"
|