omo-ai 5.1.66 → 5.1.69
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/bin/darwin/omo-keychain +0 -0
- package/bin/lib/computer-use-doctor.js +1 -0
- package/bin/lib/doctor-memory-runtime.js +14 -5
- package/bin/lib/provider-map.json +1 -1
- package/bin/lib/reflection-lock.generated.js +14 -12
- package/bin/lib/service-auth.generated.js +23 -21
- package/bin/lib/setup-commandcode.js +1 -0
- package/package.json +2 -2
- package/plugin/CHANGELOG.md +101 -0
- package/plugin/extensions/assets.generated.json +4 -4
- package/plugin/extensions/gateway-store-worker.mjs +2 -2
- package/plugin/extensions/memory-run-supervisor.mjs +3 -3
- package/plugin/extensions/omo-claim-receipt.js +1 -1
- package/plugin/extensions/omo-computer-run-worker.mjs +2 -0
- package/plugin/extensions/omo-computer-use.js +2 -2
- package/plugin/extensions/omo-desktop-toolkit.js +1 -1
- package/plugin/extensions/omo-device-account.js +4 -4
- package/plugin/extensions/omo-device-service.js +3 -3
- package/plugin/extensions/omo-feedback.js +2 -2
- package/plugin/extensions/omo-init-deep-advisor.js +2 -2
- package/plugin/extensions/omo-member.js +2 -2
- package/plugin/extensions/omo-memory-commands.js +3 -3
- package/plugin/extensions/omo-memory-doctor.js +3 -3
- package/plugin/extensions/omo-memory-memfs.js +3 -3
- package/plugin/extensions/omo-memory-palace.js +3 -3
- package/plugin/extensions/omo-memory-sync.js +2 -2
- package/plugin/extensions/omo-onboarding-scan.js +3 -3
- package/plugin/extensions/omo-recall-store.js +1 -1
- package/plugin/extensions/omo-session-history.js +1 -1
- package/plugin/extensions/omo-side-panel.js +3 -3
- package/plugin/extensions/omo-task.js +2 -2
- package/plugin/extensions/omo-telemetry-otlp.js +2 -2
- package/plugin/extensions/omo-telemetry-posthog.js +1 -1
- package/plugin/extensions/omo-telemetry-recovery.js +2 -2
- package/plugin/extensions/omo-thread-client.js +5 -5
- package/plugin/extensions/omo.js +3 -3
- package/plugin/extensions/quickjs.wasm +0 -0
- package/plugin/package.json +1 -1
- package/plugin/runtime/agent-toolkit-sdk/sdk.js +2 -2
- package/plugin/runtime/ast-grep-mcp/manifest.json +1 -1
- package/plugin/runtime/bunshin-ts/sdk.js +2 -2
- package/plugin/runtime/category-coverage/assets.generated.json +4 -4
- package/plugin/runtime/category-coverage/index.js +10 -10
- package/plugin/runtime/rollback-migrate.js +1 -1
- package/plugin/runtime/task-config/index.js +1 -1
- package/plugin/runtime/thread-sdk/sdk.js +5 -5
- package/plugin/scripts/install.mjs +2 -0
- package/plugin/skills/browser/ATTRIBUTION.md +11 -7
- package/plugin/skills/browser/runtime/omowright/LICENSE +21 -0
- package/plugin/skills/browser/runtime/omowright/manifest.json +4 -3
- package/plugin/telemetry-schema.json +24 -24
- package/plugin/telemetry-schema.omo-cloud.json +24 -24
package/bin/darwin/omo-keychain
CHANGED
|
Binary file
|
|
@@ -35,6 +35,7 @@ function readyLines(report) {
|
|
|
35
35
|
`${permissionLevel} computer use permissions: capture=${capabilities.capturePermission} input=${capabilities.inputPermission} accessibility=${capabilities.axPermission}`,
|
|
36
36
|
`${displayLevel} computer use display: count=${capabilities.displayCount} screenLocked=${capabilities.screenLocked} displayAsleep=${displayAsleep}`,
|
|
37
37
|
stopLine,
|
|
38
|
+
"INFO computer use stop persistence: a stop survives an engine restart only on the macOS XPC agent; a --serve daemon (--oneshot, --mcp) starts unstopped",
|
|
38
39
|
]
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
measureRuntimeCapEvictableBytes,
|
|
16
16
|
measureRuntimeSizeWithinBudget,
|
|
17
17
|
measureUnreflectedJournalBytes,
|
|
18
|
+
readLastRetentionLogEntry,
|
|
18
19
|
runtimeSizeStanding,
|
|
19
20
|
} from "./reflection-lock.generated.js"
|
|
20
21
|
|
|
@@ -73,14 +74,18 @@ function capText(maxBytes) {
|
|
|
73
74
|
return maxBytes > 0 ? `${formatRuntimeBytes(maxBytes)} cap` : "no cap"
|
|
74
75
|
}
|
|
75
76
|
|
|
77
|
+
function lastCleanupText(entry) {
|
|
78
|
+
return entry.lastCleanup === undefined ? "; no cleanup recorded" : `; last cleanup ${entry.lastCleanup.at} removed ${entry.lastCleanup.total}`
|
|
79
|
+
}
|
|
80
|
+
|
|
76
81
|
function formatMemoryRuntimeLines(identities, totalBytes) {
|
|
77
82
|
if (identities.length === 0) return []
|
|
78
83
|
const bySize = [...identities].sort((left, right) => right.bytes - left.bytes || left.identity.localeCompare(right.identity))
|
|
79
84
|
const lines = bySize.slice(0, LISTED_IDENTITIES).map((entry) => {
|
|
80
|
-
if (entry.sizeUnknown !== undefined) return `INFO memory runtime: ${entry.identity} size unknown (${capText(entry.maxBytes)})`
|
|
85
|
+
if (entry.sizeUnknown !== undefined) return `INFO memory runtime: ${entry.identity} size unknown (${capText(entry.maxBytes)})${lastCleanupText(entry)}`
|
|
81
86
|
const standing = runtimeSizeStanding(entry.bytes, entry.maxBytes)
|
|
82
87
|
const share = standing.percent === undefined ? "" : `, ${standing.percent}%`
|
|
83
|
-
return `INFO memory runtime: ${entry.identity} ${formatRuntimeBytes(entry.bytes)} (${capText(entry.maxBytes)}${share})`
|
|
88
|
+
return `INFO memory runtime: ${entry.identity} ${formatRuntimeBytes(entry.bytes)} (${capText(entry.maxBytes)}${share})${lastCleanupText(entry)}`
|
|
84
89
|
})
|
|
85
90
|
const rest = bySize.slice(LISTED_IDENTITIES)
|
|
86
91
|
if (rest.length > 0) {
|
|
@@ -118,7 +123,7 @@ function formatMemoryRuntimeLines(identities, totalBytes) {
|
|
|
118
123
|
* @param options.discardFor the resolved `memory.runtime.discard_unreflected_journals` for one identity (default: the shipped false)
|
|
119
124
|
* @param options.measureBudgetMs each identity's measurement deadline, the one `/doctor` uses (default: the shipped pass_budget_ms)
|
|
120
125
|
* @param options.measureSignal a caller deadline that replaces the per-identity timer
|
|
121
|
-
* @returns {Promise<{ identities: { identity: string, bytes: number, maxBytes: number, unreflectedBytes?: number, discardUnreflectedJournals: boolean, evictableBytes?: number, sizeUnknown?: { budgetMs: number, at: string } }[], totalBytes: number, lines: string[] }>}
|
|
126
|
+
* @returns {Promise<{ identities: { identity: string, bytes: number, maxBytes: number, unreflectedBytes?: number, discardUnreflectedJournals: boolean, evictableBytes?: number, sizeUnknown?: { budgetMs: number, at: string }, lastCleanup?: { at: string, total: number } }[], totalBytes: number, lines: string[] }>}
|
|
122
127
|
*/
|
|
123
128
|
export async function memoryRuntimeReport(options = {}) {
|
|
124
129
|
const root = memoryRoot(options.env ?? process.env)
|
|
@@ -131,12 +136,15 @@ export async function memoryRuntimeReport(options = {}) {
|
|
|
131
136
|
const paths = buildIdentityPaths(root, identity)
|
|
132
137
|
const maxBytes = maxBytesFor(identity)
|
|
133
138
|
const discardUnreflectedJournals = discardFor(identity)
|
|
139
|
+
// The removal log a retention pass appends (#12932); an unreadable log reads as none recorded.
|
|
140
|
+
const lastCleanup = await readLastRetentionLogEntry(paths.runtime).catch(() => undefined)
|
|
141
|
+
const cleaned = lastCleanup === undefined ? {} : { lastCleanup }
|
|
134
142
|
// One deadline per identity bounds the size walk and the journal scans that read whole transcripts.
|
|
135
143
|
const signal = options.measureSignal ?? AbortSignal.timeout(budgetMs)
|
|
136
144
|
const startedAt = Date.now()
|
|
137
145
|
const measured = await measureRuntimeSizeWithinBudget(paths.runtime, { budgetMs, now: startedAt, signal })
|
|
138
146
|
if ("sizeUnknown" in measured) {
|
|
139
|
-
identities.push({ identity, bytes: 0, maxBytes, discardUnreflectedJournals, sizeUnknown: measured.sizeUnknown })
|
|
147
|
+
identities.push({ identity, bytes: 0, maxBytes, discardUnreflectedJournals, sizeUnknown: measured.sizeUnknown, ...cleaned })
|
|
140
148
|
continue
|
|
141
149
|
}
|
|
142
150
|
const bytes = measured.size.bytes
|
|
@@ -150,7 +158,7 @@ export async function memoryRuntimeReport(options = {}) {
|
|
|
150
158
|
evictableBytes = overCap ? await measureRuntimeCapEvictableBytes({ paths, policy, now: Date.now, signal }) : undefined
|
|
151
159
|
} catch (error) {
|
|
152
160
|
if (!signal.aborted) throw error
|
|
153
|
-
identities.push({ identity, bytes: 0, maxBytes, discardUnreflectedJournals, sizeUnknown: { budgetMs, at: new Date(startedAt).toISOString() } })
|
|
161
|
+
identities.push({ identity, bytes: 0, maxBytes, discardUnreflectedJournals, sizeUnknown: { budgetMs, at: new Date(startedAt).toISOString() }, ...cleaned })
|
|
154
162
|
continue
|
|
155
163
|
}
|
|
156
164
|
identities.push({
|
|
@@ -160,6 +168,7 @@ export async function memoryRuntimeReport(options = {}) {
|
|
|
160
168
|
discardUnreflectedJournals,
|
|
161
169
|
...(unreflectedBytes === undefined ? {} : { unreflectedBytes }),
|
|
162
170
|
...(evictableBytes === undefined ? {} : { evictableBytes }),
|
|
171
|
+
...cleaned,
|
|
163
172
|
})
|
|
164
173
|
}
|
|
165
174
|
const totalBytes = identities.reduce((sum, entry) => sum + entry.bytes, 0)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "Derived from @code-yeongyu/senpi 2026.11.
|
|
2
|
+
"_comment": "Derived from @code-yeongyu/senpi 2026.11.10-2 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",
|