@khirby/plugin-ai-compose 1.3.0 → 1.3.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khirby/plugin-ai-compose",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Khirby — AI-powered reply draft suggestions (BYOK, OpenAI-compatible)",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [
@@ -2,4 +2,4 @@ export {
2
2
  decrypt,
3
3
  encrypt,
4
4
  isInstanceSecretsKeyConfigured as isAiComposeSecretsKeyConfigured,
5
- } from '../../../packages/plugin-host/src/instance-secrets';
5
+ } from '@khirby/plugin-host';
@@ -6,7 +6,7 @@ import {
6
6
  RequireAnyPermission,
7
7
  RequirePluginEnabled,
8
8
  PluginEnabledGuard,
9
- } from '../../../packages/plugin-host/src';
9
+ } from '@khirby/plugin-host';
10
10
  import { AiComposeSuggestService, type NewsletterContentType } from './ai-compose-suggest.service';
11
11
  import { AI_COMPOSE_PLUGIN_NAME } from './ai-compose-settings.service';
12
12
 
@@ -3,7 +3,7 @@ import {
3
3
  AppException,
4
4
  isReasoningEffort,
5
5
  type AiComposeLlmLike,
6
- } from '../../../packages/plugin-host/src';
6
+ } from '@khirby/plugin-host';
7
7
  import { AiComposeSettingsService } from './ai-compose-settings.service';
8
8
  import { AiComposeSuggestService } from './ai-compose-suggest.service';
9
9
 
@@ -6,7 +6,7 @@ import {
6
6
  RequirePermission,
7
7
  RequirePluginEnabled,
8
8
  PluginEnabledGuard,
9
- } from '../../../packages/plugin-host/src';
9
+ } from '@khirby/plugin-host';
10
10
  import { AiComposeSettingsService } from './ai-compose-settings.service';
11
11
  import { AiComposeSuggestService } from './ai-compose-suggest.service';
12
12
  import { AI_COMPOSE_PLUGIN_NAME } from './ai-compose-settings.service';
@@ -8,7 +8,7 @@ import {
8
8
  AppException,
9
9
  isReasoningEffort,
10
10
  type ReasoningEffort,
11
- } from '../../../packages/plugin-host/src';
11
+ } from '@khirby/plugin-host';
12
12
  import { aiComposeSettings } from './schema';
13
13
  import { encrypt, decrypt, isAiComposeSecretsKeyConfigured } from './ai-compose-crypto';
14
14
 
@@ -6,7 +6,7 @@ import {
6
6
  RequireAnyPermission,
7
7
  RequirePluginEnabled,
8
8
  PluginEnabledGuard,
9
- } from '../../../packages/plugin-host/src';
9
+ } from '@khirby/plugin-host';
10
10
  import { AiComposeSuggestService } from './ai-compose-suggest.service';
11
11
  import { AI_COMPOSE_PLUGIN_NAME } from './ai-compose-settings.service';
12
12
 
@@ -11,7 +11,7 @@ import {
11
11
  isReasoningEffort,
12
12
  parseModelReasoningSupport,
13
13
  resolveLoadedProvider,
14
- } from '../../../packages/plugin-host/src';
14
+ } from '@khirby/plugin-host';
15
15
  import { AiComposeSettingsService } from './ai-compose-settings.service';
16
16
 
17
17
  const CHAR_BUDGET = 14_000;
@@ -1,5 +1,5 @@
1
1
  import { Global, Module } from '@nestjs/common';
2
- import { AI_COMPOSE_LLM } from '../../../packages/plugin-host/src';
2
+ import { AI_COMPOSE_LLM } from '@khirby/plugin-host';
3
3
  import { AiComposeSettingsService } from './ai-compose-settings.service';
4
4
  import { AiComposeSuggestService } from './ai-compose-suggest.service';
5
5
  import { AiComposeLlmService } from './ai-compose-llm.service';
@@ -5,7 +5,7 @@ import {
5
5
  AiComposeSuggestService,
6
6
  stripCodeFences,
7
7
  } from './ai-compose-suggest.service';
8
- import { AppException } from '../../../packages/plugin-host/src';
8
+ import { AppException } from '@khirby/plugin-host';
9
9
 
10
10
  // ──────────────────────────────────────────────────────────────────────────────
11
11
  // Crypto round-trip