blamcode 0.4.3__tar.gz → 0.4.4__tar.gz

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 (62) hide show
  1. {blamcode-0.4.3 → blamcode-0.4.4}/PKG-INFO +1 -1
  2. {blamcode-0.4.3 → blamcode-0.4.4}/blamcode.egg-info/PKG-INFO +1 -1
  3. {blamcode-0.4.3 → blamcode-0.4.4}/pyproject.toml +1 -1
  4. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/__init__.py +1 -1
  5. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/blamcode +15 -5
  6. {blamcode-0.4.3 → blamcode-0.4.4}/LICENSE +0 -0
  7. {blamcode-0.4.3 → blamcode-0.4.4}/README.md +0 -0
  8. {blamcode-0.4.3 → blamcode-0.4.4}/blamcode.egg-info/SOURCES.txt +0 -0
  9. {blamcode-0.4.3 → blamcode-0.4.4}/blamcode.egg-info/dependency_links.txt +0 -0
  10. {blamcode-0.4.3 → blamcode-0.4.4}/blamcode.egg-info/entry_points.txt +0 -0
  11. {blamcode-0.4.3 → blamcode-0.4.4}/blamcode.egg-info/top_level.txt +0 -0
  12. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/cli.py +0 -0
  13. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/README.md +0 -0
  14. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/agent/build.md +0 -0
  15. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/agent/debugger.md +0 -0
  16. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/agent/designer.md +0 -0
  17. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/agent/vision.md +0 -0
  18. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/agent/writer.md +0 -0
  19. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/ask.md +0 -0
  20. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/blam.md +0 -0
  21. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/explore.md +0 -0
  22. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/fix.md +0 -0
  23. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/open.md +0 -0
  24. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/command/review.md +0 -0
  25. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/opencode.json +0 -0
  26. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/themes/bangladeshi.json +0 -0
  27. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/themes/blamcode.json +0 -0
  28. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/config/tui.json +0 -0
  29. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/install.sh +0 -0
  30. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/__pycache__/patch-brand.cpython-312.pyc +0 -0
  31. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/blamcode-browser +0 -0
  32. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/blamcode-menu +0 -0
  33. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/blamcode-uninstall +0 -0
  34. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/blamcode-vision +0 -0
  35. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/oc-settings.sh +0 -0
  36. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/scripts/patch-brand.py +0 -0
  37. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/android-app/SKILL.md +0 -0
  38. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/api-integration/SKILL.md +0 -0
  39. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/bash-cli-expert/SKILL.md +0 -0
  40. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/bot-development/SKILL.md +0 -0
  41. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/clean-code-performance/SKILL.md +0 -0
  42. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/database/SKILL.md +0 -0
  43. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/debugging-fixes/SKILL.md +0 -0
  44. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/deploy-hosting/SKILL.md +0 -0
  45. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/docker/SKILL.md +0 -0
  46. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/firebase-supabase/SKILL.md +0 -0
  47. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/git-workflow/SKILL.md +0 -0
  48. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/SKILL.md +0 -0
  49. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/references/index-template.html +0 -0
  50. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/references/knockout.py +0 -0
  51. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/references/pipeline.md +0 -0
  52. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/references/prompts.md +0 -0
  53. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/lets-scroll/references/scrub-engine.js +0 -0
  54. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/project-structure/SKILL.md +0 -0
  55. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/python-automation/SKILL.md +0 -0
  56. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/react-next-best-practices/SKILL.md +0 -0
  57. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/security-review/SKILL.md +0 -0
  58. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/seo-basics/SKILL.md +0 -0
  59. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/testing/SKILL.md +0 -0
  60. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/ui-ux-responsive/SKILL.md +0 -0
  61. {blamcode-0.4.3 → blamcode-0.4.4}/python/blamcode/layer/skills/website-builder/SKILL.md +0 -0
  62. {blamcode-0.4.3 → blamcode-0.4.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blamcode
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: BLAMCODE — AI coding CLI for Termux. Your app, BLAM, done!
5
5
  Author: zyvo9
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blamcode
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: BLAMCODE — AI coding CLI for Termux. Your app, BLAM, done!
5
5
  Author: zyvo9
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "blamcode"
7
- version = "0.4.3"
7
+ version = "0.4.4"
8
8
  description = "BLAMCODE — AI coding CLI for Termux. Your app, BLAM, done!"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -6,4 +6,4 @@ hands over to the real installer (install.sh) which does everything
6
6
  else (core engine, deps, single-line live progress).
7
7
  """
8
8
 
9
- __version__ = "0.4.3"
9
+ __version__ = "0.4.4"
@@ -295,10 +295,18 @@ if [ -z "$SESSION_NAME" ]; then
295
295
  ;;
296
296
  *)
297
297
  if [ "$PWD" = "$HOME" ] || [ "$PWD" = "$SDIR_ROOT" ]; then
298
- # Default dedicated folder so root is never cluttered
298
+ # Default dedicated folder so root is never cluttered.
299
+ # Storage may not be granted yet (termux-setup-storage) —
300
+ # mkdir/cd then fail silently, so guard and fall back to
301
+ # the internal-storage home instead of dying.
299
302
  SDIR="$SDIR_ROOT/default"
300
- mkdir -p "$SDIR" 2>/dev/null || true
301
- cd "$SDIR"
303
+ if ! mkdir -p "$SDIR" 2>/dev/null || ! cd "$SDIR" 2>/dev/null; then
304
+ echo "blamcode: no /sdcard access yet — using ~/blamcode instead" >&2
305
+ echo " (grant storage with: termux-setup-storage — /sdcard/blamcode works next run)" >&2
306
+ SDIR="$HOME/blamcode/default"
307
+ mkdir -p "$SDIR" 2>/dev/null || true
308
+ cd "$SDIR" || { echo "blamcode: cannot create $SDIR" >&2; exit 1; }
309
+ fi
302
310
  export OPENCODE_DEFAULT_DIR="$SDIR"
303
311
  else
304
312
  export OPENCODE_DEFAULT_DIR="$PWD"
@@ -313,10 +321,12 @@ else
313
321
  esac
314
322
  SDIR="$SDIR_ROOT/$SESSION_NAME"
315
323
  mkdir -p "$SDIR" 2>/dev/null || true
316
- if [ -d "$SDIR" ]; then
317
- cd "$SDIR"
324
+ if [ -d "$SDIR" ] && cd "$SDIR" 2>/dev/null; then
318
325
  export OPENCODE_DEFAULT_DIR="$SDIR"
319
326
  SESSION_MODE=1
327
+ elif [ -d "$SDIR" ]; then
328
+ echo "blamcode: cannot enter $SDIR (storage access?) — run: termux-setup-storage" >&2
329
+ exit 1
320
330
  else
321
331
  echo "blamcode: could not create project folder ($SDIR)" >&2
322
332
  exit 1
File without changes
File without changes
File without changes