@ouro.bot/cli 0.1.0-alpha.804 → 0.1.0-alpha.806
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 +14 -0
- package/deploy/unraid/sanctuary.ouro/bundle-meta.json +1 -1
- package/deploy/unraid/sanctuary.xml +1 -1
- package/dist/heart/core.js +14 -11
- package/dist/heart/daemon/cli-defaults.js +22 -4
- package/dist/heart/daemon/cli-exec.js +95 -6
- package/dist/heart/daemon/cli-help.js +6 -0
- package/dist/heart/daemon/cli-parse.js +52 -0
- package/dist/heart/daemon/daemon-bootstrap-startup.js +8 -0
- package/dist/heart/daemon/daemon-entry.js +2 -1
- package/dist/heart/daemon/daemon.js +94 -47
- package/dist/heart/daemon/sense-manager.js +1 -1
- package/dist/heart/frontend-approval-runtime.js +432 -0
- package/dist/heart/frontend-journal.js +215 -0
- package/dist/heart/frontend-session-service.js +237 -0
- package/dist/heart/frontend-socket-client.js +154 -0
- package/dist/heart/frontend-socket.js +400 -0
- package/dist/heart/mail-import-discovery.js +3 -0
- package/dist/heart/turn-context.js +1 -0
- package/dist/heart/turn-execution-lease.js +30 -0
- package/dist/mind/prompt.js +4 -1
- package/dist/repertoire/mcp-manager.js +82 -17
- package/dist/senses/acp-server.js +386 -0
- package/dist/senses/pipeline.js +5 -0
- package/dist/senses/sanctuary-install-state-contract.js +126 -0
- package/dist/senses/shared-turn.js +369 -257
- package/dist/senses/telegram.js +5 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/senses/telegram.js
CHANGED
|
@@ -71,6 +71,7 @@ const config_1 = require("../heart/config");
|
|
|
71
71
|
const telegram_client_1 = require("./telegram-client");
|
|
72
72
|
const sanctuary_runtime_2 = require("./sanctuary-runtime");
|
|
73
73
|
const sanctuary_full_visibility_contract_1 = require("./sanctuary-full-visibility-contract");
|
|
74
|
+
const sanctuary_install_state_contract_1 = require("./sanctuary-install-state-contract");
|
|
74
75
|
const sanctuary_media_catalog_contract_1 = require("./sanctuary-media-catalog-contract");
|
|
75
76
|
const sanctuary_storage_optimization_contract_1 = require("./sanctuary-storage-optimization-contract");
|
|
76
77
|
const sanctuary_grounding_1 = require("./sanctuary-grounding");
|
|
@@ -1108,9 +1109,12 @@ function createTelegramSenseApp(options) {
|
|
|
1108
1109
|
const mediaCatalog = isSanctuaryHouseholdConversation
|
|
1109
1110
|
? (0, sanctuary_media_catalog_contract_1.sanctuaryMediaCatalogRequiredToolCalls)(input.userMessage, relationshipAuthorization.advertisedToolNames)
|
|
1110
1111
|
: undefined;
|
|
1112
|
+
const installState = isSanctuaryOwner
|
|
1113
|
+
? (0, sanctuary_install_state_contract_1.sanctuaryInstallStateRequiredToolCalls)(input.userMessage, relationshipAuthorization.advertisedToolNames)
|
|
1114
|
+
: undefined;
|
|
1111
1115
|
if (input.fullVisibilityProgress && fullVisibility)
|
|
1112
1116
|
input.fullVisibilityProgress.fallback = fullVisibility.emptyResponseFallback;
|
|
1113
|
-
const contracts = [storageOptimization, fullVisibility, staleDockerCare, mediaCatalog].filter(Boolean);
|
|
1117
|
+
const contracts = [storageOptimization, fullVisibility, staleDockerCare, mediaCatalog, installState].filter(Boolean);
|
|
1114
1118
|
const ownedNames = contracts.map((contract) => new Set(contract.names));
|
|
1115
1119
|
const requiredToolCalls = contracts.length === 0 ? undefined : {
|
|
1116
1120
|
names: [...new Set(contracts.flatMap((contract) => [...contract.names]))],
|
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.806",
|
|
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.806",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@azure/identity": "^4.13.0",
|