htmlgraph 0.23.4__py3-none-any.whl → 0.23.5__py3-none-any.whl

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.
htmlgraph/__init__.py CHANGED
@@ -84,7 +84,7 @@ from htmlgraph.types import (
84
84
  )
85
85
  from htmlgraph.work_type_utils import infer_work_type, infer_work_type_from_id
86
86
 
87
- __version__ = "0.23.4"
87
+ __version__ = "0.23.5"
88
88
  __all__ = [
89
89
  # Exceptions
90
90
  "HtmlGraphError",
@@ -65,7 +65,6 @@ class HeadlessSpawner:
65
65
  output_format: str = "json",
66
66
  model: str | None = None,
67
67
  include_directories: list[str] | None = None,
68
- color: str = "auto",
69
68
  timeout: int = 120,
70
69
  ) -> AIResult:
71
70
  """
@@ -76,7 +75,6 @@ class HeadlessSpawner:
76
75
  output_format: "json" or "stream-json"
77
76
  model: Model selection (e.g., "gemini-2.0-flash"). Default: None (uses default)
78
77
  include_directories: List of directories to include for context. Default: None
79
- color: Color output control ("auto", "on", "off"). Default: "auto"
80
78
  timeout: Max seconds to wait
81
79
 
82
80
  Returns:
@@ -95,8 +93,8 @@ class HeadlessSpawner:
95
93
  for directory in include_directories:
96
94
  cmd.extend(["--include-directories", directory])
97
95
 
98
- # Add color option
99
- cmd.extend(["--color", color])
96
+ # CRITICAL: Add --yolo for headless mode (auto-approve all tools)
97
+ cmd.append("--yolo")
100
98
 
101
99
  # Execute with timeout and stderr redirection
102
100
  # Note: Cannot use capture_output with stderr parameter
@@ -180,13 +178,11 @@ class HeadlessSpawner:
180
178
  def spawn_codex(
181
179
  self,
182
180
  prompt: str,
183
- approval: str = "never",
184
181
  output_json: bool = True,
185
182
  model: str | None = None,
186
183
  sandbox: str | None = None,
187
- full_auto: bool = False,
184
+ full_auto: bool = True,
188
185
  images: list[str] | None = None,
189
- color: str = "auto",
190
186
  output_last_message: str | None = None,
191
187
  output_schema: str | None = None,
192
188
  skip_git_check: bool = False,
@@ -200,13 +196,11 @@ class HeadlessSpawner:
200
196
 
201
197
  Args:
202
198
  prompt: Task description for Codex
203
- approval: Approval mode ("never", "always")
204
199
  output_json: Use --json flag for JSONL output
205
200
  model: Model selection (e.g., "gpt-4-turbo"). Default: None
206
201
  sandbox: Sandbox mode ("read-only", "workspace-write", "danger-full-access"). Default: None
207
- full_auto: Enable full auto mode (--full-auto). Default: False
202
+ full_auto: Enable full auto mode (--full-auto). Default: True (required for headless)
208
203
  images: List of image paths (--image). Default: None
209
- color: Color output control ("auto", "on", "off"). Default: "auto"
210
204
  output_last_message: Write last message to file (--output-last-message). Default: None
211
205
  output_schema: JSON schema for validation (--output-schema). Default: None
212
206
  skip_git_check: Skip git repo check (--skip-git-repo-check). Default: False
@@ -240,9 +234,6 @@ class HeadlessSpawner:
240
234
  for image in images:
241
235
  cmd.extend(["--image", image])
242
236
 
243
- # Add color option
244
- cmd.extend(["--color", color])
245
-
246
237
  # Add output last message file if specified
247
238
  if output_last_message:
248
239
  cmd.extend(["--output-last-message", output_last_message])
@@ -267,7 +258,8 @@ class HeadlessSpawner:
267
258
  if bypass_approvals:
268
259
  cmd.append("--dangerously-bypass-approvals-and-sandbox")
269
260
 
270
- cmd.extend(["--approval", approval, prompt])
261
+ # Add prompt as final argument
262
+ cmd.append(prompt)
271
263
 
272
264
  try:
273
265
  result = subprocess.run(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: htmlgraph
3
- Version: 0.23.4
3
+ Version: 0.23.5
4
4
  Summary: HTML is All You Need - Graph database on web standards
5
5
  Project-URL: Homepage, https://github.com/Shakes-tzd/htmlgraph
6
6
  Project-URL: Documentation, https://github.com/Shakes-tzd/htmlgraph#readme
@@ -1,4 +1,4 @@
1
- htmlgraph/__init__.py,sha256=leC4_bp-4lRTKLF1Vvfsi4pvj1nx_ka59W_VTDdH-6U,4979
1
+ htmlgraph/__init__.py,sha256=mtIyVp_jFrQp7Vq9fQotsdbgzaXHZl8m31141-Surps,4979
2
2
  htmlgraph/agent_detection.py,sha256=PAYo7rU3N_y1cGRd7Dwjh5Wgu-QZ7ENblX_yOzU-gJ0,2749
3
3
  htmlgraph/agent_registry.py,sha256=Usa_35by7p5gtpvHO7K3AcGimnorw-FzgPVa3cWTQ58,9448
4
4
  htmlgraph/agents.py,sha256=Yvu6x1nOfrW2WhRTAHiCuSpvqoVJXx1Mkzd59kwEczw,33466
@@ -124,7 +124,7 @@ htmlgraph/operations/events.py,sha256=vSuLj8IWtdfPMvoK6yDmDM3kh_SDOWU8Ofu5u4DF_T
124
124
  htmlgraph/operations/hooks.py,sha256=_jRHbjrWNM1fjukEr0TBu6wn90PVfpXtJjicSITqP0A,10037
125
125
  htmlgraph/operations/server.py,sha256=cxdSYZU10pNgiNfYk2T84D_40CAFjA9wSVsRfk9Ipm8,8746
126
126
  htmlgraph/orchestration/__init__.py,sha256=a9NWy-zWG9T7f7V37ibahniF_enn-31gM4veEJkM8cw,844
127
- htmlgraph/orchestration/headless_spawner.py,sha256=1eZ_jGwkRAQPkLY02fLZ-FgNpj4xKTVdcr2zpnUYy58,19746
127
+ htmlgraph/orchestration/headless_spawner.py,sha256=VfMX1Ubf7N8AFF1poSGyT_yyoUPIYmzlxYJJuyWqP98,19446
128
128
  htmlgraph/orchestration/model_selection.py,sha256=2IArHkde5rKD56aj5Jw9I9Z5iLV0yOgw3QCmNF996DE,11311
129
129
  htmlgraph/orchestration/task_coordination.py,sha256=7_oQ4AlHOv14hs6RvLsatJzF-F5gkIbv1EOrmeGPhiw,9699
130
130
  htmlgraph/scripts/__init__.py,sha256=a_ef7jnypTH3fzjutKYtUquJospdbA6IOR4o9dgv8Gk,48
@@ -134,12 +134,12 @@ htmlgraph/services/claiming.py,sha256=HcrltEJKN72mxuD7fGuXWeh1U0vwhjMvhZcFc02Eiy
134
134
  htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
135
135
  htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
136
136
  htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
137
- htmlgraph-0.23.4.data/data/htmlgraph/dashboard.html,sha256=rkZYjSnPbUuAm35QMpCNWemenYqQTdkkumCX2hhe8Dc,173537
138
- htmlgraph-0.23.4.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
139
- htmlgraph-0.23.4.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
140
- htmlgraph-0.23.4.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
141
- htmlgraph-0.23.4.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
142
- htmlgraph-0.23.4.dist-info/METADATA,sha256=BtfEQ59TY_LKrZZ40lLuSVriuWuXgakO3z9VFHviYjQ,7827
143
- htmlgraph-0.23.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
144
- htmlgraph-0.23.4.dist-info/entry_points.txt,sha256=EaUbjA_bbDwEO_XDLEGMeK8aQP-ZnHiUTkLshyKDyB8,98
145
- htmlgraph-0.23.4.dist-info/RECORD,,
137
+ htmlgraph-0.23.5.data/data/htmlgraph/dashboard.html,sha256=rkZYjSnPbUuAm35QMpCNWemenYqQTdkkumCX2hhe8Dc,173537
138
+ htmlgraph-0.23.5.data/data/htmlgraph/styles.css,sha256=oDUSC8jG-V-hKojOBO9J88hxAeY2wJrBYTq0uCwX_Y4,7135
139
+ htmlgraph-0.23.5.data/data/htmlgraph/templates/AGENTS.md.template,sha256=f96h7V6ygwj-v-fanVI48eYMxR6t_se4bet1H4ZsDpI,7642
140
+ htmlgraph-0.23.5.data/data/htmlgraph/templates/CLAUDE.md.template,sha256=h1kG2hTX2XYig2KszsHBfzrwa_4Cfcq2Pj4SwqzeDlM,1984
141
+ htmlgraph-0.23.5.data/data/htmlgraph/templates/GEMINI.md.template,sha256=gAGzE53Avki87BM_otqy5HdcYCoLsHgqaKjVzNzPMX8,1622
142
+ htmlgraph-0.23.5.dist-info/METADATA,sha256=n09K5uXhSh8VZGdMVKavkhUlZUf2ioh7Yk5Knkit4fw,7827
143
+ htmlgraph-0.23.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
144
+ htmlgraph-0.23.5.dist-info/entry_points.txt,sha256=EaUbjA_bbDwEO_XDLEGMeK8aQP-ZnHiUTkLshyKDyB8,98
145
+ htmlgraph-0.23.5.dist-info/RECORD,,