claude-yolo-extended 1.9.0 → 1.9.1

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.
@@ -0,0 +1,18 @@
1
+ You are initiating the "Project Shutdown Protocol." Please execute the following steps sequentially:
2
+
3
+ 1. **Update Handoff Documentation**
4
+ - Open (or create) `AI_HANDOFF.md`.
5
+ - Update the "Current State" section to reflect what we accomplished today.
6
+ - **CRITICAL:** Clear the old "Next Steps" and write a new, granular list of instructions for the *next* session. Include any known bugs or unfinished logic.
7
+
8
+ 2. **Code Quality Check**
9
+ - Briefly review the files we modified today. Ensure there are no leftover debug print statements or commented-out blocks that shouldn't be there.
10
+
11
+ 3. **Git Operations**
12
+ - Run `git add .`
13
+ - Generate a concise but descriptive commit message based on the work done.
14
+ - Run `git commit -m "your_message"`
15
+ - Run `git push`
16
+
17
+ 4. **Final Status**
18
+ - Confirm when the push is successful and the handoff file is saved.
@@ -0,0 +1,14 @@
1
+ You are initiating the "Project Startup Protocol." Please execute the following steps sequentially:
2
+
3
+ 1. **Git Synchronization**
4
+ - Run `git status` to ensure the directory is clean.
5
+ - If clean, run `git pull` to ensure we have the latest remote changes.
6
+
7
+ 2. **Context Retrieval**
8
+ - Check for a file named `AI_HANDOFF.md` in the root directory.
9
+ - **If found:** Read it to understand the current project state and the "Next Steps" defined in the previous session.
10
+ - **If NOT found:** Scan the `README.md` and the last 3 git commit messages to orient yourself, then create a new `AI_HANDOFF.md` file using the current context.
11
+
12
+ 3. **Plan Formulation**
13
+ - Based specifically on the "Next Steps" from the handoff file, outline the plan for this session.
14
+ - Do not write code yet. Present the plan and wait for my approval.
package/AI_HANDOFF.md ADDED
@@ -0,0 +1,14 @@
1
+ # AI Session Handoff
2
+
3
+ ## Current State
4
+ * **Last Updated:** 2025-11-29
5
+ * **Status:** In-Progress
6
+ * **Context:** Initial setup of AI Handoff protocol.
7
+
8
+ ## Recent Accomplishments
9
+ * [x] Established AI Command Structure
10
+ * [x] Created Handoff file
11
+
12
+ ## NEXT STEPS (Resume Work Here)
13
+ 1. [ ] Review project structure
14
+ 2. [ ] Determine immediate coding tasks
package/CLAUDE.md CHANGED
@@ -73,4 +73,11 @@ npm link
73
73
 
74
74
  - **npm Package**: https://www.npmjs.com/package/claude-yolo-extended
75
75
  - **GitHub Repository**: https://github.com/jslitzkerttcu/claude-yolo
76
- - **Issues**: https://github.com/jslitzkerttcu/claude-yolo/issues
76
+ - **Issues**: https://github.com/jslitzkerttcu/claude-yolo/issues
77
+
78
+ ## AI_HANDOFF.md Protocol
79
+ (These rules govern the 'AI_HANDOFF.md' file found in the root)
80
+ 1. **Transient State Only:** This file is a specific 'mutex' token for the next session. It is NOT a project history log.
81
+ 2. **No Documentation:** Do not write architectural decisions or code snippets here. Use README.md for that.
82
+ 3. **Clean Up:** When updating this file, REMOVE completed tasks. Do not mark them as [x] and leave them. The file should only ever contain the *current* state and *immediate* next steps.
83
+ 4. **Size Limit:** Keep this file short (under 50 lines).
package/bin/cl.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import fs from 'fs';
4
4
  import path from 'path';
package/bin/cl.ps1 CHANGED
@@ -1,36 +1,36 @@
1
- # Claude YOLO/SAFE Mode Wrapper Script
2
- # Usage: cl.ps1 /YON | /YOFF | /STATUS | /HELP | [claude commands]
3
-
4
- param(
5
- [Parameter(Position=0)]
6
- [string]$Command,
7
- [Parameter(Position=1)]
8
- [string]$Argument
9
- )
10
-
11
- # Colors for output
12
- $RED = "`e[31m"
13
- $YELLOW = "`e[33m"
14
- $CYAN = "`e[36m"
15
- $GREEN = "`e[32m"
16
- $RESET = "`e[0m"
17
-
18
- function Write-Colored($Text, $Color) {
19
- Write-Host "$Color$Text$RESET"
20
- }
21
-
22
- # Check if Node.js is installed
23
- if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
24
- Write-Colored "Error: Node.js is not installed. Please install Node.js first." $RED
25
- exit 1
26
- }
27
-
28
- # Check if the main script exists
29
- $scriptPath = Join-Path $PSScriptRoot "claude-yolo.js"
30
- if (-not (Test-Path $scriptPath)) {
31
- Write-Colored "Error: Main script not found. Please reinstall the package." $RED
32
- exit 1
33
- }
34
-
35
- # Run the main script with arguments
36
- & node $scriptPath $Command $Argument
1
+ # Claude YOLO/SAFE Mode Wrapper Script
2
+ # Usage: cl.ps1 /YON | /YOFF | /STATUS | /HELP | [claude commands]
3
+
4
+ param(
5
+ [Parameter(Position=0)]
6
+ [string]$Command,
7
+ [Parameter(Position=1)]
8
+ [string]$Argument
9
+ )
10
+
11
+ # Colors for output
12
+ $RED = "`e[31m"
13
+ $YELLOW = "`e[33m"
14
+ $CYAN = "`e[36m"
15
+ $GREEN = "`e[32m"
16
+ $RESET = "`e[0m"
17
+
18
+ function Write-Colored($Text, $Color) {
19
+ Write-Host "$Color$Text$RESET"
20
+ }
21
+
22
+ # Check if Node.js is installed
23
+ if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
24
+ Write-Colored "Error: Node.js is not installed. Please install Node.js first." $RED
25
+ exit 1
26
+ }
27
+
28
+ # Check if the main script exists
29
+ $scriptPath = Join-Path $PSScriptRoot "claude-yolo.js"
30
+ if (-not (Test-Path $scriptPath)) {
31
+ Write-Colored "Error: Main script not found. Please reinstall the package." $RED
32
+ exit 1
33
+ }
34
+
35
+ # Run the main script with arguments
36
+ & node $scriptPath $Command $Argument
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
 
4
4
  import fs from 'fs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yolo-extended",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Claude CLI wrapper with YOLO mode (bypass safety) and SAFE mode support, auto-updates, and colorful loading messages",
5
5
  "bin": {
6
6
  "claude-yolo-extended": "bin/claude-yolo.js",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "punycode": "latest",
11
- "@anthropic-ai/claude-code": "1.0.53"
11
+ "@anthropic-ai/claude-code": "2.0.55"
12
12
  },
13
13
  "type": "module",
14
14
  "repository": {
@@ -38,4 +38,4 @@
38
38
  "darwin",
39
39
  "linux"
40
40
  ]
41
- }
41
+ }