claude-dev-env 8.46.11 → 8.46.12
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.
|
@@ -11,7 +11,7 @@ USAGE_PACE_SCRIPT_FILE_NAME = "usage_pace.py"
|
|
|
11
11
|
USAGE_PACE_TIMEOUT_SECONDS = 15
|
|
12
12
|
|
|
13
13
|
TOOL_INPUT_KEY = "tool_input"
|
|
14
|
-
THREAD_MODEL_WHEN_OVER_PACE = "opus"
|
|
14
|
+
THREAD_MODEL_WHEN_OVER_PACE = "claude-opus-5-5"
|
|
15
15
|
THREAD_EFFORT_WHEN_OVER_PACE = "low"
|
|
16
16
|
MODEL_INPUT_KEY = "model"
|
|
17
17
|
EFFORT_INPUT_KEY = "effort"
|
|
@@ -22,7 +22,7 @@ ADDITIONAL_CONTEXT_KEY = "additionalContext"
|
|
|
22
22
|
NOT_AN_OBJECT_REASON = "start_thread_session input is not a JSON object"
|
|
23
23
|
RESHAPE_CONTEXT_PREFIX = (
|
|
24
24
|
"Usage over pace or unreadable: this thread spawn now runs on "
|
|
25
|
-
"opus at low effort. Pace verdict: "
|
|
25
|
+
"claude-opus-5-5 at low effort. Pace verdict: "
|
|
26
26
|
)
|
|
27
27
|
PACE_VERDICT_CONTEXT_MAXIMUM_CHARACTERS = 600
|
|
28
28
|
LAUNCH_FAILURE_ERROR_TEMPLATE = "usage pace did not finish: {failure_type}"
|
|
@@ -8,7 +8,7 @@ beside it, or the script ``COORDINATOR_USAGE_PACE_SCRIPT`` names.
|
|
|
8
8
|
|
|
9
9
|
usage under pace (exit 1) -> no output; the call runs unchanged
|
|
10
10
|
over pace (exit 0) or unreadable -> updatedInput:
|
|
11
|
-
model "opus", effort "low"
|
|
11
|
+
model "claude-opus-5-5", effort "low"
|
|
12
12
|
input that cannot be reshaped -> deny with a one-line reason
|
|
13
13
|
|
|
14
14
|
``updatedInput`` is the whole tool input the call runs with, so it carries
|
|
@@ -65,13 +65,13 @@ class SpawnNotReshapable(Exception):
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
def reshape_thread_spawn(tool_input: object) -> dict[str, object]:
|
|
68
|
-
"""Move a thread spawn to
|
|
68
|
+
"""Move a thread spawn to Opus 5.5 at low effort.
|
|
69
69
|
|
|
70
70
|
::
|
|
71
71
|
|
|
72
72
|
{"title": "t", "instructions": "Do X."}
|
|
73
73
|
-> {"title": "t", "instructions": "Do X.",
|
|
74
|
-
"model": "opus", "effort": "low"}
|
|
74
|
+
"model": "claude-opus-5-5", "effort": "low"}
|
|
75
75
|
|
|
76
76
|
Args:
|
|
77
77
|
tool_input: The ``tool_input`` object of the start_thread_session call.
|