@theaileverage/marionette 0.2.1 → 0.3.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/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +28 -2
- package/DESIGN.md +3 -3
- package/ORCHESTRATION.md +2 -2
- package/README.md +39 -235
- package/RELEASING.md +13 -11
- package/THIRD_PARTY_NOTICES.md +236 -0
- package/VERIFICATION.md +22 -0
- package/dist/cli.js +37558 -10372
- package/dist/herdr-protocol.d.ts +1916 -0
- package/dist/herdr-protocol.js +108 -0
- package/dist/herdr-sdk.d.ts +106 -0
- package/dist/herdr-sdk.js +111 -0
- package/dist/herdr-streams.d.ts +49 -0
- package/dist/herdr-streams.js +160 -0
- package/dist/herdr-transport.d.ts +54 -0
- package/dist/herdr-transport.js +232 -0
- package/dist/mcp.js +24292 -2694
- package/documentation/effect-compatibility.md +56 -0
- package/documentation/effect-runtime.md +73 -0
- package/package.json +52 -22
- package/public/assets/{index-BCi4LMak.js → index-DhL3znDT.js} +12 -12
- package/public/index.html +1 -1
- package/skills/marionette/SKILL.md +70 -0
- package/skills/marionette/references/coordination.md +63 -0
- package/skills/marionette/references/herdr-sdk.md +147 -0
- package/vendor/herdr-0.9.0/LICENSE +201 -0
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -489,6 +489,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
489
489
|
THE SOFTWARE.
|
|
490
490
|
```
|
|
491
491
|
|
|
492
|
+
## effect 4.0.0-rc.112
|
|
493
|
+
|
|
494
|
+
License: MIT
|
|
495
|
+
|
|
496
|
+
```text
|
|
497
|
+
MIT License
|
|
498
|
+
|
|
499
|
+
Copyright (c) 2023 Effectful Technologies Inc
|
|
500
|
+
|
|
501
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
502
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
503
|
+
in the Software without restriction, including without limitation the rights
|
|
504
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
505
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
506
|
+
furnished to do so, subject to the following conditions:
|
|
507
|
+
|
|
508
|
+
The above copyright notice and this permission notice shall be included in all
|
|
509
|
+
copies or substantial portions of the Software.
|
|
510
|
+
|
|
511
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
512
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
513
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
514
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
515
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
516
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
517
|
+
SOFTWARE.
|
|
518
|
+
```
|
|
519
|
+
|
|
492
520
|
## encodeurl 2.0.0
|
|
493
521
|
|
|
494
522
|
License: MIT
|
|
@@ -2258,3 +2286,211 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
2258
2286
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
2259
2287
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2260
2288
|
```
|
|
2289
|
+
|
|
2290
|
+
## Herdr 0.9.0 API schema
|
|
2291
|
+
|
|
2292
|
+
The SDK protocol types are generated from Herdr (https://github.com/herdrdev/herdr/tree/v0.9.0), licensed under Apache-2.0.
|
|
2293
|
+
|
|
2294
|
+
```text
|
|
2295
|
+
Apache License
|
|
2296
|
+
Version 2.0, January 2004
|
|
2297
|
+
http://www.apache.org/licenses/
|
|
2298
|
+
|
|
2299
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
2300
|
+
|
|
2301
|
+
1. Definitions.
|
|
2302
|
+
|
|
2303
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
2304
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
2305
|
+
|
|
2306
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
2307
|
+
the copyright owner that is granting the License.
|
|
2308
|
+
|
|
2309
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
2310
|
+
other entities that control, are controlled by, or are under common
|
|
2311
|
+
control with that entity. For the purposes of this definition,
|
|
2312
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
2313
|
+
direction or management of such entity, whether by contract or
|
|
2314
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
2315
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
2316
|
+
|
|
2317
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
2318
|
+
exercising permissions granted by this License.
|
|
2319
|
+
|
|
2320
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
2321
|
+
including but not limited to software source code, documentation
|
|
2322
|
+
source, and configuration files.
|
|
2323
|
+
|
|
2324
|
+
"Object" form shall mean any form resulting from mechanical
|
|
2325
|
+
transformation or translation of a Source form, including but
|
|
2326
|
+
not limited to compiled object code, generated documentation,
|
|
2327
|
+
and conversions to other media types.
|
|
2328
|
+
|
|
2329
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
2330
|
+
Object form, made available under the License, as indicated by a
|
|
2331
|
+
copyright notice that is included in or attached to the work
|
|
2332
|
+
(an example is provided in the Appendix below).
|
|
2333
|
+
|
|
2334
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
2335
|
+
form, that is based on (or derived from) the Work and for which the
|
|
2336
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
2337
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
2338
|
+
of this License, Derivative Works shall not include works that remain
|
|
2339
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
2340
|
+
the Work and Derivative Works thereof.
|
|
2341
|
+
|
|
2342
|
+
"Contribution" shall mean any work of authorship, including
|
|
2343
|
+
the original version of the Work and any modifications or additions
|
|
2344
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
2345
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
2346
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
2347
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
2348
|
+
means any form of electronic, verbal, or written communication sent
|
|
2349
|
+
to the Licensor or its representatives, including but not limited to
|
|
2350
|
+
communication on electronic mailing lists, source code control systems,
|
|
2351
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
2352
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
2353
|
+
excluding communication that is conspicuously marked or otherwise
|
|
2354
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
2355
|
+
|
|
2356
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
2357
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
2358
|
+
subsequently incorporated within the Work.
|
|
2359
|
+
|
|
2360
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
2361
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2362
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2363
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
2364
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
2365
|
+
Work and such Derivative Works in Source or Object form.
|
|
2366
|
+
|
|
2367
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
2368
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
2369
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2370
|
+
(except as stated in this section) patent license to make, have made,
|
|
2371
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
2372
|
+
where such license applies only to those patent claims licensable
|
|
2373
|
+
by such Contributor that are necessarily infringed by their
|
|
2374
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
2375
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
2376
|
+
institute patent litigation against any entity (including a
|
|
2377
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
2378
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
2379
|
+
or contributory patent infringement, then any patent licenses
|
|
2380
|
+
granted to You under this License for that Work shall terminate
|
|
2381
|
+
as of the date such litigation is filed.
|
|
2382
|
+
|
|
2383
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
2384
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
2385
|
+
modifications, and in Source or Object form, provided that You
|
|
2386
|
+
meet the following conditions:
|
|
2387
|
+
|
|
2388
|
+
(a) You must give any other recipients of the Work or
|
|
2389
|
+
Derivative Works a copy of this License; and
|
|
2390
|
+
|
|
2391
|
+
(b) You must cause any modified files to carry prominent notices
|
|
2392
|
+
stating that You changed the files; and
|
|
2393
|
+
|
|
2394
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
2395
|
+
that You distribute, all copyright, patent, trademark, and
|
|
2396
|
+
attribution notices from the Source form of the Work,
|
|
2397
|
+
excluding those notices that do not pertain to any part of
|
|
2398
|
+
the Derivative Works; and
|
|
2399
|
+
|
|
2400
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
2401
|
+
distribution, then any Derivative Works that You distribute must
|
|
2402
|
+
include a readable copy of the attribution notices contained
|
|
2403
|
+
within such NOTICE file, excluding those notices that do not
|
|
2404
|
+
pertain to any part of the Derivative Works, in at least one
|
|
2405
|
+
of the following places: within a NOTICE text file distributed
|
|
2406
|
+
as part of the Derivative Works; within the Source form or
|
|
2407
|
+
documentation, if provided along with the Derivative Works; or,
|
|
2408
|
+
within a display generated by the Derivative Works, if and
|
|
2409
|
+
wherever such third-party notices normally appear. The contents
|
|
2410
|
+
of the NOTICE file are for informational purposes only and
|
|
2411
|
+
do not modify the License. You may add Your own attribution
|
|
2412
|
+
notices within Derivative Works that You distribute, alongside
|
|
2413
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
2414
|
+
that such additional attribution notices cannot be construed
|
|
2415
|
+
as modifying the License.
|
|
2416
|
+
|
|
2417
|
+
You may add Your own copyright statement to Your modifications and
|
|
2418
|
+
may provide additional or different license terms and conditions
|
|
2419
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
2420
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
2421
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
2422
|
+
the conditions stated in this License.
|
|
2423
|
+
|
|
2424
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
2425
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
2426
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
2427
|
+
this License, without any additional terms or conditions.
|
|
2428
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
2429
|
+
the terms of any separate license agreement you may have executed
|
|
2430
|
+
with Licensor regarding such Contributions.
|
|
2431
|
+
|
|
2432
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
2433
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
2434
|
+
except as required for reasonable and customary use in describing the
|
|
2435
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
2436
|
+
|
|
2437
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
2438
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
2439
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
2440
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
2441
|
+
implied, including, without limitation, any warranties or conditions
|
|
2442
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
2443
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
2444
|
+
appropriateness of using or redistributing the Work and assume any
|
|
2445
|
+
risks associated with Your exercise of permissions under this License.
|
|
2446
|
+
|
|
2447
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
2448
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
2449
|
+
unless required by applicable law (such as deliberate and grossly
|
|
2450
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
2451
|
+
liable to You for damages, including any direct, indirect, special,
|
|
2452
|
+
incidental, or consequential damages of any character arising as a
|
|
2453
|
+
result of this License or out of the use or inability to use the
|
|
2454
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
2455
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
2456
|
+
other commercial damages or losses), even if such Contributor
|
|
2457
|
+
has been advised of the possibility of such damages.
|
|
2458
|
+
|
|
2459
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
2460
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
2461
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
2462
|
+
or other liability obligations and/or rights consistent with this
|
|
2463
|
+
License. However, in accepting such obligations, You may act only
|
|
2464
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
2465
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
2466
|
+
defend, and hold each Contributor harmless for any liability
|
|
2467
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
2468
|
+
of your accepting any such warranty or additional liability.
|
|
2469
|
+
|
|
2470
|
+
END OF TERMS AND CONDITIONS
|
|
2471
|
+
|
|
2472
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
2473
|
+
|
|
2474
|
+
To apply the Apache License to your work, attach the following
|
|
2475
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
2476
|
+
replaced with your own identifying information. (Don't include
|
|
2477
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
2478
|
+
comment syntax for the file format. We also recommend that a
|
|
2479
|
+
file or class name and description of purpose be included on the
|
|
2480
|
+
same "printed page" as the copyright notice for easier
|
|
2481
|
+
identification within third-party archives.
|
|
2482
|
+
|
|
2483
|
+
Copyright [yyyy] [name of copyright owner]
|
|
2484
|
+
|
|
2485
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2486
|
+
you may not use this file except in compliance with the License.
|
|
2487
|
+
You may obtain a copy of the License at
|
|
2488
|
+
|
|
2489
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
2490
|
+
|
|
2491
|
+
Unless required by applicable law or agreed to in writing, software
|
|
2492
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2493
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2494
|
+
See the License for the specific language governing permissions and
|
|
2495
|
+
limitations under the License.
|
|
2496
|
+
```
|
package/VERIFICATION.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Verification record
|
|
2
2
|
|
|
3
|
+
## Effect v4 on Bun — 0.3.0 local acceptance (8 September 2026)
|
|
4
|
+
|
|
5
|
+
Verified locally on macOS arm64 with Bun 1.3.14, Effect 4.0.0-rc.112, TypeScript 7.0.2, and `@effect/tsgo` 0.43.0. The implementation was coordinated through a dedicated Marionette session. The complete Bun suite passed **127 tests across 14 files**, including all 125 retained Effect-era tests and two Bun SQLite compatibility tests.
|
|
6
|
+
|
|
7
|
+
`bun run check`, `bun run effect:diagnostics`, `bun run format:check`, and `bun run runtime:check` passed. Effect diagnostics reported zero errors, warnings, or messages. A separate clean `bun install --frozen-lockfile` applied the compiler/linter patches successfully; `bun run tooling:check` proved that valid Effects pass while floating Effects and chained casts fail.
|
|
8
|
+
|
|
9
|
+
`bun pm pack` passed the full prepack checks, tests, lifecycle checks, and production build. The tarball installed into an isolated Bun consumer and passed executable CLI, standalone Herdr SDK, and TypeScript declaration smoke checks without an installed Effect dependency.
|
|
10
|
+
|
|
11
|
+
The dedicated supervisor was gracefully stopped, its SQLite files preserved, and the new bundled runtime started with the actual Bun executable. The original project identity, complete lead record, and completed task IDs/revisions matched before and after restart. The pre-existing unrelated validation instance was preserved.
|
|
12
|
+
|
|
13
|
+
Persistence uses `bun:sqlite` directly, with Effect managing its lifetime; it does not yet use Effect's SQL adapter. Tests cover version-2 records, WAL/FULL settings, nested rollback, rejection of deferred transaction results, restart, monotonic event IDs, and refusal of a newer schema. Other new regressions cover graceful draining after client disconnection, explicit fiber interruption, process descendants, socket cancellation, and uncertainty without replay.
|
|
14
|
+
|
|
15
|
+
Linux CI is configured but was not executed locally. These are local results; the release workflow separately gates publication on CI. Older release evidence below remains historical.
|
|
16
|
+
|
|
17
|
+
## Herdr SDK and pane layout 0.2.2 (8 September 2026)
|
|
18
|
+
|
|
19
|
+
The SDK exposes all 102 methods from the installed Herdr 0.9.0/protocol-22 schema plus the documented graphics-stream transport. The 117-test suite covers generated API coverage, socket framing, event cancellation and buffer limits, graphics errors and acknowledgements, pane layout selection, interrupted creation recovery, and sibling-safe terminal cleanup. The packed SDK was imported independently and its public TypeScript types compiled in a fresh consumer.
|
|
20
|
+
|
|
21
|
+
A disposable named Herdr 0.9.0 session and real attached Herdr client rendered a 120-by-80 four-color fixture through a simulated Kitty-capable PTY with 10-by-20-pixel cells. Captured terminal graphics commands contained byte-exact RGBA (38,400 bytes), RGB (28,800 bytes), converted BGRA (38,400 bytes), and PNG (289 bytes) payloads. A BGRA file frame returned the expected sequence 7 / revision 11 acknowledgement and emitted the expected RGBA pixels. All placements retained the requested 24-by-8-cell size. Frame replacement and stream closure emitted deletions for all five image IDs. The decoded renderer output was visually inspected.
|
|
22
|
+
|
|
23
|
+
This verifies the installed Herdr server/client rendering pipeline and SDK transports. The outer terminal was simulated; Computer Use denied access to Ghostty, so native Ghostty display and direct-file terminal consumption were not visually verified. No existing Herdr session was controlled and no paid agent was launched. The test server and frame sources were cleaned up.
|
|
24
|
+
|
|
3
25
|
## Resource lifecycle 0.2.1 (8 September 2026)
|
|
4
26
|
|
|
5
27
|
The release adds 26 cleanup regression tests to the existing suite (100 total). The cleanup fixtures use real temporary Git repositories/worktrees and SQLite databases, plus an explicitly labelled Herdr protocol double. They exercise integrated-outcome release, retained failures/native-input states, split and replaced tabs, busy workers, lead handover, lost acknowledgements and restart reconciliation, dirty/untracked/ignored files, shared-checkout and registered-project consumers, archived evidence and Git bundles, tampering, branch movement, published-then-merged delivery, explicit abandonment, policy opt-in/revocation, directory/symlink artifacts and continuation after terminal release. HTTP/STDIO integration checks all 47 MCP tools, including the seven cleanup tools.
|