omo-ai 5.1.47 → 5.1.51

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 (137) hide show
  1. package/bin/lib/brand-logo.generated.d.ts +1 -0
  2. package/bin/lib/brand-logo.generated.js +3 -0
  3. package/bin/lib/category-coverage.js +5 -4
  4. package/bin/lib/engine-environment.js +5 -0
  5. package/bin/lib/launcher.js +1 -0
  6. package/bin/lib/provider-map.json +1 -1
  7. package/bin/lib/self-update.js +5 -0
  8. package/bin/lib/service-auth.generated.js +8 -6
  9. package/bin/lib/thread.js +2 -1
  10. package/package.json +2 -2
  11. package/plugin/CHANGELOG.md +279 -0
  12. package/plugin/extensions/gateway-store-worker.mjs +1 -1
  13. package/plugin/extensions/memory-run-supervisor.mjs +1 -1
  14. package/plugin/extensions/omo-claim-receipt.js +1 -1
  15. package/plugin/extensions/omo-computer-use.js +1 -1
  16. package/plugin/extensions/omo-device-account.js +2 -2
  17. package/plugin/extensions/omo-feedback.js +2 -2
  18. package/plugin/extensions/omo-init-deep-advisor.js +2 -2
  19. package/plugin/extensions/omo-member.js +2 -2
  20. package/plugin/extensions/omo-memory-commands.js +3 -3
  21. package/plugin/extensions/omo-memory-doctor.js +3 -3
  22. package/plugin/extensions/omo-memory-memfs.js +3 -3
  23. package/plugin/extensions/omo-memory-palace.js +3 -3
  24. package/plugin/extensions/omo-memory-sync.js +2 -2
  25. package/plugin/extensions/omo-onboarding-scan.js +3 -3
  26. package/plugin/extensions/omo-recall-store.js +1 -1
  27. package/plugin/extensions/omo-session-history.js +1 -1
  28. package/plugin/extensions/omo-side-panel.js +2 -2
  29. package/plugin/extensions/omo-task.js +2 -2
  30. package/plugin/extensions/omo-telemetry-otlp.js +2 -0
  31. package/plugin/extensions/omo-telemetry-posthog.js +1 -1
  32. package/plugin/extensions/omo-telemetry-recovery.js +2 -2
  33. package/plugin/extensions/omo-thread-client.js +2 -2
  34. package/plugin/extensions/omo.js +3 -3
  35. package/plugin/package.json +2 -1
  36. package/plugin/runtime/agent-toolkit-sdk/sdk.js +2 -2
  37. package/plugin/runtime/ast-grep-mcp/manifest.json +1 -1
  38. package/plugin/runtime/category-coverage/index.js +5 -5
  39. package/plugin/runtime/lsp-daemon/dist/.omo-runtime-manifest.json +1 -1
  40. package/plugin/runtime/rollback-migrate.js +2 -2
  41. package/plugin/runtime/thread-sdk/sdk.js +2 -2
  42. package/plugin/scripts/install.mjs +7 -0
  43. package/plugin/skills/ast-grep/README.md +1 -1
  44. package/plugin/skills/ast-grep/install.ps1 +5 -3
  45. package/plugin/skills/ast-grep/install.sh +4 -5
  46. package/plugin/skills/ast-grep/references/install.md +2 -2
  47. package/plugin/skills/ast-grep/scripts/ast_grep_helper.py +13 -3
  48. package/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
  49. package/plugin/skills/coding-agent-sessions/AGENTS.md +5 -4
  50. package/plugin/skills/coding-agent-sessions/SKILL.md +11 -11
  51. package/plugin/skills/coding-agent-sessions/references/all-platforms.md +2 -2
  52. package/plugin/skills/coding-agent-sessions/references/codex.md +4 -4
  53. package/plugin/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +1 -1
  54. package/plugin/skills/coding-agent-sessions/scripts/find-agent-sessions.py +6 -3
  55. package/plugin/skills/frontend/ATTRIBUTION.md +1 -1
  56. package/plugin/skills/frontend/SKILL.md +34 -12
  57. package/plugin/skills/frontend/references/design/README.md +2 -2
  58. package/plugin/skills/frontend/references/design/_INDEX.md +2 -1
  59. package/plugin/skills/frontend/references/design/component-catalogs.md +14 -10
  60. package/plugin/skills/frontend/references/design/design-system-architecture.md +19 -6
  61. package/plugin/skills/frontend/references/design/grounding.md +29 -0
  62. package/plugin/skills/frontend/references/ui-ux-db/scripts/design_system.py +2 -0
  63. package/plugin/skills/frontend/references/ui-ux-db/scripts/search.py +2 -0
  64. package/plugin/skills/ultimate-browsing/SKILL.md +5 -4
  65. package/plugin/skills/ultimate-browsing/engine/AGENTS.md +2 -2
  66. package/plugin/skills/ultimate-browsing/engine/__main__.py +9 -6
  67. package/plugin/skills/ultimate-browsing/engine/summary.py +1 -1
  68. package/plugin/skills/ultimate-browsing/references/insane-search/README.md +4 -4
  69. package/plugin/skills/ultimate-browsing/scripts/extract_cookies.py +4 -2
  70. package/plugin/skills/ulw-research/SKILL.md +4 -382
  71. package/plugin/skills/ulw-research/references/deliverable-phase.md +68 -24
  72. package/plugin/skills/ulw-research/references/fact-ledger-grammar.md +7 -3
  73. package/plugin/skills/ulw-research/references/fact-ledger.md +42 -8
  74. package/plugin/skills/ulw-research/references/fidelity-claim-kinds.md +1 -1
  75. package/plugin/skills/ulw-research/references/report-gates.md +14 -6
  76. package/plugin/skills/ulw-research/references/research-collection.md +236 -0
  77. package/plugin/skills/ulw-research/references/research-delivery.md +204 -0
  78. package/plugin/skills/ulw-research/scripts/claim-kinds.mjs +33 -5
  79. package/plugin/skills/ulw-research/scripts/contracts.mjs +16 -15
  80. package/plugin/skills/ulw-research/scripts/conversion-probe.mjs +229 -0
  81. package/plugin/skills/ulw-research/scripts/css-hiding.mjs +158 -0
  82. package/plugin/skills/ulw-research/scripts/css-lite.mjs +4 -2
  83. package/plugin/skills/ulw-research/scripts/entities.mjs +13 -4
  84. package/plugin/skills/ulw-research/scripts/fact-commands-fill.mjs +96 -0
  85. package/plugin/skills/ulw-research/scripts/fact-commands-meaning.mjs +26 -30
  86. package/plugin/skills/ulw-research/scripts/fact-commands-polish.mjs +46 -19
  87. package/plugin/skills/ulw-research/scripts/fact-commands-verify.mjs +37 -6
  88. package/plugin/skills/ulw-research/scripts/fact-commands.mjs +40 -62
  89. package/plugin/skills/ulw-research/scripts/fact-derive.mjs +7 -2
  90. package/plugin/skills/ulw-research/scripts/fact-fill.mjs +9 -6
  91. package/plugin/skills/ulw-research/scripts/fact-ledger-kinds.mjs +6 -7
  92. package/plugin/skills/ulw-research/scripts/fact-locate.mjs +15 -9
  93. package/plugin/skills/ulw-research/scripts/fidelity-claims.mjs +4 -3
  94. package/plugin/skills/ulw-research/scripts/fidelity-csv.mjs +32 -0
  95. package/plugin/skills/ulw-research/scripts/fidelity-lexicon.mjs +1 -1
  96. package/plugin/skills/ulw-research/scripts/fidelity-originals.mjs +161 -0
  97. package/plugin/skills/ulw-research/scripts/fidelity-policy.mjs +183 -0
  98. package/plugin/skills/ulw-research/scripts/fidelity-records.mjs +81 -14
  99. package/plugin/skills/ulw-research/scripts/fidelity-snapshot-readability.mjs +49 -0
  100. package/plugin/skills/ulw-research/scripts/fidelity-sources.mjs +76 -0
  101. package/plugin/skills/ulw-research/scripts/fidelity-trace.mjs +25 -11
  102. package/plugin/skills/ulw-research/scripts/fidelity-value-unit.mjs +202 -0
  103. package/plugin/skills/ulw-research/scripts/fidelity-values.mjs +40 -39
  104. package/plugin/skills/ulw-research/scripts/gates-fidelity.mjs +8 -6
  105. package/plugin/skills/ulw-research/scripts/gates-static.mjs +10 -1
  106. package/plugin/skills/ulw-research/scripts/html-lite.mjs +6 -2
  107. package/plugin/skills/ulw-research/scripts/html-markup.mjs +2 -2
  108. package/plugin/skills/ulw-research/scripts/html-text-map.mjs +140 -0
  109. package/plugin/skills/ulw-research/scripts/markdown-closers.mjs +126 -0
  110. package/plugin/skills/ulw-research/scripts/md-lite.mjs +1 -1
  111. package/plugin/skills/ulw-research/scripts/number-grammar.mjs +33 -0
  112. package/plugin/skills/ulw-research/scripts/numerals.mjs +18 -7
  113. package/plugin/skills/ulw-research/scripts/outcome-start.mjs +66 -0
  114. package/plugin/skills/ulw-research/scripts/outcome.mjs +11 -22
  115. package/plugin/skills/ulw-research/scripts/placeholder.mjs +18 -6
  116. package/plugin/skills/ulw-research/scripts/polish-apply.mjs +3 -2
  117. package/plugin/skills/ulw-research/scripts/raw-decode.mjs +110 -0
  118. package/plugin/skills/ulw-research/scripts/raw-locator.mjs +47 -0
  119. package/plugin/skills/ulw-research/scripts/report-tools-commands.mjs +1 -1
  120. package/plugin/skills/ulw-research/scripts/report-tools.mjs +7 -1
  121. package/plugin/skills/ulw-research/scripts/source-commands.mjs +87 -29
  122. package/plugin/skills/ulw-research/scripts/source-refresh.mjs +82 -0
  123. package/plugin/skills/ulw-research/scripts/source-snapshot.mjs +73 -69
  124. package/plugin/skills/ulw-research/scripts/source-view.mjs +89 -0
  125. package/plugin/skills/ulw-research/scripts/sources-citation.mjs +203 -0
  126. package/plugin/skills/ulw-research/scripts/units.mjs +14 -3
  127. package/plugin/telemetry-schema.json +24 -120
  128. package/plugin/telemetry-schema.omo-cloud.json +24 -120
  129. package/plugin/skills/ultimate-browsing/engine/tests/fixtures/amp_redirect_stub.html +0 -7
  130. package/plugin/skills/ultimate-browsing/engine/tests/fixtures/search_interstitial.html +0 -19
  131. package/plugin/skills/ultimate-browsing/engine/tests/fixtures/wayback_available.json +0 -1
  132. package/plugin/skills/ultimate-browsing/engine/tests/fixtures/wayback_snapshot.html +0 -1128
  133. package/plugin/skills/ultimate-browsing/engine/tests/test_fetch_chain.py +0 -77
  134. package/plugin/skills/ultimate-browsing/engine/tests/test_playwright_stealth.py +0 -86
  135. package/plugin/skills/ultimate-browsing/engine/tests/test_playwright_templates.py +0 -279
  136. package/plugin/skills/ultimate-browsing/engine/tests/test_surrogate.py +0 -252
  137. package/plugin/skills/ultimate-browsing/engine/tests/test_surrogate_validators.py +0 -78
@@ -0,0 +1 @@
1
+ export declare const OMO_BRAND_LOGO: string
@@ -0,0 +1,3 @@
1
+ // Generated by bun script/build-brand-logo.ts from .github/assets/omo-icon-light.svg; do not edit.
2
+ /** The OmO icon as a base64 SVG data URI: the `logo` every launcher puts in SENPI_BRAND. */
3
+ export const OMO_BRAND_LOGO = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPgogIDxwYXRoIGZpbGw9IiNGNEY0RjQiIGQ9Ik01MTIuMDAgMTAwLjUwIEM1OTEuMTMgMTAwLjUwIDY5Ny42NiA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, writeFileSync } from "node:fs"
13
13
  import { tmpdir } from "node:os"
14
- import { join } from "node:path"
14
+ import { join, resolve } from "node:path"
15
15
  import { pathToFileURL } from "node:url"
16
16
  import { packageRoot, resolveSenpi } from "./package-paths.js"
17
17
 
@@ -46,10 +46,11 @@ async function loadEngine() {
46
46
  // is captured from the extension itself and registered on the runtime, as a session does. The
47
47
  // extension's commands and session hooks are not needed here and are dropped. Its settings are
48
48
  // read from the inspected agent dir (the extension's default reads the engine's own default dir).
49
- function extensionProviders(register) {
49
+ function extensionProviders(register, cwd) {
50
50
  const providers = []
51
51
  const capture = (name, config) => { providers.push([name, config]) }
52
- register(new Proxy({}, { get: (_, key) => key === "registerProvider" ? capture : () => undefined }))
52
+ // The extension reads the session's absolute cwd (senpi 2026.10.25-1 refuses to register without one).
53
+ register(new Proxy({}, { get: (_, key) => key === "cwd" ? cwd : key === "registerProvider" ? capture : () => undefined }))
53
54
  return providers
54
55
  }
55
56
 
@@ -87,7 +88,7 @@ export async function engineAvailableModels(input) {
87
88
  })
88
89
  const cwd = input.cwd ?? process.cwd()
89
90
  const readSettings = () => engine.loadAnthropicSubscriptionSettings(engine.SettingsManager.create(cwd, input.agentDir))
90
- for (const [name, config] of extensionProviders((pi) => engine.registerAnthropicSubscription(pi, { readSettings }))) {
91
+ for (const [name, config] of extensionProviders((pi) => engine.registerAnthropicSubscription(pi, { readSettings }), resolve(cwd))) {
91
92
  await runtime.registerProvider(name, config, { refresh: false })
92
93
  }
93
94
  return (await runtime.getAvailable()).map((model) => ({ provider: model.provider, id: model.id }))
@@ -1,6 +1,7 @@
1
1
  import { existsSync, realpathSync } from "node:fs"
2
2
  import { delimiter, isAbsolute, join, relative, sep } from "node:path"
3
3
  import { canonicalAgentDir } from "./agent-dir.js"
4
+ import { OMO_BRAND_LOGO } from "./brand-logo.generated.js"
4
5
  import { HERDR_AGENT_MARKER } from "./herdr-agent-hint.js"
5
6
  import { nearestNodeBin, packageManifest, packageRoot, readJson, releaseChannel, updateTarget } from "./package-paths.js"
6
7
 
@@ -27,6 +28,7 @@ function brandProfile() {
27
28
  const changelog = pluginChangelogSource()
28
29
  return {
29
30
  name: "OmO",
31
+ logo: OMO_BRAND_LOGO,
30
32
  command: "omo",
31
33
  displayVersion: packageManifest().version,
32
34
  configDir: ".omo",
@@ -103,6 +105,9 @@ export function senpiEnvironment(senpiRoot, overrides = {}) {
103
105
  // Anything resolving the product by name must re-enter through this launcher, otherwise it
104
106
  // would reach the engine directly and lose the brand.
105
107
  env.OMO_BIN = join(packageRoot, "bin", "omo.js")
108
+ // The plugin names this command when part of the install is missing (#11379). SENPI_BRAND carries it
109
+ // too, but the engine scrubs that at startup, before any plugin file can fail to load.
110
+ env.OMO_REINSTALL_COMMAND = updateTarget().command
106
111
  const merged = { ...env, ...overrides }
107
112
  // Only the interactive launch writes this record of the herdr hint it set (herdr-agent-hint.js),
108
113
  // after this function returns. No engine started here may carry one from the parent environment
@@ -146,6 +146,7 @@ export async function runLauncher(args = process.argv.slice(2)) {
146
146
  if (command === "thread") {
147
147
  process.exitCode = await runThreadCommand(args.slice(1), {
148
148
  engine: { run: engineHostCall },
149
+ reinstall: `Reinstall omo with: ${updateTarget().command}, then retry.`,
149
150
  pluginRoot: join(packageRoot, "plugin"),
150
151
  agentDir: canonicalAgentDir(),
151
152
  env: process.env,
@@ -1,5 +1,5 @@
1
1
  {
2
- "_comment": "Derived from @code-yeongyu/senpi 2026.10.23-1 builtinProviders(). builtinProviderIds and oauthProviderIds are the engine registry verbatim; providers maps a source harness id onto the omo provider that serves the same endpoint; oauthLogins maps a source OAuth id onto the omo provider to run /login for. Re-derive all four whenever the senpi pin changes.",
2
+ "_comment": "Derived from @code-yeongyu/senpi 2026.10.27-1 builtinProviders(). builtinProviderIds and oauthProviderIds are the engine registry verbatim; providers maps a source harness id onto the omo provider that serves the same endpoint; oauthLogins maps a source OAuth id onto the omo provider to run /login for. Re-derive all four whenever the senpi pin changes.",
3
3
  "builtinProviderIds": [
4
4
  "alibaba-token-plan",
5
5
  "amazon-bedrock",
@@ -93,6 +93,11 @@ export async function runSelfUpdate(args, options = {}) {
93
93
  return 0
94
94
  }
95
95
  if (target !== undefined && target === before.omo) {
96
+ // Already on the target, the update installs nothing, so a broken engine tree needs the reinstall named.
97
+ if (before.engine === "unknown") {
98
+ error(`omo ${before.omo} is up to date, but its engine files are missing or incomplete; reinstall with: ${update.command}`)
99
+ return 1
100
+ }
96
101
  log(`omo ${before.omo} is up to date (omo-ai@${channel} is ${target})`)
97
102
  return 0
98
103
  }