oysterun 1.6.0-beta.39 → 1.6.0-beta.40

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.
Files changed (61) hide show
  1. package/bin/oysterun.mjs +7 -0
  2. package/dev/client/web-chat/dist/assets/{ReactPrism-BMvm_4Sd.js → ReactPrism-CYKwEJE8.js} +1 -1
  3. package/dev/client/web-chat/dist/assets/{ReactPrism-BMvm_4Sd.js.map → ReactPrism-CYKwEJE8.js.map} +1 -1
  4. package/dev/client/web-chat/dist/assets/{TerminalSurface-83CMtDbQ.js → TerminalSurface-CIjZjY-A.js} +1 -1
  5. package/dev/client/web-chat/dist/assets/{TerminalSurface-83CMtDbQ.js.map → TerminalSurface-CIjZjY-A.js.map} +1 -1
  6. package/dev/client/web-chat/dist/assets/{index-mWzPv7k9.js → index-BrluDlTu.js} +1 -1
  7. package/dev/client/web-chat/dist/assets/{index-mWzPv7k9.js.map → index-BrluDlTu.js.map} +1 -1
  8. package/dev/client/web-chat/dist/assets/{index-BukD9ETd.js → index-CNKWj_sK.js} +2 -2
  9. package/dev/client/web-chat/dist/assets/{index-BukD9ETd.js.map → index-CNKWj_sK.js.map} +1 -1
  10. package/dev/client/web-chat/dist/assets/{index-CDgI-O86.js → index-Cc-Hn07b.js} +1 -1
  11. package/dev/client/web-chat/dist/assets/{index-CDgI-O86.js.map → index-Cc-Hn07b.js.map} +1 -1
  12. package/dev/client/web-chat/dist/assets/{index-C_po1Kez.js → index-DWUEXNIL.js} +2 -2
  13. package/dev/client/web-chat/dist/assets/{index-C_po1Kez.js.map → index-DWUEXNIL.js.map} +1 -1
  14. package/dev/client/web-chat/dist/assets/{matrix-entry-C25j0qP9.js → matrix-entry-DC97uQE8.js} +118 -118
  15. package/dev/client/web-chat/dist/assets/matrix-entry-DC97uQE8.js.map +1 -0
  16. package/dev/client/web-chat/dist/assets/{pdf-DyrCAP06.js → pdf-BoBERmJm.js} +3 -3
  17. package/dev/client/web-chat/dist/assets/pdf-BoBERmJm.js.map +1 -0
  18. package/dev/client/web-chat/dist/assets/{web-C0lJ0ykc.js → web-BQmBj0Lf.js} +1 -1
  19. package/dev/client/web-chat/dist/assets/{web-C0lJ0ykc.js.map → web-BQmBj0Lf.js.map} +1 -1
  20. package/dev/client/web-chat/dist/assets/{web-DqF5TOnI.js → web-DbOcnO_Q.js} +1 -1
  21. package/dev/client/web-chat/dist/assets/{web-DqF5TOnI.js.map → web-DbOcnO_Q.js.map} +1 -1
  22. package/dev/client/web-chat/dist/index.html +1 -1
  23. package/docs/routec/provider_contract.md +35 -2
  24. package/host-service/adapters/agy-acp-adapter.mjs +1339 -0
  25. package/host-service/agent-config.mjs +1 -1
  26. package/host-service/agy-acp-model-discovery.mjs +242 -0
  27. package/host-service/agy-background-work.mjs +185 -0
  28. package/host-service/agy-hook.mjs +48 -0
  29. package/host-service/config.mjs +50 -2
  30. package/host-service/cross-session-search.mjs +1 -1
  31. package/host-service/fixtures/p423-fake-agy-acp.mjs +237 -0
  32. package/host-service/fixtures/p423-fake-agy-print.mjs +44 -0
  33. package/host-service/fixtures/p423-fake-agy-subagents.mjs +204 -0
  34. package/host-service/lifecycle-continuity-runner.mjs +2 -2
  35. package/host-service/lifecycle-continuity.mjs +1 -1
  36. package/host-service/matrix-room-binding.mjs +1 -0
  37. package/host-service/package.json +1 -1
  38. package/host-service/plan-limit-readers.mjs +3 -1
  39. package/host-service/plan-limit-service.mjs +2 -1
  40. package/host-service/provider-auth.mjs +15 -0
  41. package/host-service/provider-command-detection.mjs +3 -1
  42. package/host-service/provider-model-params.mjs +5 -0
  43. package/host-service/provider-model-refresh-runner.mjs +65 -1
  44. package/host-service/provider-process-tree.mjs +70 -0
  45. package/host-service/provider-registry.mjs +45 -1
  46. package/host-service/provider-skill-roots.mjs +2 -0
  47. package/host-service/routec-latest-user-event.mjs +9 -0
  48. package/host-service/scheduler-direct-provider-runner.mjs +113 -5
  49. package/host-service/scheduler-service.mjs +11 -0
  50. package/host-service/scheduler-setup-snapshot-contract.mjs +21 -6
  51. package/host-service/server.mjs +37 -7
  52. package/host-service/session-manager.mjs +39 -1
  53. package/host-service/session-profile-provider-config.mjs +17 -0
  54. package/host-service/setup-provider-model-defaults.mjs +3 -0
  55. package/host-service/setup.mjs +5 -1
  56. package/host-service/usage-normalization.mjs +12 -1
  57. package/host-service/usage-statistics.mjs +1 -1
  58. package/package.json +1 -1
  59. package/tool_scripts/oysterun_npm_package_manifest.mjs +2 -0
  60. package/dev/client/web-chat/dist/assets/matrix-entry-C25j0qP9.js.map +0 -1
  61. package/dev/client/web-chat/dist/assets/pdf-DyrCAP06.js.map +0 -1
package/bin/oysterun.mjs CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  import { preflightCompleteUninstall, executeCompleteUninstall } from "../host-service/complete-cli-uninstall.mjs";
20
20
  import * as hostConfig from "../host-service/config.mjs";
21
21
  import { describeCloudRetirement, retireHostCloudRegistration } from "../host-service/cloud-self-retirement.mjs";
22
+ import { agyHooksPath, removeOysterunAgyHooks } from "../host-service/agy-background-work.mjs";
22
23
  import {
23
24
  ONBOARD_USAGE,
24
25
  SETUP_USAGE,
@@ -355,6 +356,8 @@ async function runUninstall(args = []) {
355
356
  ? " Cloud registration: already retired"
356
357
  : " Cloud registration: none (this Host is not registered)"
357
358
  );
359
+ // P423 item 8: only the Oysterun group in agy's global hooks file is removed.
360
+ console.log(` agy hooks: remove the Oysterun group from ${agyHooksPath()} (other groups are kept)`);
358
361
  console.log(" Default Browse Root and agent folders are never deleted by this command.");
359
362
  if (options.dryRun) {
360
363
  console.log("Dry run complete: no Cloud, service, config or CLI changes were made.");
@@ -363,6 +366,10 @@ async function runUninstall(args = []) {
363
366
  process.exitCode = (await executeCompleteUninstall(plan, {
364
367
  retireCloud: () => retireHostCloudRegistration({ hostConfig }),
365
368
  })).exitCode;
369
+ if (process.exitCode === 0) {
370
+ const hooks = removeOysterunAgyHooks();
371
+ console.log(`agy hooks: ${hooks.removed ? "Oysterun group removed" : `nothing removed (${hooks.reason})`}`);
372
+ }
366
373
  } catch (error) {
367
374
  console.error(`oysterun uninstall preflight: ${error.message}`);
368
375
  console.error("No service, config or CLI changes were made.");
@@ -1,4 +1,4 @@
1
- import{h as ee,k as Y,r as K,j as Z}from"./matrix-entry-C25j0qP9.js";import"./index-CDgI-O86.js";var X={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ import{h as ee,k as Y,r as K,j as Z}from"./matrix-entry-DC97uQE8.js";import"./index-Cc-Hn07b.js";var X={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
2
2
  * Prism: Lightweight, robust, elegant syntax highlighting
3
3
  *
4
4
  * @license MIT <https://opensource.org/licenses/MIT>