@ouro.bot/cli 0.1.0-alpha.1091 → 0.1.0-alpha.1092
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
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
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.1092",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The system prompt names Ouroboros's tools instead of repeating each tool's description, which every provider already sends with the tool's schema: about 8.5k fewer tokens on every turn (Teams 20.5k → 11.6k, inner 19.9k → 11.8k, cli 19.6k → 11.5k, measured on the ouroboros bundle)."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.1091",
|
|
6
12
|
"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.1092</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/dist/mind/prompt.js
CHANGED
|
@@ -788,10 +788,9 @@ function toolsSection(channel, options, context) {
|
|
|
788
788
|
const visibleTools = options?.relationshipToolNames
|
|
789
789
|
? activeTools.filter((tool) => options.relationshipToolNames.includes(tool.function.name))
|
|
790
790
|
: activeTools;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
return `## my tools\n${list}`;
|
|
791
|
+
// Every provider sends these tools' full schemas, descriptions included, with the request, so the prompt names them only.
|
|
792
|
+
const list = visibleTools.map((t) => t.function.name).join(", ");
|
|
793
|
+
return `## my tools\n${list}\n(each tool's description and parameters arrive with its schema)`;
|
|
795
794
|
}
|
|
796
795
|
function toolRestrictionSection(context) {
|
|
797
796
|
const lines = [];
|
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.1092",
|
|
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.1092",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@ouro.bot/friends": "0.1.0-alpha.18",
|