@ouro.bot/cli 0.1.0-alpha.1555 → 0.1.0-alpha.1557
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.json +12 -0
- package/deploy/unraid/sanctuary.ouro/bundle-meta.json +1 -1
- package/deploy/unraid/sanctuary.xml +1 -1
- package/desk.lock.json +3 -3
- package/dist/mind/diary.js +7 -3
- package/dist/repertoire/tools-notes.js +4 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/vendor/desk/.claude-plugin/plugin.json +1 -1
- package/vendor/desk/.ouro-desk.json +3 -3
- package/vendor/desk/CHANGELOG.md +600 -0
- package/vendor/desk/activation/copilot-root.flattened-bundle.json +2 -2
- package/vendor/desk/activation/desk.activation.json +5 -5
- package/vendor/desk/agency.json +1 -1
- package/vendor/desk/docs/sessions.md +1 -1
- package/vendor/desk/hooks/lib/boot-checks.cjs +1 -1
- package/vendor/desk/hooks/lib/child-agent.cjs +2 -2
- package/vendor/desk/hooks/lib/factory-end.cjs +4 -1
- package/vendor/desk/mcp/README.md +6 -0
- package/vendor/desk/mcp/bootstrap.cjs +64 -38
- package/vendor/desk/mcp/idle-proxy.cjs +14 -6
- package/vendor/desk/mcp/scripts/crew.js +3 -3
- package/vendor/desk/mcp/scripts/drains-launcher.mjs +6 -5
- package/vendor/desk/mcp/scripts/factory.js +15 -6
- package/vendor/desk/mcp/scripts/resolve-desk-root.js +1 -2
- package/vendor/desk/mcp/src/actions/desk-session.actions.mts +16 -1
- package/vendor/desk/mcp/src/actions/desk.actions.mts +2 -2
- package/vendor/desk/mcp/src/actions/generated/desk/actions.json +36 -1
- package/vendor/desk/mcp/src/actions/generated/desk/mcp.json +34 -1
- package/vendor/desk/mcp/src/activation/superpowers-context.js +9 -0
- package/vendor/desk/mcp/src/crew/workspace.js +30 -4
- package/vendor/desk/mcp/src/desk/card-commit-guard.js +3 -2
- package/vendor/desk/mcp/src/desk/content-home.js +16 -0
- package/vendor/desk/mcp/src/indexer/discover.js +8 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/ax-claims.ts +2 -1
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/ax-command.ts +20 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/mcp.ts +1 -1
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/xray.ts +40 -2
- package/vendor/desk/mcp/src/runtime/boot.js +0 -1
- package/vendor/desk/mcp/src/runtime/deliver.js +42 -5
- package/vendor/desk/mcp/src/runtime/drains-cli.js +9 -1
- package/vendor/desk/mcp/src/runtime/drains.js +7 -4
- package/vendor/desk/mcp/src/runtime/hosted.js +5 -3
- package/vendor/desk/mcp/src/runtime/pending-migrations.js +5 -1
- package/vendor/desk/mcp/src/runtime/pr-publication.js +55 -29
- package/vendor/desk/mcp/src/runtime/relays.js +10 -1
- package/vendor/desk/mcp/src/runtime/remote-identity.js +22 -0
- package/vendor/desk/mcp/src/runtime/sessions-cli.js +6 -6
- package/vendor/desk/mcp/src/runtime/sync-worker.js +10 -8
- package/vendor/desk/mcp/src/runtime/unmerged-saves.js +29 -3
- package/vendor/desk/mcp/src/server.js +3 -2
- package/vendor/desk/mcp/src/tool-names.js +0 -2
- package/vendor/desk/mcp/src/tool-schemas.js +3 -8
- package/vendor/desk/mcp/src/tools/archive-links.js +3 -0
- package/vendor/desk/mcp/src/tools/desk-save.js +8 -3
- package/vendor/desk/mcp/src/tools/move.js +32 -3
- package/vendor/desk/mcp/src/tools/sibling-desk.js +10 -4
- package/vendor/desk/mcp/src/tools/status.js +9 -6
- package/vendor/desk/mcp/src/tools/task-log.js +6 -2
- package/vendor/desk/mcp/src/tools/task.js +17 -5
- package/vendor/desk/mcp/src/util/citations.js +54 -0
- package/vendor/desk/mcp/web-auth.cjs +17 -0
- package/vendor/desk/mcp/web-sso.cjs +52 -0
- package/vendor/desk/plugin.json +2 -2
- package/vendor/desk/skills/add-workspace-mcp/SKILL.md +2 -2
- package/vendor/desk/skills/archive-workflow/SKILL.md +1 -1
- package/vendor/desk/skills/coordinating-lanes/SKILL.md +24 -0
- package/vendor/desk/skills/evidence-discipline/SKILL.md +8 -12
- package/vendor/desk/skills/git-hygiene/SKILL.md +6 -0
- package/vendor/desk/skills/interaction-style/SKILL.md +4 -2
- package/vendor/desk/skills/live-ui-iteration/SKILL.md +35 -0
- package/vendor/desk/skills/operator-voice-comments/SKILL.md +4 -0
- package/vendor/desk/skills/outside-approval/SKILL.md +10 -0
- package/vendor/desk/skills/pr-feedback-on-own-pr/SKILL.md +5 -1
- package/vendor/desk/skills/pr-reviewer-audit/SKILL.md +1 -1
- package/vendor/desk/skills/pr-reviewer-audit/helpers/audit.py +19 -1
- package/vendor/desk/skills/pr-reviewer-audit/helpers/test_audit.py +37 -1
- package/vendor/desk/skills/pr-self-review/SKILL.md +1 -1
- package/vendor/desk/skills/pr-surface-hygiene/SKILL.md +28 -4
- package/vendor/desk/skills/pr-surface-hygiene/check-visual-proof.cjs +27 -14
- package/vendor/desk/skills/prior-art/SKILL.md +14 -0
- package/vendor/desk/skills/runtime-symptom-investigation/SKILL.md +5 -1
- package/vendor/desk/skills/session-resumption/SKILL.md +3 -1
- package/vendor/desk/skills/using-desk/SKILL.md +3 -3
- package/vendor/desk/skills/using-superpowers-with-desk/SKILL.md +2 -0
- package/vendor/desk/skills/visual-proof/SKILL.md +42 -0
- package/vendor/desk/skills/work-orchestration/SKILL.md +17 -2
package/changelog.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "Each pull request writes its own change note under changes/; the release job on main gives each landed change its version and adds the notes here (scripts/release-version.cjs). On main this file stops at the last version set by hand; the published package has every release. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.1557",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The Desk built into every agent is now release 3.2.546 (was 3.2.461). It includes Desk's fix for its MCP server's signal handling, so a Desk server told to stop with SIGTERM, SIGINT or SIGHUP now exits instead of spinning on the CPU."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.1556",
|
|
12
|
+
"changes": [
|
|
13
|
+
"`diary_write` no longer drops a new entry because a short old entry shares a few of its words. Its near-duplicate check now divides the words two entries share by all their distinct words (Jaccard). Before, it divided by the smaller entry's words, so a 3-word entry matched any long entry that contained two of its words. When the tool does skip an entry, it now says \"not saved\" and names the earlier entry that already says it, instead of \"saved diary entry (added=0, skipped=1)\"."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.1555",
|
|
6
18
|
"changes": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<Container version="2">
|
|
3
3
|
<Name>ouro-butler</Name>
|
|
4
|
-
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1557</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
package/desk.lock.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"repository": "ourostack/desk",
|
|
3
3
|
"branch": "release",
|
|
4
4
|
"path": "plugins/desk",
|
|
5
|
-
"version": "3.2.
|
|
6
|
-
"commit": "
|
|
7
|
-
"tree": "
|
|
5
|
+
"version": "3.2.546",
|
|
6
|
+
"commit": "18d394d16d503756a4be2ee5e738e08b00cae731",
|
|
7
|
+
"tree": "6e0658946514fc266b8839a345626ac48eae4c94"
|
|
8
8
|
}
|
package/dist/mind/diary.js
CHANGED
|
@@ -86,7 +86,9 @@ function overlapScore(left, right) {
|
|
|
86
86
|
if (rightWords.has(word))
|
|
87
87
|
common++;
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
// Shared words over all distinct words (Jaccard). Dividing by the smaller entry's words instead made any short entry
|
|
90
|
+
// a "duplicate" of every long one that contained two of its three words.
|
|
91
|
+
return common / (leftWords.size + rightWords.size - common);
|
|
90
92
|
}
|
|
91
93
|
function readExistingEntries(factsPath) {
|
|
92
94
|
if (!fs.existsSync(factsPath))
|
|
@@ -160,9 +162,10 @@ function appendEntriesWithDedup(stores, incoming, options) {
|
|
|
160
162
|
const all = [...existing];
|
|
161
163
|
let added = 0;
|
|
162
164
|
let skipped = 0;
|
|
165
|
+
const duplicates = [];
|
|
163
166
|
const semanticThreshold = options?.semanticThreshold;
|
|
164
167
|
for (const fact of cappedIncoming) {
|
|
165
|
-
const duplicate = all.
|
|
168
|
+
const duplicate = all.find((prior) => {
|
|
166
169
|
if (overlapScore(prior.text, fact.text) > DEDUP_THRESHOLD)
|
|
167
170
|
return true;
|
|
168
171
|
if (semanticThreshold !== undefined &&
|
|
@@ -175,6 +178,7 @@ function appendEntriesWithDedup(stores, incoming, options) {
|
|
|
175
178
|
});
|
|
176
179
|
if (duplicate) {
|
|
177
180
|
skipped++;
|
|
181
|
+
duplicates.push({ id: duplicate.id, createdAt: duplicate.createdAt });
|
|
178
182
|
continue;
|
|
179
183
|
}
|
|
180
184
|
all.push(fact);
|
|
@@ -189,7 +193,7 @@ function appendEntriesWithDedup(stores, incoming, options) {
|
|
|
189
193
|
message: "diary write completed",
|
|
190
194
|
meta: { added, skipped },
|
|
191
195
|
});
|
|
192
|
-
return { added, skipped };
|
|
196
|
+
return duplicates.length > 0 ? { added, skipped, duplicates } : { added, skipped };
|
|
193
197
|
}
|
|
194
198
|
async function buildEmbedding(text, embeddingProvider) {
|
|
195
199
|
const provider = embeddingProvider ?? (0, embedding_provider_1.createDefaultEmbeddingProvider)();
|
|
@@ -357,6 +357,10 @@ exports.notesToolDefinitions = [
|
|
|
357
357
|
locator: bundleRelativeLocator(path.join((0, record_paths_1.resolveRecordDiaryRoot)(), "facts.jsonl"), ctx),
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
|
+
const match = result.added === 0 ? result.duplicates?.[0] : undefined;
|
|
361
|
+
if (match) {
|
|
362
|
+
return `not saved: my diary already has this, entry ${match.id} from ${match.createdAt}. Read it with consult_diary; if this entry adds something, write only what is new.`;
|
|
363
|
+
}
|
|
360
364
|
return `saved diary entry (added=${result.added}, skipped=${result.skipped})`;
|
|
361
365
|
},
|
|
362
366
|
summaryKeys: ["entry", "about"],
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1557",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ouro.bot/cli",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.1557",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@ouro.bot/friends"
|
|
12
12
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1557",
|
|
4
4
|
"description": "Ouroboros, the agent harness: agents with durable memory that live where you talk (terminal, Teams, iMessage, mail, voice) and use real tools. Start with npx ouro.bot@latest.",
|
|
5
5
|
"homepage": "https://ouroboros.bot/",
|
|
6
6
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "ourostack/desk",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"commit": "
|
|
5
|
-
"tree": "
|
|
3
|
+
"version": "3.2.546",
|
|
4
|
+
"commit": "18d394d16d503756a4be2ee5e738e08b00cae731",
|
|
5
|
+
"tree": "6e0658946514fc266b8839a345626ac48eae4c94"
|
|
6
6
|
}
|