@xn-intenton-z2a/agentic-lib 7.4.9 → 7.4.10
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.
|
@@ -148,13 +148,13 @@ jobs:
|
|
|
148
148
|
run: |
|
|
149
149
|
MODEL='${{ inputs.model }}'
|
|
150
150
|
if [ -z "$MODEL" ] && [ -f "${{ env.configPath }}" ]; then
|
|
151
|
-
TOML_MODEL=$(grep '^\s*model' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/')
|
|
151
|
+
TOML_MODEL=$(grep '^\s*model' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/' || true)
|
|
152
152
|
MODEL="${TOML_MODEL}"
|
|
153
153
|
fi
|
|
154
154
|
echo "model=${MODEL:-gpt-5-mini}" >> $GITHUB_OUTPUT
|
|
155
155
|
PROFILE='${{ inputs.profile }}'
|
|
156
156
|
if [ -z "$PROFILE" ] && [ -f "${{ env.configPath }}" ]; then
|
|
157
|
-
TOML_PROFILE=$(grep '^\s*profile' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/')
|
|
157
|
+
TOML_PROFILE=$(grep '^\s*profile' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/' || true)
|
|
158
158
|
PROFILE="${TOML_PROFILE}"
|
|
159
159
|
fi
|
|
160
160
|
echo "profile=${PROFILE}" >> $GITHUB_OUTPUT
|
|
@@ -183,9 +183,9 @@ jobs:
|
|
|
183
183
|
LOG_BRANCH=""
|
|
184
184
|
SCREENSHOT=""
|
|
185
185
|
if [ -f "${{ env.configPath }}" ]; then
|
|
186
|
-
LOG_FILE=$(grep '^\s*log-file' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/')
|
|
187
|
-
LOG_BRANCH=$(grep '^\s*log-branch' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/')
|
|
188
|
-
SCREENSHOT=$(grep '^\s*screenshot-file' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/')
|
|
186
|
+
LOG_FILE=$(grep '^\s*log-file' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/' || true)
|
|
187
|
+
LOG_BRANCH=$(grep '^\s*log-branch' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/' || true)
|
|
188
|
+
SCREENSHOT=$(grep '^\s*screenshot-file' "${{ env.configPath }}" | head -1 | sed 's/.*= *"\([^"]*\)".*/\1/' || true)
|
|
189
189
|
fi
|
|
190
190
|
echo "log-file=${LOG_FILE:-intentïon.md}" >> $GITHUB_OUTPUT
|
|
191
191
|
echo "log-branch=${LOG_BRANCH:-agentic-lib-logs}" >> $GITHUB_OUTPUT
|
package/package.json
CHANGED