@runmedev/react-components 3.14.4 → 3.15.0

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.
@@ -1 +1 @@
1
- {"root":["../src/app.tsx","../src/index.tsx","../src/layout.tsx","../src/main.tsx","../src/token.tsx","../src/vite-env.d.ts","../src/components/notfound.tsx","../src/components/topnavigation.tsx","../src/components/index.tsx","../src/components/actions/actions.tsx","../src/components/actions/editor.tsx","../src/components/actions/icons.tsx","../src/components/chat/chat.tsx","../src/components/files/viewer.tsx","../src/components/login/login.tsx","../src/components/settings/settings.tsx","../src/contexts/agentcontext.tsx","../src/contexts/blockcontext.tsx","../src/contexts/settingscontext.tsx","../src/contexts/index.tsx"],"version":"5.8.3"}
1
+ {"root":["../src/app.tsx","../src/index.tsx","../src/layout.tsx","../src/main.tsx","../src/token.tsx","../src/vite-env.d.ts","../src/components/notfound.tsx","../src/components/topnavigation.tsx","../src/components/index.tsx","../src/components/actions/actions.tsx","../src/components/actions/editor.tsx","../src/components/actions/icons.tsx","../src/components/chat/chat.tsx","../src/components/files/viewer.tsx","../src/components/login/login.tsx","../src/components/settings/settings.tsx","../src/contexts/agentcontext.tsx","../src/contexts/cellcontext.tsx","../src/contexts/settingscontext.tsx","../src/contexts/index.tsx"],"version":"5.8.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runmedev/react-components",
3
- "version": "3.14.4",
3
+ "version": "3.15.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,26 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { Block, BlockKind, BlockOutputKind, BlockRole } from '@buf/stateful_runme.bufbuild_es/agent/v1/blocks_pb';
3
- type BlockContextType = {
4
- useColumns: () => {
5
- chat: Block[];
6
- actions: Block[];
7
- files: Block[];
8
- };
9
- sequence: number;
10
- incrementSequence: () => void;
11
- sendOutputBlock: (outputBlock: Block) => Promise<void>;
12
- createOutputBlock: (inputBlock: Block) => Block;
13
- sendUserBlock: (text: string) => Promise<void>;
14
- addCodeBlock: () => void;
15
- isInputDisabled: boolean;
16
- isTyping: boolean;
17
- runCodeBlock: (block: Block) => void;
18
- resetSession: () => void;
19
- };
20
- export declare const useBlock: () => BlockContextType;
21
- export declare const BlockProvider: ({ children }: {
22
- children: ReactNode;
23
- }) => import("react/jsx-runtime").JSX.Element;
24
- declare const TypingBlock: Block;
25
- export { type Block, BlockRole, BlockKind, BlockOutputKind, TypingBlock };
26
- //# sourceMappingURL=BlockContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BlockContext.d.ts","sourceRoot":"","sources":["../../src/contexts/BlockContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAMV,MAAM,OAAO,CAAA;AAEd,OAAO,EACL,KAAK,EACL,SAAS,EAET,eAAe,EAEf,SAAS,EAIV,MAAM,oDAAoD,CAAA;AAQ3D,KAAK,gBAAgB,GAAG;IAEtB,UAAU,EAAE,MAAM;QAChB,IAAI,EAAE,KAAK,EAAE,CAAA;QACb,OAAO,EAAE,KAAK,EAAE,CAAA;QAChB,KAAK,EAAE,KAAK,EAAE,CAAA;KACf,CAAA;IAGD,QAAQ,EAAE,MAAM,CAAA;IAEhB,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAI7B,eAAe,EAAE,CAAC,WAAW,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD,iBAAiB,EAAE,CAAC,UAAU,EAAE,KAAK,KAAK,KAAK,CAAA;IAC/C,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9C,YAAY,EAAE,MAAM,IAAI,CAAA;IAExB,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;IAEjB,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAEpC,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB,CAAA;AAKD,eAAO,MAAM,QAAQ,wBAMpB,CAAA;AAOD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CA0NlE,CAAA;AAED,QAAA,MAAM,WAAW,OAIf,CAAA;AAEF,OAAO,EAAE,KAAK,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}