niahere 0.2.82 → 0.2.83
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/package.json +2 -2
- package/src/chat/engine.ts +4 -0
- package/src/core/runner.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "niahere",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "A personal AI assistant daemon — chat, scheduled jobs, persona system, extensible via skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"license": "MIT",
|
|
45
45
|
"private": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.
|
|
47
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.126",
|
|
48
48
|
"@anthropic-ai/sdk": "^0.88.0",
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
50
50
|
"@slack/bolt": "^4.6.0",
|
package/src/chat/engine.ts
CHANGED
|
@@ -102,6 +102,9 @@ export function formatChatError(rawError: string | null | undefined): string {
|
|
|
102
102
|
if (!error || error.toLowerCase() === "unknown error") {
|
|
103
103
|
return GENERIC_CHAT_ERROR;
|
|
104
104
|
}
|
|
105
|
+
if (error === "oauth_org_not_allowed") {
|
|
106
|
+
return "[error] This Claude account is not allowed to access the configured organization. Check your Claude login or organization access.";
|
|
107
|
+
}
|
|
105
108
|
return `[error] ${error}`;
|
|
106
109
|
}
|
|
107
110
|
|
|
@@ -311,6 +314,7 @@ export async function createChatEngine(opts: EngineOptions): Promise<ChatEngine>
|
|
|
311
314
|
permissionMode: "bypassPermissions",
|
|
312
315
|
includePartialMessages: true,
|
|
313
316
|
settingSources: ["project", "user"],
|
|
317
|
+
skills: [],
|
|
314
318
|
};
|
|
315
319
|
|
|
316
320
|
if (sessionId) {
|