@mettlelabs/mettle 0.0.0-beta.1-darwin-arm64 → 0.0.0-beta.2-darwin-arm64
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/THIRD_PARTY_NOTICES.md +503 -8
- package/bin/mettle +2 -2
- package/harness/audit-investigation.mjs +16 -16
- package/harness/chunk-3wt8a8fq.mjs +1716 -0
- package/harness/{chunk-13tgmdey.mjs → chunk-49ytr8d5.mjs} +1 -1
- package/harness/chunk-4vx34w5h.mjs +2357 -0
- package/harness/{chunk-xqyc4ca2.mjs → chunk-9dg1btk1.mjs} +1220 -292
- package/harness/chunk-c7dx5mdd.mjs +10807 -0
- package/harness/{chunk-msg872ea.mjs → chunk-h1td5kq9.mjs} +97 -9
- package/harness/{chunk-4jtnt9k5.mjs → chunk-jp69h6sj.mjs} +1 -1
- package/harness/chunk-rd80vvc5.mjs +22047 -0
- package/harness/{chunk-5cvb1jnb.mjs → chunk-w0qwc5z2.mjs} +2 -2
- package/harness/issue-api-token.mjs +2 -2
- package/harness/launcher.mjs +318 -18
- package/harness/sandbox.mjs +8 -7
- package/harness/server.mjs +22883 -1891
- package/package.json +1 -1
- package/harness/chunk-2gt4cy7x.mjs +0 -2290
- package/harness/chunk-32y07kkp.mjs +0 -3747
- package/harness/chunk-7bg2gnv2.mjs +0 -7540
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -3004,6 +3004,34 @@ LICENSE:
|
|
|
3004
3004
|
of your accepting any such warranty or additional liability.
|
|
3005
3005
|
```
|
|
3006
3006
|
|
|
3007
|
+
## @babel/parser@7.29.9
|
|
3008
|
+
|
|
3009
|
+
License: MIT
|
|
3010
|
+
|
|
3011
|
+
LICENSE:
|
|
3012
|
+
|
|
3013
|
+
```text
|
|
3014
|
+
Copyright (C) 2012-2014 by various contributors (see AUTHORS)
|
|
3015
|
+
|
|
3016
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3017
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3018
|
+
in the Software without restriction, including without limitation the rights
|
|
3019
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3020
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3021
|
+
furnished to do so, subject to the following conditions:
|
|
3022
|
+
|
|
3023
|
+
The above copyright notice and this permission notice shall be included in
|
|
3024
|
+
all copies or substantial portions of the Software.
|
|
3025
|
+
|
|
3026
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3027
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3028
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3029
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3030
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3031
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3032
|
+
THE SOFTWARE.
|
|
3033
|
+
```
|
|
3034
|
+
|
|
3007
3035
|
## @isaacs/ttlcache@2.1.5
|
|
3008
3036
|
|
|
3009
3037
|
License: BlueOak-1.0.0
|
|
@@ -3256,7 +3284,444 @@ See the License for the specific language governing permissions and
|
|
|
3256
3284
|
limitations under the License.
|
|
3257
3285
|
```
|
|
3258
3286
|
|
|
3259
|
-
## @opentui/core-darwin-arm64@0.5.
|
|
3287
|
+
## @opentui/core-darwin-arm64@0.5.14
|
|
3288
|
+
|
|
3289
|
+
License: MIT
|
|
3290
|
+
|
|
3291
|
+
LICENSE:
|
|
3292
|
+
|
|
3293
|
+
```text
|
|
3294
|
+
MIT License
|
|
3295
|
+
|
|
3296
|
+
Copyright (c) 2025 opentui
|
|
3297
|
+
|
|
3298
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3299
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3300
|
+
in the Software without restriction, including without limitation the rights
|
|
3301
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3302
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3303
|
+
furnished to do so, subject to the following conditions:
|
|
3304
|
+
|
|
3305
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3306
|
+
copies or substantial portions of the Software.
|
|
3307
|
+
|
|
3308
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3309
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3310
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3311
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3312
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3313
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3314
|
+
SOFTWARE.
|
|
3315
|
+
```
|
|
3316
|
+
|
|
3317
|
+
LICENSE-GHOSTTY:
|
|
3318
|
+
|
|
3319
|
+
```text
|
|
3320
|
+
MIT License
|
|
3321
|
+
|
|
3322
|
+
Copyright (c) 2024 Mitchell Hashimoto, Ghostty contributors
|
|
3323
|
+
|
|
3324
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3325
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3326
|
+
in the Software without restriction, including without limitation the rights
|
|
3327
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3328
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3329
|
+
furnished to do so, subject to the following conditions:
|
|
3330
|
+
|
|
3331
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3332
|
+
copies or substantial portions of the Software.
|
|
3333
|
+
|
|
3334
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3335
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3336
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3337
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3338
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3339
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3340
|
+
SOFTWARE.
|
|
3341
|
+
|
|
3342
|
+
-------------------------------------------------------------------------------
|
|
3343
|
+
uucode
|
|
3344
|
+
-------------------------------------------------------------------------------
|
|
3345
|
+
|
|
3346
|
+
MIT License
|
|
3347
|
+
|
|
3348
|
+
Copyright (c) 2026 Jacob Sandlund
|
|
3349
|
+
|
|
3350
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
3351
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3352
|
+
the Software without restriction, including without limitation the rights to
|
|
3353
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
3354
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
3355
|
+
so, subject to the following conditions:
|
|
3356
|
+
|
|
3357
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3358
|
+
copies or substantial portions of the Software.
|
|
3359
|
+
|
|
3360
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3361
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3362
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3363
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3364
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3365
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3366
|
+
SOFTWARE.
|
|
3367
|
+
|
|
3368
|
+
-------------------------------------------------------------------------------
|
|
3369
|
+
uucode UTF-8 decoder
|
|
3370
|
+
-------------------------------------------------------------------------------
|
|
3371
|
+
|
|
3372
|
+
From https://bjoern.hoehrmann.de/utf-8/decoder/dfa/
|
|
3373
|
+
|
|
3374
|
+
Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>
|
|
3375
|
+
|
|
3376
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
3377
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3378
|
+
the Software without restriction, including without limitation the rights to
|
|
3379
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
3380
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
3381
|
+
so, subject to the following conditions:
|
|
3382
|
+
|
|
3383
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3384
|
+
copies or substantial portions of the Software.
|
|
3385
|
+
|
|
3386
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3387
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3388
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3389
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3390
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3391
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3392
|
+
SOFTWARE.
|
|
3393
|
+
|
|
3394
|
+
-------------------------------------------------------------------------------
|
|
3395
|
+
Unicode data
|
|
3396
|
+
-------------------------------------------------------------------------------
|
|
3397
|
+
|
|
3398
|
+
UNICODE LICENSE V3
|
|
3399
|
+
|
|
3400
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
3401
|
+
|
|
3402
|
+
Copyright (c) 1991-2025 Unicode, Inc.
|
|
3403
|
+
|
|
3404
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
3405
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
3406
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
3407
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
3408
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
3409
|
+
|
|
3410
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
3411
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
3412
|
+
software and any associated documentation (the "Software") to deal in the
|
|
3413
|
+
Data Files or Software without restriction, including without limitation
|
|
3414
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
3415
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
3416
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
3417
|
+
this copyright and permission notice appear with all copies of the Data
|
|
3418
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
3419
|
+
associated Documentation.
|
|
3420
|
+
|
|
3421
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
3422
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
3423
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
3424
|
+
THIRD PARTY RIGHTS.
|
|
3425
|
+
|
|
3426
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
3427
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
3428
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
3429
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
3430
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
3431
|
+
FILES OR SOFTWARE.
|
|
3432
|
+
|
|
3433
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
3434
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
3435
|
+
dealings in these Data Files or Software without prior written
|
|
3436
|
+
authorization of the copyright holder.
|
|
3437
|
+
```
|
|
3438
|
+
|
|
3439
|
+
LICENSE-LCMS2:
|
|
3440
|
+
|
|
3441
|
+
```text
|
|
3442
|
+
MIT License
|
|
3443
|
+
|
|
3444
|
+
Copyright (c) 2023 Marti Maria Saguer
|
|
3445
|
+
|
|
3446
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
3447
|
+
a copy of this software and associated documentation files (the
|
|
3448
|
+
"Software"), to deal in the Software without restriction, including
|
|
3449
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
3450
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
3451
|
+
permit persons to whom the Software is furnished to do so, subject
|
|
3452
|
+
to the following conditions:
|
|
3453
|
+
|
|
3454
|
+
The above copyright notice and this permission notice shall be
|
|
3455
|
+
included in all copies or substantial portions of the Software.
|
|
3456
|
+
|
|
3457
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
3458
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
3459
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
3460
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
3461
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
3462
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
3463
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3464
|
+
```
|
|
3465
|
+
|
|
3466
|
+
LICENSE-LIBWEBP:
|
|
3467
|
+
|
|
3468
|
+
```text
|
|
3469
|
+
Copyright (c) 2010, Google Inc. All rights reserved.
|
|
3470
|
+
|
|
3471
|
+
Redistribution and use in source and binary forms, with or without
|
|
3472
|
+
modification, are permitted provided that the following conditions are
|
|
3473
|
+
met:
|
|
3474
|
+
|
|
3475
|
+
* Redistributions of source code must retain the above copyright
|
|
3476
|
+
notice, this list of conditions and the following disclaimer.
|
|
3477
|
+
|
|
3478
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
3479
|
+
notice, this list of conditions and the following disclaimer in
|
|
3480
|
+
the documentation and/or other materials provided with the
|
|
3481
|
+
distribution.
|
|
3482
|
+
|
|
3483
|
+
* Neither the name of Google nor the names of its contributors may
|
|
3484
|
+
be used to endorse or promote products derived from this software
|
|
3485
|
+
without specific prior written permission.
|
|
3486
|
+
|
|
3487
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
3488
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
3489
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
3490
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
3491
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
3492
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
3493
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
3494
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
3495
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
3496
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
3497
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
3498
|
+
```
|
|
3499
|
+
|
|
3500
|
+
LICENSE-STB:
|
|
3501
|
+
|
|
3502
|
+
```text
|
|
3503
|
+
This software is available under 2 licenses -- choose whichever you prefer.
|
|
3504
|
+
------------------------------------------------------------------------------
|
|
3505
|
+
ALTERNATIVE A - MIT License
|
|
3506
|
+
Copyright (c) 2017 Sean Barrett
|
|
3507
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
3508
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3509
|
+
the Software without restriction, including without limitation the rights to
|
|
3510
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
3511
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
3512
|
+
so, subject to the following conditions:
|
|
3513
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3514
|
+
copies or substantial portions of the Software.
|
|
3515
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3516
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3517
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3518
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3519
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3520
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3521
|
+
SOFTWARE.
|
|
3522
|
+
------------------------------------------------------------------------------
|
|
3523
|
+
ALTERNATIVE B - Public Domain (www.unlicense.org)
|
|
3524
|
+
This is free and unencumbered software released into the public domain.
|
|
3525
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
|
|
3526
|
+
software, either in source code form or as a compiled binary, for any purpose,
|
|
3527
|
+
commercial or non-commercial, and by any means.
|
|
3528
|
+
In jurisdictions that recognize copyright laws, the author or authors of this
|
|
3529
|
+
software dedicate any and all copyright interest in the software to the public
|
|
3530
|
+
domain. We make this dedication for the benefit of the public at large and to
|
|
3531
|
+
the detriment of our heirs and successors. We intend this dedication to be an
|
|
3532
|
+
overt act of relinquishment in perpetuity of all present and future rights to
|
|
3533
|
+
this software under copyright law.
|
|
3534
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3535
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3536
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3537
|
+
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
3538
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
3539
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3540
|
+
```
|
|
3541
|
+
|
|
3542
|
+
LICENSE-WUFFS:
|
|
3543
|
+
|
|
3544
|
+
```text
|
|
3545
|
+
|
|
3546
|
+
Apache License
|
|
3547
|
+
Version 2.0, January 2004
|
|
3548
|
+
http://www.apache.org/licenses/
|
|
3549
|
+
|
|
3550
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
3551
|
+
|
|
3552
|
+
1. Definitions.
|
|
3553
|
+
|
|
3554
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
3555
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
3556
|
+
|
|
3557
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
3558
|
+
the copyright owner that is granting the License.
|
|
3559
|
+
|
|
3560
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
3561
|
+
other entities that control, are controlled by, or are under common
|
|
3562
|
+
control with that entity. For the purposes of this definition,
|
|
3563
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
3564
|
+
direction or management of such entity, whether by contract or
|
|
3565
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
3566
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
3567
|
+
|
|
3568
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
3569
|
+
exercising permissions granted by this License.
|
|
3570
|
+
|
|
3571
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
3572
|
+
including but not limited to software source code, documentation
|
|
3573
|
+
source, and configuration files.
|
|
3574
|
+
|
|
3575
|
+
"Object" form shall mean any form resulting from mechanical
|
|
3576
|
+
transformation or translation of a Source form, including but
|
|
3577
|
+
not limited to compiled object code, generated documentation,
|
|
3578
|
+
and conversions to other media types.
|
|
3579
|
+
|
|
3580
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
3581
|
+
Object form, made available under the License, as indicated by a
|
|
3582
|
+
copyright notice that is included in or attached to the work
|
|
3583
|
+
(an example is provided in the Appendix below).
|
|
3584
|
+
|
|
3585
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
3586
|
+
form, that is based on (or derived from) the Work and for which the
|
|
3587
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
3588
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
3589
|
+
of this License, Derivative Works shall not include works that remain
|
|
3590
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
3591
|
+
the Work and Derivative Works thereof.
|
|
3592
|
+
|
|
3593
|
+
"Contribution" shall mean any work of authorship, including
|
|
3594
|
+
the original version of the Work and any modifications or additions
|
|
3595
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
3596
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
3597
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
3598
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
3599
|
+
means any form of electronic, verbal, or written communication sent
|
|
3600
|
+
to the Licensor or its representatives, including but not limited to
|
|
3601
|
+
communication on electronic mailing lists, source code control systems,
|
|
3602
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
3603
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
3604
|
+
excluding communication that is conspicuously marked or otherwise
|
|
3605
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
3606
|
+
|
|
3607
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
3608
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
3609
|
+
subsequently incorporated within the Work.
|
|
3610
|
+
|
|
3611
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
3612
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
3613
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3614
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
3615
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
3616
|
+
Work and such Derivative Works in Source or Object form.
|
|
3617
|
+
|
|
3618
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
3619
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
3620
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3621
|
+
(except as stated in this section) patent license to make, have made,
|
|
3622
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
3623
|
+
where such license applies only to those patent claims licensable
|
|
3624
|
+
by such Contributor that are necessarily infringed by their
|
|
3625
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
3626
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
3627
|
+
institute patent litigation against any entity (including a
|
|
3628
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
3629
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
3630
|
+
or contributory patent infringement, then any patent licenses
|
|
3631
|
+
granted to You under this License for that Work shall terminate
|
|
3632
|
+
as of the date such litigation is filed.
|
|
3633
|
+
|
|
3634
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
3635
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
3636
|
+
modifications, and in Source or Object form, provided that You
|
|
3637
|
+
meet the following conditions:
|
|
3638
|
+
|
|
3639
|
+
(a) You must give any other recipients of the Work or
|
|
3640
|
+
Derivative Works a copy of this License; and
|
|
3641
|
+
|
|
3642
|
+
(b) You must cause any modified files to carry prominent notices
|
|
3643
|
+
stating that You changed the files; and
|
|
3644
|
+
|
|
3645
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
3646
|
+
that You distribute, all copyright, patent, trademark, and
|
|
3647
|
+
attribution notices from the Source form of the Work,
|
|
3648
|
+
excluding those notices that do not pertain to any part of
|
|
3649
|
+
the Derivative Works; and
|
|
3650
|
+
|
|
3651
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
3652
|
+
distribution, then any Derivative Works that You distribute must
|
|
3653
|
+
include a readable copy of the attribution notices contained
|
|
3654
|
+
within such NOTICE file, excluding those notices that do not
|
|
3655
|
+
pertain to any part of the Derivative Works, in at least one
|
|
3656
|
+
of the following places: within a NOTICE text file distributed
|
|
3657
|
+
as part of the Derivative Works; within the Source form or
|
|
3658
|
+
documentation, if provided along with the Derivative Works; or,
|
|
3659
|
+
within a display generated by the Derivative Works, if and
|
|
3660
|
+
wherever such third-party notices normally appear. The contents
|
|
3661
|
+
of the NOTICE file are for informational purposes only and
|
|
3662
|
+
do not modify the License. You may add Your own attribution
|
|
3663
|
+
notices within Derivative Works that You distribute, alongside
|
|
3664
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
3665
|
+
that such additional attribution notices cannot be construed
|
|
3666
|
+
as modifying the License.
|
|
3667
|
+
|
|
3668
|
+
You may add Your own copyright statement to Your modifications and
|
|
3669
|
+
may provide additional or different license terms and conditions
|
|
3670
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
3671
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
3672
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
3673
|
+
the conditions stated in this License.
|
|
3674
|
+
|
|
3675
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
3676
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
3677
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
3678
|
+
this License, without any additional terms or conditions.
|
|
3679
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
3680
|
+
the terms of any separate license agreement you may have executed
|
|
3681
|
+
with Licensor regarding such Contributions.
|
|
3682
|
+
|
|
3683
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
3684
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
3685
|
+
except as required for reasonable and customary use in describing the
|
|
3686
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
3687
|
+
|
|
3688
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
3689
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
3690
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
3691
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
3692
|
+
implied, including, without limitation, any warranties or conditions
|
|
3693
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
3694
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
3695
|
+
appropriateness of using or redistributing the Work and assume any
|
|
3696
|
+
risks associated with Your exercise of permissions under this License.
|
|
3697
|
+
|
|
3698
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
3699
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
3700
|
+
unless required by applicable law (such as deliberate and grossly
|
|
3701
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
3702
|
+
liable to You for damages, including any direct, indirect, special,
|
|
3703
|
+
incidental, or consequential damages of any character arising as a
|
|
3704
|
+
result of this License or out of the use or inability to use the
|
|
3705
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
3706
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
3707
|
+
other commercial damages or losses), even if such Contributor
|
|
3708
|
+
has been advised of the possibility of such damages.
|
|
3709
|
+
|
|
3710
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
3711
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
3712
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
3713
|
+
or other liability obligations and/or rights consistent with this
|
|
3714
|
+
License. However, in accepting such obligations, You may act only
|
|
3715
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
3716
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
3717
|
+
defend, and hold each Contributor harmless for any liability
|
|
3718
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
3719
|
+
of your accepting any such warranty or additional liability.
|
|
3720
|
+
|
|
3721
|
+
END OF TERMS AND CONDITIONS
|
|
3722
|
+
```
|
|
3723
|
+
|
|
3724
|
+
## @opentui/core-darwin-x64@0.5.14
|
|
3260
3725
|
|
|
3261
3726
|
License: MIT
|
|
3262
3727
|
|
|
@@ -3693,7 +4158,7 @@ LICENSE-WUFFS:
|
|
|
3693
4158
|
END OF TERMS AND CONDITIONS
|
|
3694
4159
|
```
|
|
3695
4160
|
|
|
3696
|
-
## @opentui/core-
|
|
4161
|
+
## @opentui/core-linux-arm64-musl@0.5.14
|
|
3697
4162
|
|
|
3698
4163
|
License: MIT
|
|
3699
4164
|
|
|
@@ -4130,7 +4595,7 @@ LICENSE-WUFFS:
|
|
|
4130
4595
|
END OF TERMS AND CONDITIONS
|
|
4131
4596
|
```
|
|
4132
4597
|
|
|
4133
|
-
## @opentui/core-linux-arm64
|
|
4598
|
+
## @opentui/core-linux-arm64@0.5.14
|
|
4134
4599
|
|
|
4135
4600
|
License: MIT
|
|
4136
4601
|
|
|
@@ -4567,7 +5032,7 @@ LICENSE-WUFFS:
|
|
|
4567
5032
|
END OF TERMS AND CONDITIONS
|
|
4568
5033
|
```
|
|
4569
5034
|
|
|
4570
|
-
## @opentui/core-linux-
|
|
5035
|
+
## @opentui/core-linux-x64-musl@0.5.14
|
|
4571
5036
|
|
|
4572
5037
|
License: MIT
|
|
4573
5038
|
|
|
@@ -5004,7 +5469,7 @@ LICENSE-WUFFS:
|
|
|
5004
5469
|
END OF TERMS AND CONDITIONS
|
|
5005
5470
|
```
|
|
5006
5471
|
|
|
5007
|
-
## @opentui/core-linux-x64
|
|
5472
|
+
## @opentui/core-linux-x64@0.5.14
|
|
5008
5473
|
|
|
5009
5474
|
License: MIT
|
|
5010
5475
|
|
|
@@ -5441,7 +5906,7 @@ LICENSE-WUFFS:
|
|
|
5441
5906
|
END OF TERMS AND CONDITIONS
|
|
5442
5907
|
```
|
|
5443
5908
|
|
|
5444
|
-
## @opentui/core-
|
|
5909
|
+
## @opentui/core-win32-x64@0.5.14
|
|
5445
5910
|
|
|
5446
5911
|
License: MIT
|
|
5447
5912
|
|
|
@@ -5878,7 +6343,7 @@ LICENSE-WUFFS:
|
|
|
5878
6343
|
END OF TERMS AND CONDITIONS
|
|
5879
6344
|
```
|
|
5880
6345
|
|
|
5881
|
-
## @opentui/core@0.5.
|
|
6346
|
+
## @opentui/core@0.5.14
|
|
5882
6347
|
|
|
5883
6348
|
License: MIT
|
|
5884
6349
|
|
|
@@ -5908,7 +6373,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
5908
6373
|
SOFTWARE.
|
|
5909
6374
|
```
|
|
5910
6375
|
|
|
5911
|
-
## @opentui/react@0.5.
|
|
6376
|
+
## @opentui/react@0.5.14
|
|
5912
6377
|
|
|
5913
6378
|
License: MIT
|
|
5914
6379
|
|
|
@@ -7970,6 +8435,36 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
7970
8435
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
7971
8436
|
```
|
|
7972
8437
|
|
|
8438
|
+
## graphql@17.0.2
|
|
8439
|
+
|
|
8440
|
+
License: MIT
|
|
8441
|
+
|
|
8442
|
+
LICENSE:
|
|
8443
|
+
|
|
8444
|
+
```text
|
|
8445
|
+
MIT License
|
|
8446
|
+
|
|
8447
|
+
Copyright (c) GraphQL Contributors
|
|
8448
|
+
|
|
8449
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8450
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8451
|
+
in the Software without restriction, including without limitation the rights
|
|
8452
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8453
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8454
|
+
furnished to do so, subject to the following conditions:
|
|
8455
|
+
|
|
8456
|
+
The above copyright notice and this permission notice shall be included in all
|
|
8457
|
+
copies or substantial portions of the Software.
|
|
8458
|
+
|
|
8459
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
8460
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
8461
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
8462
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
8463
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
8464
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
8465
|
+
SOFTWARE.
|
|
8466
|
+
```
|
|
8467
|
+
|
|
7973
8468
|
## gray-matter@4.0.3
|
|
7974
8469
|
|
|
7975
8470
|
License: MIT
|
package/bin/mettle
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/bin/mettle
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 75586768 bytes
|
|
4
|
+
sha256: 44c672657ed4bb73d242a018a7b24e95ac896d19fa8055b9872d3555f0db2fe6
|
|
@@ -3,23 +3,26 @@ import {
|
|
|
3
3
|
publicError,
|
|
4
4
|
sha256,
|
|
5
5
|
captureEvidence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-rd80vvc5.mjs";
|
|
7
7
|
import {
|
|
8
|
+
atomic,
|
|
8
9
|
privateDirectory,
|
|
9
10
|
createJournalPool
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-c7dx5mdd.mjs";
|
|
11
12
|
import"./chunk-zvkxtj82.mjs";
|
|
13
|
+
import {
|
|
14
|
+
summarizeDispatchUsage
|
|
15
|
+
} from "./chunk-3wt8a8fq.mjs";
|
|
12
16
|
import {
|
|
13
17
|
databaseConfig
|
|
14
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-w0qwc5z2.mjs";
|
|
15
19
|
import {
|
|
16
20
|
uuid
|
|
17
21
|
} from "./chunk-1sygmp11.mjs";
|
|
18
22
|
|
|
19
23
|
// apps/harness/src/audit.ts
|
|
20
|
-
import { randomUUID } from "node:crypto";
|
|
21
24
|
import { constants } from "node:fs";
|
|
22
|
-
import { mkdir, open
|
|
25
|
+
import { mkdir, open } from "node:fs/promises";
|
|
23
26
|
import { homedir } from "node:os";
|
|
24
27
|
import { join } from "node:path";
|
|
25
28
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
@@ -38,6 +41,7 @@ async function readRunAudit(pool, selector) {
|
|
|
38
41
|
const models = await client.query("SELECT request_id,child_id,provider,requested_model,state,failure_code,provider_observation,final_usage_known,reserved_tokens,reserved_nanousd::text,observed_input_tokens,observed_output_tokens,observed_nanousd::text,charged_nanousd::text,response->>'content' AS commentary,response->'toolCalls' AS proposed_tool_calls FROM harness_mastra.model_dispatches WHERE run_id=$1 ORDER BY request_id", [run.id]);
|
|
39
42
|
const network = await client.query("SELECT id,call_id,state,bytes,request_digest,response_digest,dispatched_at FROM harness_mastra.web_requests WHERE run_id=$1 ORDER BY dispatched_at,id", [run.id]);
|
|
40
43
|
const sandboxes = await client.query("SELECT call_id,worker_id,container_id,image,state,created_at,removed_at FROM harness_mastra.sandboxes WHERE run_id=$1 ORDER BY created_at,call_id", [run.id]);
|
|
44
|
+
const tcp = await client.query("SELECT call_id,address,port,state,outcome,policy_digest,evidence_ref,dispatched_at FROM harness_mastra.tcp_connections WHERE run_id=$1 ORDER BY dispatched_at,address,port", [run.id]);
|
|
41
45
|
const stages = await client.query("SELECT stage_key,input_digest FROM harness_mastra.investigation_stages WHERE run_id=$1 ORDER BY stage_key", [run.id]);
|
|
42
46
|
const findings = await client.query("SELECT id,status,result,finding FROM harness_mastra.findings WHERE run_id=$1 ORDER BY id", [run.id]);
|
|
43
47
|
await client.query("COMMIT");
|
|
@@ -52,7 +56,8 @@ async function readRunAudit(pool, selector) {
|
|
|
52
56
|
target: clean(run.target)
|
|
53
57
|
},
|
|
54
58
|
usage: {
|
|
55
|
-
|
|
59
|
+
...summarizeDispatchUsage(models.rows),
|
|
60
|
+
contextTokens: run.spent_tokens,
|
|
56
61
|
usd: Number(run.spent_nanousd) / 1e9,
|
|
57
62
|
wallSec: Number(run.active_ms) / 1000
|
|
58
63
|
},
|
|
@@ -73,6 +78,10 @@ async function readRunAudit(pool, selector) {
|
|
|
73
78
|
...row,
|
|
74
79
|
dispatched_at: row.dispatched_at.toISOString()
|
|
75
80
|
})),
|
|
81
|
+
tcp: tcp.rows.map((row) => ({
|
|
82
|
+
...row,
|
|
83
|
+
dispatched_at: row.dispatched_at.toISOString()
|
|
84
|
+
})),
|
|
76
85
|
sandboxes: sandboxes.rows.map((row) => ({
|
|
77
86
|
...row,
|
|
78
87
|
created_at: row.created_at.toISOString(),
|
|
@@ -94,15 +103,6 @@ async function readRunAudit(pool, selector) {
|
|
|
94
103
|
client.release();
|
|
95
104
|
}
|
|
96
105
|
}
|
|
97
|
-
async function atomic(path, value) {
|
|
98
|
-
const temporary = `${path}.${randomUUID()}.tmp`;
|
|
99
|
-
try {
|
|
100
|
-
await writeFile(temporary, value, { flag: "wx", mode: 384 });
|
|
101
|
-
await rename(temporary, path);
|
|
102
|
-
} finally {
|
|
103
|
-
await rm(temporary, { force: true });
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
106
|
async function saveRunAudit(root, audit, after = -1, writeStatus = true) {
|
|
107
107
|
uuid().parse(audit.run.id);
|
|
108
108
|
await mkdir(root, { recursive: true, mode: 448 });
|
|
@@ -125,7 +125,7 @@ async function saveRunAudit(root, audit, after = -1, writeStatus = true) {
|
|
|
125
125
|
const lastErrorEvent = [...audit.events].reverse().find((event) => event.type === "error");
|
|
126
126
|
const lastError = lastErrorEvent && typeof lastErrorEvent.record.message === "string" ? lastErrorEvent.record.message.slice(0, 200) : null;
|
|
127
127
|
if (writeStatus)
|
|
128
|
-
lines.push(`[observed ${audit.capturedAt}] STATUS ${JSON.stringify({ runId: audit.run.id, seq: audit.run.seq, usage: audit.usage, terminal: audit.run.terminal, completedStages: audit.stages.map((stage) => stage.stage_key), modelCalls: audit.models.length, toolActions: audit.actions.length, httpRequests: audit.network.length, containersPendingRemoval: audit.sandboxes.filter((container) => container.state !== "removed").length, lastEvent: latest?.type ?? null, lastError, stalled: fresh.length === 0 && !audit.run.terminal })}`);
|
|
128
|
+
lines.push(`[observed ${audit.capturedAt}] STATUS ${JSON.stringify({ runId: audit.run.id, seq: audit.run.seq, usage: audit.usage, terminal: audit.run.terminal, completedStages: audit.stages.map((stage) => stage.stage_key), modelCalls: audit.models.length, toolActions: audit.actions.length, httpRequests: audit.network.length, tcpConnections: audit.tcp.length, containersPendingRemoval: audit.sandboxes.filter((container) => container.state !== "removed").length, lastEvent: latest?.type ?? null, lastError, stalled: fresh.length === 0 && !audit.run.terminal })}`);
|
|
129
129
|
if (lines.length)
|
|
130
130
|
await file.appendFile(`${lines.join(`
|
|
131
131
|
`)}
|