@leejungkiin/awkit 1.3.8 → 1.4.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 (135) hide show
  1. package/bin/awk.js +630 -52
  2. package/bin/claude-generators.js +122 -0
  3. package/core/AGENTS.md +54 -0
  4. package/core/CLAUDE.md +155 -0
  5. package/core/GEMINI.md +44 -9
  6. package/core/GEMINI.md.bak +126 -199
  7. package/package.json +1 -1
  8. package/skills/ai-sprite-maker/SKILL.md +81 -0
  9. package/skills/ai-sprite-maker/scripts/animate_sprite.py +102 -0
  10. package/skills/ai-sprite-maker/scripts/process_sprites.py +140 -0
  11. package/skills/awf-session-restore/SKILL.md +12 -2
  12. package/skills/brainstorm-agent/SKILL.md +11 -8
  13. package/skills/code-review/SKILL.md +21 -33
  14. package/skills/gitnexus/gitnexus-cli/SKILL.md +82 -0
  15. package/skills/gitnexus/gitnexus-debugging/SKILL.md +89 -0
  16. package/skills/gitnexus/gitnexus-exploring/SKILL.md +78 -0
  17. package/skills/gitnexus/gitnexus-guide/SKILL.md +64 -0
  18. package/skills/gitnexus/gitnexus-impact-analysis/SKILL.md +97 -0
  19. package/skills/gitnexus/gitnexus-refactoring/SKILL.md +121 -0
  20. package/skills/lucylab-tts/SKILL.md +64 -0
  21. package/skills/lucylab-tts/resources/voices_library.json +908 -0
  22. package/skills/lucylab-tts/scripts/.env +1 -0
  23. package/skills/lucylab-tts/scripts/lucylab_tts.py +506 -0
  24. package/skills/nm-memory-sync/SKILL.md +14 -1
  25. package/skills/orchestrator/SKILL.md +5 -38
  26. package/skills/ship-to-code/SKILL.md +115 -0
  27. package/skills/short-maker/SKILL.md +150 -0
  28. package/skills/short-maker/_backup/storyboard.html +106 -0
  29. package/skills/short-maker/_backup/video_mixer.py +296 -0
  30. package/skills/short-maker/outputs/fitbite-promo/background.jpg +0 -0
  31. package/skills/short-maker/outputs/fitbite-promo/final/promo-final.mp4 +0 -0
  32. package/skills/short-maker/outputs/fitbite-promo/script.md +19 -0
  33. package/skills/short-maker/outputs/fitbite-promo/segments/scene-01.mp4 +0 -0
  34. package/skills/short-maker/outputs/fitbite-promo/segments/scene-02.mp4 +0 -0
  35. package/skills/short-maker/outputs/fitbite-promo/segments/scene-03.mp4 +0 -0
  36. package/skills/short-maker/outputs/fitbite-promo/segments/scene-04.mp4 +0 -0
  37. package/skills/short-maker/outputs/fitbite-promo/storyboard/scene-01.png +0 -0
  38. package/skills/short-maker/outputs/fitbite-promo/storyboard/scene-02.png +0 -0
  39. package/skills/short-maker/outputs/fitbite-promo/storyboard/scene-03.png +0 -0
  40. package/skills/short-maker/outputs/fitbite-promo/storyboard/scene-04.png +0 -0
  41. package/skills/short-maker/outputs/fitbite-promo/storyboard.html +133 -0
  42. package/skills/short-maker/outputs/fitbite-promo/storyboard.json +38 -0
  43. package/skills/short-maker/outputs/fitbite-promo/temp/merged_chroma.mp4 +0 -0
  44. package/skills/short-maker/outputs/fitbite-promo/temp/merged_crossfaded.mp4 +0 -0
  45. package/skills/short-maker/outputs/fitbite-promo/temp/ready_00.mp4 +0 -0
  46. package/skills/short-maker/outputs/fitbite-promo/temp/ready_01.mp4 +0 -0
  47. package/skills/short-maker/outputs/fitbite-promo/temp/ready_02.mp4 +0 -0
  48. package/skills/short-maker/outputs/fitbite-promo/temp/ready_03.mp4 +0 -0
  49. package/skills/short-maker/outputs/fitbite-promo/tts/manifest.json +31 -0
  50. package/skills/short-maker/outputs/fitbite-promo/tts/scene-01.wav +0 -0
  51. package/skills/short-maker/outputs/fitbite-promo/tts/scene-02.wav +0 -0
  52. package/skills/short-maker/outputs/fitbite-promo/tts/scene-03.wav +0 -0
  53. package/skills/short-maker/outputs/fitbite-promo/tts/scene-04.wav +0 -0
  54. package/skills/short-maker/outputs/fitbite-promo/tts_script.txt +11 -0
  55. package/skills/short-maker/scripts/google-flow-cli/.project-identity +41 -0
  56. package/skills/short-maker/scripts/google-flow-cli/.trae/rules/project_rules.md +52 -0
  57. package/skills/short-maker/scripts/google-flow-cli/CODEBASE.md +67 -0
  58. package/skills/short-maker/scripts/google-flow-cli/GoogleFlowCli.code-workspace +29 -0
  59. package/skills/short-maker/scripts/google-flow-cli/README.md +168 -0
  60. package/skills/short-maker/scripts/google-flow-cli/docs/specs/PROJECT.md +12 -0
  61. package/skills/short-maker/scripts/google-flow-cli/docs/specs/REQUIREMENTS.md +22 -0
  62. package/skills/short-maker/scripts/google-flow-cli/docs/specs/ROADMAP.md +16 -0
  63. package/skills/short-maker/scripts/google-flow-cli/docs/specs/TECH-SPEC.md +13 -0
  64. package/skills/short-maker/scripts/google-flow-cli/gflow/__init__.py +3 -0
  65. package/skills/short-maker/scripts/google-flow-cli/gflow/api/__init__.py +19 -0
  66. package/skills/short-maker/scripts/google-flow-cli/gflow/api/client.py +1921 -0
  67. package/skills/short-maker/scripts/google-flow-cli/gflow/api/models.py +64 -0
  68. package/skills/short-maker/scripts/google-flow-cli/gflow/api/rpc_ids.py +98 -0
  69. package/skills/short-maker/scripts/google-flow-cli/gflow/auth/__init__.py +15 -0
  70. package/skills/short-maker/scripts/google-flow-cli/gflow/auth/browser_auth.py +692 -0
  71. package/skills/short-maker/scripts/google-flow-cli/gflow/auth/humanizer.py +417 -0
  72. package/skills/short-maker/scripts/google-flow-cli/gflow/auth/proxy_ext.py +120 -0
  73. package/skills/short-maker/scripts/google-flow-cli/gflow/auth/recaptcha.py +482 -0
  74. package/skills/short-maker/scripts/google-flow-cli/gflow/batchexecute/__init__.py +5 -0
  75. package/skills/short-maker/scripts/google-flow-cli/gflow/batchexecute/client.py +414 -0
  76. package/skills/short-maker/scripts/google-flow-cli/gflow/cli/__init__.py +1 -0
  77. package/skills/short-maker/scripts/google-flow-cli/gflow/cli/main.py +1075 -0
  78. package/skills/short-maker/scripts/google-flow-cli/pyproject.toml +36 -0
  79. package/skills/short-maker/scripts/google-flow-cli/script.txt +22 -0
  80. package/skills/short-maker/scripts/google-flow-cli/tests/__init__.py +0 -0
  81. package/skills/short-maker/scripts/google-flow-cli/tests/test_batchexecute.py +113 -0
  82. package/skills/short-maker/scripts/google-flow-cli/tests/test_client.py +190 -0
  83. package/skills/short-maker/templates/aida_script.md +40 -0
  84. package/skills/short-maker/templates/mimic_analyzer.md +29 -0
  85. package/skills/single-flow-task-execution/SKILL.md +412 -0
  86. package/skills/single-flow-task-execution/code-quality-reviewer-prompt.md +20 -0
  87. package/skills/single-flow-task-execution/implementer-prompt.md +78 -0
  88. package/skills/single-flow-task-execution/spec-reviewer-prompt.md +61 -0
  89. package/skills/skill-creator/SKILL.md +44 -0
  90. package/skills/spm-build-analysis/SKILL.md +92 -0
  91. package/skills/spm-build-analysis/references/build-optimization-sources.md +155 -0
  92. package/skills/spm-build-analysis/references/recommendation-format.md +85 -0
  93. package/skills/spm-build-analysis/references/spm-analysis-checks.md +105 -0
  94. package/skills/spm-build-analysis/scripts/check_spm_pins.py +118 -0
  95. package/skills/symphony-enforcer/SKILL.md +83 -97
  96. package/skills/symphony-orchestrator/SKILL.md +1 -1
  97. package/skills/trello-sync/SKILL.md +52 -45
  98. package/skills/verification-gate/SKILL.md +13 -2
  99. package/skills/xcode-build-benchmark/SKILL.md +88 -0
  100. package/skills/xcode-build-benchmark/references/benchmark-artifacts.md +94 -0
  101. package/skills/xcode-build-benchmark/references/benchmarking-workflow.md +67 -0
  102. package/skills/xcode-build-benchmark/schemas/build-benchmark.schema.json +230 -0
  103. package/skills/xcode-build-benchmark/scripts/benchmark_builds.py +308 -0
  104. package/skills/xcode-build-fixer/SKILL.md +218 -0
  105. package/skills/xcode-build-fixer/references/build-settings-best-practices.md +216 -0
  106. package/skills/xcode-build-fixer/references/fix-patterns.md +290 -0
  107. package/skills/xcode-build-fixer/references/recommendation-format.md +85 -0
  108. package/skills/xcode-build-fixer/scripts/benchmark_builds.py +308 -0
  109. package/skills/xcode-build-orchestrator/SKILL.md +156 -0
  110. package/skills/xcode-build-orchestrator/references/benchmark-artifacts.md +94 -0
  111. package/skills/xcode-build-orchestrator/references/build-settings-best-practices.md +216 -0
  112. package/skills/xcode-build-orchestrator/references/orchestration-report-template.md +143 -0
  113. package/skills/xcode-build-orchestrator/references/recommendation-format.md +85 -0
  114. package/skills/xcode-build-orchestrator/scripts/benchmark_builds.py +308 -0
  115. package/skills/xcode-build-orchestrator/scripts/diagnose_compilation.py +273 -0
  116. package/skills/xcode-build-orchestrator/scripts/generate_optimization_report.py +533 -0
  117. package/skills/xcode-compilation-analyzer/SKILL.md +89 -0
  118. package/skills/xcode-compilation-analyzer/references/build-optimization-sources.md +155 -0
  119. package/skills/xcode-compilation-analyzer/references/code-compilation-checks.md +106 -0
  120. package/skills/xcode-compilation-analyzer/references/recommendation-format.md +85 -0
  121. package/skills/xcode-compilation-analyzer/scripts/diagnose_compilation.py +273 -0
  122. package/skills/xcode-project-analyzer/SKILL.md +76 -0
  123. package/skills/xcode-project-analyzer/references/build-optimization-sources.md +155 -0
  124. package/skills/xcode-project-analyzer/references/build-settings-best-practices.md +216 -0
  125. package/skills/xcode-project-analyzer/references/project-audit-checks.md +101 -0
  126. package/skills/xcode-project-analyzer/references/recommendation-format.md +85 -0
  127. package/templates/CODEBASE.md +26 -42
  128. package/templates/configs/trello-config.json +2 -2
  129. package/templates/workflow_dual_mode_template.md +5 -5
  130. package/workflows/_uncategorized/conductor-codex.md +125 -0
  131. package/workflows/_uncategorized/conductor.md +97 -0
  132. package/workflows/_uncategorized/ship-to-code.md +85 -0
  133. package/workflows/_uncategorized/trello-sync.md +52 -0
  134. package/workflows/context/codebase-sync.md +10 -87
  135. package/workflows/quality/visual-debug.md +66 -12
@@ -0,0 +1,64 @@
1
+ """
2
+ Data models for Google Flow API.
3
+
4
+ These models represent the request/response structures for Flow's
5
+ image and video generation endpoints, based on the reverse-engineered
6
+ aisandbox-pa.googleapis.com API.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from enum import Enum
12
+ from typing import Any
13
+
14
+ from pydantic import BaseModel, Field
15
+
16
+
17
+ class AssetType(str, Enum):
18
+ """Type of generated asset."""
19
+ IMAGE = "image"
20
+ VIDEO = "video"
21
+ UNKNOWN = "unknown"
22
+
23
+
24
+ class Asset(BaseModel):
25
+ """A generated image or video asset from Google Flow."""
26
+ id: str = ""
27
+ name: str = ""
28
+ asset_type: AssetType = AssetType.UNKNOWN
29
+ prompt: str = ""
30
+ url: str = "" # CDN URL (for videos)
31
+ width: int = 0
32
+ height: int = 0
33
+ duration_seconds: float = 0.0 # For videos
34
+ model: str = ""
35
+ raw: dict[str, Any] = Field(default_factory=dict) # Raw API response
36
+
37
+
38
+ class GenerateImageRequest(BaseModel):
39
+ """Request to generate images using Imagen 4."""
40
+ prompt: str
41
+ aspect_ratio: str = "landscape" # square, portrait, landscape, 4:3
42
+ seed: int | None = None
43
+ num_images: int = 1 # Number of images to generate (1-8)
44
+
45
+
46
+ class GenerateVideoRequest(BaseModel):
47
+ """Request to generate a video using Veo 3.1."""
48
+ prompt: str
49
+ aspect_ratio: str = "landscape"
50
+ duration: str = "short" # "short", "medium", "long"
51
+ seed: int | None = None
52
+ start_image: str | None = None # Path to image for image-to-video (starting frame)
53
+
54
+
55
+ class ExtendVideoRequest(BaseModel):
56
+ """Request to extend a video using Veo 3.1 extend.
57
+
58
+ Takes an existing video's media ID and generates a continuation.
59
+ """
60
+ prompt: str # Describe what happens next
61
+ media_id: str # Media ID of the video to extend
62
+ aspect_ratio: str = "landscape"
63
+ workflow_id: str = "" # Flow workflow ID (optional, for project continuity)
64
+ seed: int | None = None
@@ -0,0 +1,98 @@
1
+ """
2
+ RPC endpoint IDs for Google Flow.
3
+
4
+ These IDs are used in the BatchExecute protocol to identify which
5
+ server-side method to call. They must be discovered by inspecting
6
+ network traffic when using flow.google in a browser.
7
+
8
+ HOW TO DISCOVER THESE IDs:
9
+ 1. Open flow.google in Chrome
10
+ 2. Open DevTools > Network tab
11
+ 3. Filter by "batchexecute"
12
+ 4. Perform an action (e.g., generate an image)
13
+ 5. Look at the request payload for the "rpcids" parameter
14
+ 6. The value is the RPC ID for that action
15
+
16
+ The IDs below are PLACEHOLDERS. Replace them with the real values
17
+ you discover from network inspection. The format is typically
18
+ a short alphanumeric string like "xYz123" or "AbCdEf".
19
+
20
+ tmc/nlm uses the same approach — their RPC IDs were reverse-engineered
21
+ from NotebookLM's web traffic.
22
+ """
23
+
24
+ # =============================================================
25
+ # IMPORTANT: These are PLACEHOLDER IDs.
26
+ # You MUST replace them with real IDs from network inspection.
27
+ # =============================================================
28
+
29
+ # --- Image Generation ---
30
+ GENERATE_IMAGE = "PLACEHOLDER_GENERATE_IMAGE"
31
+ # Generates images using Imagen 4
32
+
33
+ # --- Video Generation ---
34
+ GENERATE_VIDEO = "PLACEHOLDER_GENERATE_VIDEO"
35
+ # Generates videos using Veo 3.1
36
+
37
+ # --- Asset Management ---
38
+ LIST_ASSETS = "PLACEHOLDER_LIST_ASSETS"
39
+ # Lists all assets in the user's library
40
+
41
+ GET_ASSET = "PLACEHOLDER_GET_ASSET"
42
+ # Gets details for a single asset
43
+
44
+ DELETE_ASSET = "PLACEHOLDER_DELETE_ASSET"
45
+ # Deletes an asset
46
+
47
+ # --- Collections ---
48
+ LIST_COLLECTIONS = "PLACEHOLDER_LIST_COLLECTIONS"
49
+ CREATE_COLLECTION = "PLACEHOLDER_CREATE_COLLECTION"
50
+ ADD_TO_COLLECTION = "PLACEHOLDER_ADD_TO_COLLECTION"
51
+ REMOVE_FROM_COLLECTION = "PLACEHOLDER_REMOVE_FROM_COLLECTION"
52
+ DELETE_COLLECTION = "PLACEHOLDER_DELETE_COLLECTION"
53
+
54
+ # --- Editing ---
55
+ EDIT_IMAGE = "PLACEHOLDER_EDIT_IMAGE"
56
+ # Lasso tool / inpainting edits
57
+
58
+ EXTEND_VIDEO = "PLACEHOLDER_EXTEND_VIDEO"
59
+ # Extend a video clip
60
+
61
+ FRAMES_TO_VIDEO = "PLACEHOLDER_FRAMES_TO_VIDEO"
62
+ # Create video bridging two images
63
+
64
+ # --- Account ---
65
+ GET_ACCOUNT = "PLACEHOLDER_GET_ACCOUNT"
66
+ # Get account info and quota
67
+
68
+ # --- App Config ---
69
+ GET_APP_CONFIG = "PLACEHOLDER_GET_APP_CONFIG"
70
+ # Loaded during initial page load, contains feature flags and model info
71
+
72
+ # =============================================================
73
+ # Discovery helper
74
+ # =============================================================
75
+
76
+ # Mapping of friendly names to RPC IDs for CLI discovery mode
77
+ ALL_RPC_IDS = {
78
+ "generate_image": GENERATE_IMAGE,
79
+ "generate_video": GENERATE_VIDEO,
80
+ "list_assets": LIST_ASSETS,
81
+ "get_asset": GET_ASSET,
82
+ "delete_asset": DELETE_ASSET,
83
+ "list_collections": LIST_COLLECTIONS,
84
+ "create_collection": CREATE_COLLECTION,
85
+ "add_to_collection": ADD_TO_COLLECTION,
86
+ "remove_from_collection": REMOVE_FROM_COLLECTION,
87
+ "delete_collection": DELETE_COLLECTION,
88
+ "edit_image": EDIT_IMAGE,
89
+ "extend_video": EXTEND_VIDEO,
90
+ "frames_to_video": FRAMES_TO_VIDEO,
91
+ "get_account": GET_ACCOUNT,
92
+ "get_app_config": GET_APP_CONFIG,
93
+ }
94
+
95
+
96
+ def is_placeholder(rpc_id: str) -> bool:
97
+ """Check if an RPC ID is still a placeholder."""
98
+ return rpc_id.startswith("PLACEHOLDER_")
@@ -0,0 +1,15 @@
1
+ """Browser-based authentication for Google Flow."""
2
+
3
+ from .browser_auth import (
4
+ BrowserAuth, AuthData, AuthError,
5
+ load_env, save_env, refresh_access_token,
6
+ refresh_cookies_from_cdp,
7
+ kill_auth_browser, get_saved_cdp_port,
8
+ )
9
+
10
+ __all__ = [
11
+ "BrowserAuth", "AuthData", "AuthError",
12
+ "load_env", "save_env", "refresh_access_token",
13
+ "refresh_cookies_from_cdp",
14
+ "kill_auth_browser", "get_saved_cdp_port",
15
+ ]