evals 2.4.0 → 2.6.0

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.
package/start.ps1 CHANGED
@@ -26,13 +26,30 @@ $ErrorActionPreference = 'Stop'
26
26
  # files over HTTP, so it's fetchable even though the source repo is private.
27
27
  # Override with $env:ARIZE_PROMPT_URL if needed.
28
28
  $PromptUrl = if ($env:ARIZE_PROMPT_URL) { $env:ARIZE_PROMPT_URL } else { 'https://cdn.jsdelivr.net/npm/evals/onboarding-prompt.md' }
29
+ # Where the bundled harness wheels live, same package. Override for testing.
30
+ $VendorUrl = if ($env:ARIZE_VENDOR_URL) { $env:ARIZE_VENDOR_URL } else { 'https://cdn.jsdelivr.net/npm/evals/vendor' }
29
31
 
30
32
  # Prefer the richer, bundled-prompt `npx evals` experience when Node is present.
31
33
  # This script is the no-npm fallback; if npx exists, hand off to it.
32
34
  # Set $env:ARIZE_SKIP_NPX=1 to force this shell path even when npx is available.
35
+ #
36
+ # Only hand off on Node 20+, which is what the Ink UI needs (see bin.js). Handing
37
+ # an older Node to npx would swap a working flow for a hard failure — this script
38
+ # needs no Node at all, so stay here instead. Keep the floor in step with bin.js.
33
39
  if (-not $env:ARIZE_SKIP_NPX -and (Get-Command npx -ErrorAction SilentlyContinue)) {
34
- npx --yes evals
35
- exit $LASTEXITCODE
40
+ $nodeMajor = 0
41
+ $nodeVersion = $null
42
+ if (Get-Command node -ErrorAction SilentlyContinue) {
43
+ $nodeVersion = (& node --version 2>$null)
44
+ if ($nodeVersion -match '^v?(\d+)') { $nodeMajor = [int]$Matches[1] }
45
+ }
46
+ if ($nodeMajor -ge 20) {
47
+ npx --yes evals
48
+ exit $LASTEXITCODE
49
+ }
50
+ $shown = if ($nodeVersion) { $nodeVersion } else { 'not found' }
51
+ Write-Host "Node $shown is too old for the npx UI — continuing without it."
52
+ Write-Host ""
36
53
  }
37
54
 
38
55
  # Supported agents: id -> label, install URL, and whether the REPL is seeded with `-i`.
@@ -94,35 +111,144 @@ Write-Host ""
94
111
  $chosen = Resolve-Agent
95
112
  if (-not $chosen) { exit 1 }
96
113
 
97
- # Download the prompt to a temp file (rename the .tmp to .md rather than
98
- # leaving both behind).
99
- $tmp = New-TemporaryFile
100
- $promptFile = [System.IO.Path]::ChangeExtension($tmp.FullName, 'md')
101
- Rename-Item -Path $tmp.FullName -NewName (Split-Path $promptFile -Leaf)
102
- try {
103
- Write-Host "Fetching the onboarding prompt..."
114
+ # A directory, not a bare temp file: Step 4A looks for the offline bundle *beside*
115
+ # the prompt, so the prompt needs a directory of its own.
116
+ #
117
+ # ~/.arize/onboarding, not a temp path: the agent is asked to read a file outside
118
+ # its workspace, and a named path is an approval a human can grant with confidence.
119
+ # Sits beside Step 4A's own ~/.arize/harness install, which we must never touch.
120
+ #
121
+ # GetFolderPath('UserProfile') rather than $HOME: on Windows PowerShell 5.1 $HOME
122
+ # comes from HOMEDRIVE+HOMEPATH, which for domain users can point at a redirected
123
+ # network share that is slow or offline. This returns USERPROFILE on Windows and
124
+ # $HOME under PowerShell Core on macOS/Linux — one expression for both.
125
+ function Clear-BundleDir($dir) {
126
+ # Delete only what we stage, by name. Wheel filenames carry a version we can't
127
+ # know, so those go by extension, non-recursively, in this directory only.
128
+ Get-ChildItem -LiteralPath $dir -File -Filter '*.whl' -ErrorAction SilentlyContinue |
129
+ Remove-Item -Force -ErrorAction SilentlyContinue
130
+ foreach ($name in @('harness-install.sh', 'harness-install.bat', 'LICENSE-coding-harness-tracing', 'MANIFEST')) {
131
+ Remove-Item -LiteralPath (Join-Path $dir $name) -Force -ErrorAction SilentlyContinue
132
+ }
133
+ # No -Recurse anywhere: a non-empty directory fails here rather than taking
134
+ # something we didn't put there with it, and Remove-Item's habit of recursing
135
+ # through a directory junction can't bite us.
136
+ Remove-Item -LiteralPath $dir -Force -ErrorAction SilentlyContinue
137
+ return -not (Test-Path -LiteralPath $dir)
138
+ }
139
+
140
+ # -LiteralPath throughout: a home path containing [ or ] is a real wildcard
141
+ # footgun for the non-literal forms. Keep this list in step with cli.js
142
+ # OFFLINE_FILES and start.sh.
143
+ function Clear-PromptDir($dir) {
144
+ if (-not (Test-Path -LiteralPath $dir)) { return $true }
145
+ foreach ($sub in Get-ChildItem -LiteralPath $dir -Directory -Force -ErrorAction SilentlyContinue) {
146
+ $ours = ($sub.Name -eq 'arize-offline') -or $sub.Name.StartsWith('.staging')
147
+ if (-not $ours) { return $false }
148
+ if (-not (Clear-BundleDir $sub.FullName)) { return $false }
149
+ }
150
+ foreach ($name in @('onboarding-prompt.md', 'harness.env')) {
151
+ Remove-Item -LiteralPath (Join-Path $dir $name) -Force -ErrorAction SilentlyContinue
152
+ }
153
+ # Anything left is not ours.
154
+ return -not (Get-ChildItem -LiteralPath $dir -Force -ErrorAction SilentlyContinue)
155
+ }
156
+
157
+ $candidate = if ($env:ARIZE_ONBOARDING_DIR) {
158
+ $env:ARIZE_ONBOARDING_DIR
159
+ } else {
160
+ $profileDir = [Environment]::GetFolderPath('UserProfile')
161
+ if (-not $profileDir) { $profileDir = $HOME }
162
+ if ($profileDir) { Join-Path (Join-Path $profileDir '.arize') 'onboarding' } else { $null }
163
+ }
164
+
165
+ # Try the work and degrade, rather than probing for writability — a probe races
166
+ # and can't see a full disk. Covers a read-only home, a directory owned by another
167
+ # user, an offline redirected profile, and a file in there we refuse to delete.
168
+ $promptDir = $null
169
+ if ($candidate -and (Clear-PromptDir $candidate)) {
104
170
  try {
105
- Invoke-RestMethod -Uri $PromptUrl -OutFile $promptFile
171
+ New-Item -ItemType Directory -Path $candidate -Force -ErrorAction Stop | Out-Null
172
+ $promptDir = $candidate
106
173
  } catch {
107
- Write-Host "Failed to download the onboarding prompt from $PromptUrl" -ForegroundColor Red
108
- Write-Host "Check your connection and try again."
109
- exit 1
174
+ $promptDir = $null
110
175
  }
176
+ }
177
+ if (-not $promptDir) {
178
+ $promptDir = Join-Path ([System.IO.Path]::GetTempPath()) ("arize-onboarding-" + [System.Guid]::NewGuid().ToString('N').Substring(0, 8))
179
+ New-Item -ItemType Directory -Path $promptDir -Force | Out-Null
180
+ if ($candidate) {
181
+ Write-Host "Couldn't use $candidate — staging in $promptDir instead."
182
+ Write-Host "Instrumenting an app still works; tracing this coding agent (Step 4A) needs a writable home directory."
183
+ }
184
+ }
185
+ $promptFile = Join-Path $promptDir 'onboarding-prompt.md'
111
186
 
112
- $seed = "Read the file $promptFile and follow it to set up Arize AX tracing in this project, walking me through each step and asking me questions as needed."
113
-
114
- Write-Host ("Launching {0}..." -f $Agents[$chosen].Label)
115
- Write-Host ""
187
+ Write-Host "Fetching the onboarding prompt..."
188
+ try {
189
+ Invoke-RestMethod -Uri $PromptUrl -OutFile $promptFile
190
+ } catch {
191
+ Write-Host "Failed to download the onboarding prompt from $PromptUrl" -ForegroundColor Red
192
+ Write-Host "Check your connection and try again."
193
+ exit 1
194
+ }
116
195
 
117
- # Launch interactive + seeded. No skip-permissions the agent's approval
118
- # model and the prompt's own approval gate must stay intact. External commands
119
- # attach to the console, so the agent gets a real terminal.
120
- $flag = $Agents[$chosen].Flag
121
- if ($flag) {
122
- & $chosen $flag $seed
123
- } else {
124
- & $chosen $seed
196
+ # Fetch the bundled tracing harness so Step 4A can install it without piping a
197
+ # downloaded script into a shell the thing auto-approval permission
198
+ # classifiers refuse. `npx evals` ships these files; this path pulls them from
199
+ # the CDN, using vendor/MANIFEST because a launcher cannot glob a CDN and must
200
+ # not hardcode versioned wheel names.
201
+ #
202
+ # Best-effort throughout. Any failure leaves no arize-offline directory and the
203
+ # prompt takes its documented network path instead. Staged under a temp name and
204
+ # renamed, so the directory Step 4A keys off only ever appears complete.
205
+ Write-Host "Fetching the tracing harness..."
206
+ $staging = Join-Path $promptDir '.staging'
207
+ try {
208
+ New-Item -ItemType Directory -Path $staging -Force | Out-Null
209
+ $manifestPath = Join-Path $staging 'MANIFEST'
210
+ Invoke-RestMethod -Uri "$VendorUrl/MANIFEST" -OutFile $manifestPath
211
+
212
+ foreach ($line in Get-Content $manifestPath) {
213
+ if (-not $line.Trim()) { continue }
214
+ # MANIFEST is `shasum -a 256` format: "<sha256> <filename>".
215
+ $parts = $line -split '\s+', 2
216
+ $expected = $parts[0]
217
+ $name = $parts[1].Trim()
218
+ $dest = Join-Path $staging $name
219
+ Invoke-RestMethod -Uri "$VendorUrl/$name" -OutFile $dest
220
+ $actual = (Get-FileHash -Path $dest -Algorithm SHA256).Hash.ToLower()
221
+ if ($actual -ne $expected.ToLower()) {
222
+ throw "checksum mismatch for $name"
223
+ }
125
224
  }
126
- } finally {
127
- Remove-Item $promptFile -ErrorAction SilentlyContinue
225
+
226
+ Move-Item -LiteralPath $staging -Destination (Join-Path $promptDir 'arize-offline')
227
+ } catch {
228
+ Clear-BundleDir $staging | Out-Null
229
+ Write-Host " (not available — Step 4A will download the installer instead)"
230
+ }
231
+
232
+ # Single quotes around the path: the home directory is likelier to contain a space
233
+ # than the old temp path was, and single quotes survive the console handoff below
234
+ # where embedded double quotes would not.
235
+ # No "in this project": this may well be run from a home directory, and Step 4 is
236
+ # what scopes the work. Keep this wording in step with cli.js and start.sh.
237
+ $seed = "Read the file '$promptFile' and follow it to set up Arize AX tracing, walking me through each step and asking me questions as needed."
238
+
239
+ Write-Host ("Launching {0}..." -f $Agents[$chosen].Label)
240
+ Write-Host ""
241
+
242
+ # Launch interactive + seeded. No skip-permissions — the agent's approval
243
+ # model and the prompt's own approval gate must stay intact. External commands
244
+ # attach to the console, so the agent gets a real terminal.
245
+ #
246
+ # No try/finally around this any more: the staging directory persists so the agent
247
+ # can still reach the prompt in a session that outlives this script. It is cleared
248
+ # at the start of the next launch instead.
249
+ $flag = $Agents[$chosen].Flag
250
+ if ($flag) {
251
+ & $chosen $flag $seed
252
+ } else {
253
+ & $chosen $seed
128
254
  }
package/start.sh CHANGED
@@ -22,12 +22,29 @@ set -euo pipefail
22
22
  # files over HTTP, so it's fetchable even though the source repo is private.
23
23
  # Override with ARIZE_PROMPT_URL if needed.
24
24
  PROMPT_URL="${ARIZE_PROMPT_URL:-https://cdn.jsdelivr.net/npm/evals/onboarding-prompt.md}"
25
+ # Where the bundled harness wheels live, same package. Override for testing.
26
+ VENDOR_URL="${ARIZE_VENDOR_URL:-https://cdn.jsdelivr.net/npm/evals/vendor}"
25
27
 
26
28
  # Prefer the richer, bundled-prompt `npx evals` experience when Node is present.
27
29
  # This shell script is the no-npm fallback; if npx exists, hand off to it.
28
30
  # Set ARIZE_SKIP_NPX=1 to force this shell path even when npx is available.
31
+ #
32
+ # Only hand off on Node 20+, which is what the Ink UI needs (see bin.js). Handing
33
+ # an older Node to npx would swap a working flow for a hard failure — this script
34
+ # needs no Node at all, so stay here instead. Keep the floor in step with bin.js.
35
+ node_major() {
36
+ command -v node >/dev/null 2>&1 || return 1
37
+ v="$(node --version 2>/dev/null)" || return 1
38
+ v="${v#v}"
39
+ echo "${v%%.*}"
40
+ }
29
41
  if [ -z "${ARIZE_SKIP_NPX:-}" ] && command -v npx >/dev/null 2>&1; then
30
- exec npx --yes evals
42
+ major="$(node_major || echo 0)"
43
+ if [ "${major:-0}" -ge 20 ] 2>/dev/null; then
44
+ exec npx --yes evals
45
+ fi
46
+ echo "Node $(node --version 2>/dev/null || echo 'not found') is too old for the npx UI — continuing without it."
47
+ echo
31
48
  fi
32
49
 
33
50
  # Supported agents: id | display label | argv to start the REPL seeded with a prompt.
@@ -133,41 +150,134 @@ choose_agent() {
133
150
 
134
151
  CHOSEN="$(choose_agent)" || exit 1
135
152
 
136
- # Download the prompt to a temp file. (mktemp templates must end in X's on
137
- # macOS, so add the .md extension afterwards.)
138
- PROMPT_FILE="$(mktemp "${TMPDIR:-/tmp}/arize-onboarding-XXXXXX")"
139
- mv "$PROMPT_FILE" "$PROMPT_FILE.md"
140
- PROMPT_FILE="$PROMPT_FILE.md"
141
- cleanup() { rm -f "$PROMPT_FILE"; }
142
- trap cleanup EXIT
153
+ # A directory, not a bare temp file: Step 4A looks for the offline bundle *beside*
154
+ # the prompt, so the prompt needs a directory of its own.
155
+ #
156
+ # ~/.arize/onboarding, not a temp path: the agent is asked to read a file outside
157
+ # its workspace, and that approval is one a human can grant with confidence for a
158
+ # named path but not for /tmp/arize-onboarding-8fJ2x1. Sits beside Step 4A's own
159
+ # ~/.arize/harness install, which we must never touch.
160
+ #
161
+ # Cleared at launch and left in place afterwards — no EXIT trap — so the agent can
162
+ # still reach the prompt in a session that outlives this script, and so we can
163
+ # exec rather than waiting on a child just to clean up.
164
+ clear_bundle_dir() {
165
+ # Delete only what we stage, by name. Wheel filenames carry a version we can't
166
+ # know, so those go by extension, non-recursively, in this directory only.
167
+ rm -f "$1"/*.whl
168
+ rm -f "$1/harness-install.sh" "$1/harness-install.bat" \
169
+ "$1/LICENSE-coding-harness-tracing" "$1/MANIFEST"
170
+ # rmdir, never rm -r: a non-empty directory fails here instead of taking
171
+ # something we didn't put there down with it.
172
+ rmdir "$1" 2>/dev/null
173
+ }
143
174
 
144
- echo "Fetching the onboarding prompt…"
145
- download_failed() {
146
- echo "Failed to download the onboarding prompt from $PROMPT_URL" >&2
147
- echo "Check your connection and try again." >&2
148
- exit 1
175
+ # Never a recursive delete. Worst case on a bad path is unlinking a few names that
176
+ # don't exist. Keep this list in step with cli.js OFFLINE_FILES and start.ps1.
177
+ clear_prompt_dir() {
178
+ [ -d "$1" ] || return 0
179
+ for sub in "$1"/arize-offline "$1"/.staging*; do
180
+ [ -d "$sub" ] && clear_bundle_dir "$sub"
181
+ done
182
+ rm -f "$1/onboarding-prompt.md" "$1/harness.env"
183
+ # Anything left is not ours: bail out and let the caller fall back.
184
+ rmdir "$1" 2>/dev/null || { [ -z "$(ls -A "$1" 2>/dev/null)" ]; return $?; }
149
185
  }
186
+
187
+ # $HOME unset (containers, cron, some CI) must degrade, never abort — hence
188
+ # ${HOME:-} and not ${HOME:?}. Same for a read-only home, a directory owned by a
189
+ # past `sudo`, or a full disk: try the work, fall back to a temp dir on failure.
190
+ PROMPT_DIR=""
191
+ if [ -n "${ARIZE_ONBOARDING_DIR:-}" ]; then
192
+ CANDIDATE="$ARIZE_ONBOARDING_DIR"
193
+ elif [ -n "${HOME:-}" ]; then
194
+ CANDIDATE="$HOME/.arize/onboarding"
195
+ else
196
+ CANDIDATE=""
197
+ fi
198
+
199
+ if [ -n "$CANDIDATE" ] && clear_prompt_dir "$CANDIDATE" \
200
+ && mkdir -p "$CANDIDATE" 2>/dev/null && chmod 700 "$CANDIDATE" 2>/dev/null; then
201
+ PROMPT_DIR="$CANDIDATE"
202
+ else
203
+ PROMPT_DIR="$(mktemp -d "${TMPDIR:-/tmp}/arize-onboarding-XXXXXX")"
204
+ if [ -n "$CANDIDATE" ]; then
205
+ echo "Couldn't use $CANDIDATE — staging in $PROMPT_DIR instead."
206
+ echo "Instrumenting an app still works; tracing this coding agent (Step 4A) needs a writable home directory."
207
+ fi
208
+ fi
209
+ PROMPT_FILE="$PROMPT_DIR/onboarding-prompt.md"
210
+
150
211
  if command -v curl >/dev/null 2>&1; then
151
- curl -fsSL "$PROMPT_URL" -o "$PROMPT_FILE" || download_failed
212
+ fetch() { curl -fsSL "$1" -o "$2"; }
152
213
  elif command -v wget >/dev/null 2>&1; then
153
- wget -qO "$PROMPT_FILE" "$PROMPT_URL" || download_failed
214
+ fetch() { wget -qO "$2" "$1"; }
154
215
  else
155
216
  echo "Need curl or wget to download the prompt." >&2
156
217
  exit 1
157
218
  fi
158
219
 
159
- SEED="Read the file $PROMPT_FILE and follow it to set up Arize AX tracing in this project, walking me through each step and asking me questions as needed."
220
+ echo "Fetching the onboarding prompt…"
221
+ if ! fetch "$PROMPT_URL" "$PROMPT_FILE"; then
222
+ echo "Failed to download the onboarding prompt from $PROMPT_URL" >&2
223
+ echo "Check your connection and try again." >&2
224
+ exit 1
225
+ fi
226
+
227
+ # Fetch the bundled tracing harness so Step 4A can install it without piping a
228
+ # downloaded script into a shell — the thing auto-approval permission classifiers
229
+ # refuse. `npx evals` ships these files in the package; this path has to pull them
230
+ # from the CDN, which is why the build writes vendor/MANIFEST: a launcher cannot
231
+ # glob a CDN and must not hardcode versioned wheel names.
232
+ #
233
+ # Entirely best-effort. Any failure leaves no arize-offline/ directory, and the
234
+ # prompt then takes its documented network path. Staged under a temp name and
235
+ # renamed, so the directory Step 4A keys off only ever appears complete.
236
+ stage_offline_bundle() {
237
+ local staging="$PROMPT_DIR/.staging" line file
238
+ mkdir -p "$staging" || return 1
239
+ fetch "$VENDOR_URL/MANIFEST" "$staging/MANIFEST" 2>/dev/null || return 1
240
+
241
+ while IFS= read -r line; do
242
+ file="${line#* }"
243
+ [ -n "$file" ] || continue
244
+ fetch "$VENDOR_URL/$file" "$staging/$file" 2>/dev/null || return 1
245
+ done < "$staging/MANIFEST"
246
+
247
+ # MANIFEST is standard `shasum -a 256` output, so the check is the standard
248
+ # tool. A truncated CDN response would otherwise surface as a confusing pip
249
+ # error much later. Skipped, not fatal, when neither tool exists.
250
+ if command -v shasum >/dev/null 2>&1; then
251
+ ( cd "$staging" && shasum -a 256 -c MANIFEST >/dev/null 2>&1 ) || return 1
252
+ elif command -v sha256sum >/dev/null 2>&1; then
253
+ ( cd "$staging" && sha256sum -c MANIFEST >/dev/null 2>&1 ) || return 1
254
+ fi
255
+
256
+ chmod +x "$staging/harness-install.sh" 2>/dev/null || true
257
+ mv "$staging" "$PROMPT_DIR/arize-offline"
258
+ }
259
+
260
+ echo "Fetching the tracing harness…"
261
+ if ! stage_offline_bundle; then
262
+ rm -rf "$PROMPT_DIR/.staging"
263
+ echo " (not available — Step 4A will download the installer instead)"
264
+ fi
265
+
266
+ # No "in this project": this may well be run from a home directory, and Step 4 is
267
+ # what scopes the work. Keep this wording in step with cli.js and start.ps1.
268
+ SEED="Read the file '$PROMPT_FILE' and follow it to set up Arize AX tracing, walking me through each step and asking me questions as needed."
160
269
 
161
270
  echo "Launching $(agent_label "$CHOSEN")…"
162
271
  echo
163
272
 
164
273
  # Launch interactive + seeded, on the real terminal. No skip-permissions —
165
274
  # the agent's approval model and the prompt's own approval gate must stay intact.
166
- # Run as a child (not exec) so the EXIT trap cleans up the temp prompt file.
275
+ # exec, now that the staging directory persists and there is no EXIT trap to run:
276
+ # the agent replaces this shell, so signals and the exit code reach it directly.
167
277
  run_agent() {
168
278
  case "$CHOSEN" in
169
- copilot|gemini) "$CHOSEN" -i "$SEED" ;;
170
- *) "$CHOSEN" "$SEED" ;;
279
+ copilot|gemini) exec "$CHOSEN" -i "$SEED" ;;
280
+ *) exec "$CHOSEN" "$SEED" ;;
171
281
  esac
172
282
  }
173
283
 
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Arize AI
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,6 @@
1
+ a9cede65f98d3415b13e1c6a437d0fdee27286bfff0186dd72bb65d9869b7864 LICENSE-coding-harness-tracing
2
+ 62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 certifi-2026.7.22-py3-none-any.whl
3
+ c41daa85c05f38eabd63fd0c7a2c021ffc0ecb7483485f7dd1b8a637f983b778 coding_harness_tracing-0.1.0-py3-none-any.whl
4
+ aca14e09ca99c253d2a142e2d5c5c38c8c7cf90840d3cb10b241c29929871fa4 harness-install.bat
5
+ a7ba18a98280e236b20ab4cb9f8a4006068b454586a2af50bf23fb0dbe70583d harness-install.sh
6
+ b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61 python_dotenv-1.2.1-py3-none-any.whl