@ubiquity-os/plugin-sdk 3.5.5 → 3.6.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.
@@ -97,6 +97,8 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
97
97
  [K in TSupportedEvents]: K extends EmitterWebhookEventName ? EmitterWebhookEvent<K> : never;
98
98
  }[TSupportedEvents]["payload"];
99
99
  command: TCommand | null;
100
+ authToken: string;
101
+ ubiquityKernelToken?: string;
100
102
  octokit: InstanceType<typeof customOctokit>;
101
103
  config: TConfig;
102
104
  env: TEnv;
@@ -97,6 +97,8 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
97
97
  [K in TSupportedEvents]: K extends EmitterWebhookEventName ? EmitterWebhookEvent<K> : never;
98
98
  }[TSupportedEvents]["payload"];
99
99
  command: TCommand | null;
100
+ authToken: string;
101
+ ubiquityKernelToken?: string;
100
102
  octokit: InstanceType<typeof customOctokit>;
101
103
  config: TConfig;
102
104
  env: TEnv;
package/dist/index.d.mts CHANGED
@@ -1,18 +1,21 @@
1
1
  import { EmitterWebhookEventName } from '@octokit/webhooks';
2
- import { C as Context } from './context-3Ck9sBZI.mjs';
3
- export { a as CommentHandler } from './context-3Ck9sBZI.mjs';
2
+ import { C as Context } from './context-sqbr2o6i.mjs';
3
+ export { a as CommentHandler } from './context-sqbr2o6i.mjs';
4
4
  import { TSchema, TAnySchema } from '@sinclair/typebox';
5
5
  import { LogLevel } from '@ubiquity-os/ubiquity-os-logger';
6
6
  import * as hono_types from 'hono/types';
7
7
  import { Hono } from 'hono';
8
8
  import { Manifest } from './manifest.mjs';
9
+ export { callLlm } from './llm.mjs';
9
10
  import '@octokit/plugin-rest-endpoint-methods';
10
11
  import './octokit.mjs';
11
12
  import '@octokit/core/types';
12
13
  import '@octokit/plugin-paginate-graphql';
13
14
  import '@octokit/plugin-paginate-rest';
14
- import '@octokit/webhooks/node_modules/@octokit/request-error';
15
+ import '@octokit/request-error';
15
16
  import '@octokit/core';
17
+ import './signature.mjs';
18
+ import 'openai/resources/chat/completions';
16
19
 
17
20
  type Return = Record<string, unknown> | undefined | void;
18
21
  type HandlerReturn = Promise<Return> | Return;
package/dist/index.d.ts CHANGED
@@ -1,18 +1,21 @@
1
1
  import { EmitterWebhookEventName } from '@octokit/webhooks';
2
- import { C as Context } from './context-DOUnUNNN.js';
3
- export { a as CommentHandler } from './context-DOUnUNNN.js';
2
+ import { C as Context } from './context-BbEmsEct.js';
3
+ export { a as CommentHandler } from './context-BbEmsEct.js';
4
4
  import { TSchema, TAnySchema } from '@sinclair/typebox';
5
5
  import { LogLevel } from '@ubiquity-os/ubiquity-os-logger';
6
6
  import * as hono_types from 'hono/types';
7
7
  import { Hono } from 'hono';
8
8
  import { Manifest } from './manifest.js';
9
+ export { callLlm } from './llm.js';
9
10
  import '@octokit/plugin-rest-endpoint-methods';
10
11
  import './octokit.js';
11
12
  import '@octokit/core/types';
12
13
  import '@octokit/plugin-paginate-graphql';
13
14
  import '@octokit/plugin-paginate-rest';
14
- import '@octokit/webhooks/node_modules/@octokit/request-error';
15
+ import '@octokit/request-error';
15
16
  import '@octokit/core';
17
+ import './signature.js';
18
+ import 'openai/resources/chat/completions';
16
19
 
17
20
  type Return = Record<string, unknown> | undefined | void;
18
21
  type HandlerReturn = Promise<Return> | Return;