@ouro.bot/cli 0.1.0-alpha.1352 → 0.1.0-alpha.1354
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/dist/repertoire/skill-summaries.js +19 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/skills/agent-commerce.md +3 -0
- package/skills/browser-navigation.md +3 -0
- package/skills/commerce-setup.md +3 -0
- package/skills/travel-planning.md +3 -0
package/changelog.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.1354",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Skills can list the tools they use in a frontmatter tools: line; the commerce, travel, commerce-setup and browser skills now do."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.1353",
|
|
12
|
+
"changes": [
|
|
13
|
+
"Update the Ouro UI files to Ouro UI v1.3.448."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.1352",
|
|
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.1354</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -34,6 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.whenLine = whenLine;
|
|
37
|
+
exports.declaredTools = declaredTools;
|
|
37
38
|
exports.skillWhenLines = skillWhenLines;
|
|
38
39
|
const fs = __importStar(require("fs"));
|
|
39
40
|
const path = __importStar(require("path"));
|
|
@@ -60,6 +61,24 @@ function whenLine(markdown) {
|
|
|
60
61
|
const line = body.map((l) => l.trim()).find((l) => /^(i |we )?use (this|it|me) when\b|^use when\b/i.test(l));
|
|
61
62
|
return line ? clip(line) : null;
|
|
62
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* The in-turn tools a skill says it uses: a frontmatter `tools:` line, as `[a, b]` or `a, b`. Loading the skill
|
|
66
|
+
* loads these tools too, so following its steps needs no search first. A name the turn can't offer is ignored there.
|
|
67
|
+
*/
|
|
68
|
+
function declaredTools(markdown) {
|
|
69
|
+
const lines = markdown.split(/\r?\n/);
|
|
70
|
+
if (lines[0]?.trim() !== "---")
|
|
71
|
+
return [];
|
|
72
|
+
const end = lines.indexOf("---", 1);
|
|
73
|
+
if (end < 0)
|
|
74
|
+
return [];
|
|
75
|
+
const line = lines.slice(1, end).find((entry) => /^tools:/i.test(entry));
|
|
76
|
+
if (!line)
|
|
77
|
+
return [];
|
|
78
|
+
const names = line.replace(/^tools:\s*/i, "").replace(/^\[|\]$/g, "").split(",")
|
|
79
|
+
.map((name) => name.trim().replace(/^["']|["']$/g, "")).filter(Boolean);
|
|
80
|
+
return [...new Set(names)];
|
|
81
|
+
}
|
|
63
82
|
function clip(text) {
|
|
64
83
|
const sentence = text.trim().match(/^.*?[.!?](?=\s|$)/)?.[0] ?? text.trim();
|
|
65
84
|
return sentence.length > MAX_WHEN_LENGTH ? `${sentence.slice(0, MAX_WHEN_LENGTH - 1)}…` : sentence;
|
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.1354",
|
|
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.1354",
|
|
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.1354",
|
|
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": {
|
package/skills/agent-commerce.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
tools: [user_profile_get, user_profile_store, stripe_list_cards, stripe_create_card, stripe_deactivate_card, commerce_checkout_preview, commerce_checkout_commit, commerce_receipt_get, flight_search, flight_hold, flight_book, flight_cancel]
|
|
3
|
+
---
|
|
1
4
|
# Agent Commerce Skill
|
|
2
5
|
|
|
3
6
|
How to book, purchase, and pay for things on behalf of humans.
|
package/skills/commerce-setup.md
CHANGED