@assistant-ui/react-ink 0.0.11 → 0.0.12

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,4 +1,4 @@
1
- import { FC, ReactNode } from "react";
1
+ import { type FC, type ReactNode } from "react";
2
2
  import type { ThreadHistoryAdapter, AttachmentAdapter, ModelContextProvider } from "@assistant-ui/core";
3
3
  export type RuntimeAdapters = {
4
4
  modelContext?: ModelContextProvider | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"RuntimeAdapterProvider.d.ts","sourceRoot":"","sources":["../../../src/context/providers/RuntimeAdapterProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAChD,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC3C,WAAW,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAIF,yBAAiB,sBAAsB,CAAC;IACtC,KAAY,KAAK,GAAG;QAClB,QAAQ,EAAE,eAAe,CAAC;QAC1B,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;CACH;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,sBAAsB,CAAC,KAAK,CAenE,CAAC;AAEF,eAAO,MAAM,kBAAkB,8BAE9B,CAAC"}
1
+ {"version":3,"file":"RuntimeAdapterProvider.d.ts","sourceRoot":"","sources":["../../../src/context/providers/RuntimeAdapterProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAC3E,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAChD,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC3C,WAAW,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAIF,yBAAiB,sBAAsB,CAAC;IACtC,KAAY,KAAK,GAAG;QAClB,QAAQ,EAAE,eAAe,CAAC;QAC1B,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;CACH;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,sBAAsB,CAAC,KAAK,CAenE,CAAC;AAEF,eAAO,MAAM,kBAAkB,8BAE9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RuntimeAdapterProvider.js","sourceRoot":"","sources":["../../../src/context/providers/RuntimeAdapterProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAiB,UAAU,EAAE,MAAM,OAAO,CAAC;AAajE,MAAM,sBAAsB,GAAG,aAAa,CAAyB,IAAI,CAAC,CAAC;AAS3E,MAAM,CAAC,MAAM,sBAAsB,GAAqC,CAAC,EACvE,QAAQ,EACR,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACnD,OAAO,CACL,KAAC,sBAAsB,CAAC,QAAQ,IAC9B,KAAK,EAAE;YACL,GAAG,OAAO;YACV,GAAG,QAAQ;SACZ,YAEA,QAAQ,GACuB,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"RuntimeAdapterProvider.js","sourceRoot":"","sources":["../../../src/context/providers/RuntimeAdapterProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAA2B,UAAU,EAAE,MAAM,OAAO,CAAC;AAa3E,MAAM,sBAAsB,GAAG,aAAa,CAAyB,IAAI,CAAC,CAAC;AAS3E,MAAM,CAAC,MAAM,sBAAsB,GAAqC,CAAC,EACvE,QAAQ,EACR,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACnD,OAAO,CACL,KAAC,sBAAsB,CAAC,QAAQ,IAC9B,KAAK,EAAE;YACL,GAAG,OAAO;YACV,GAAG,QAAQ;SACZ,YAEA,QAAQ,GACuB,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC5C,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ReactElement } from "react";
1
+ import type { ReactElement } from "react";
2
2
  export type ThreadListItemsProps = {
3
3
  renderItem: (props: {
4
4
  threadId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadListItems.d.ts","sourceRoot":"","sources":["../../../src/primitives/threadList/ThreadListItems.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,YAAY,CAAC;CAC1E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,gBAAgB,oBAAoB,4CAUnE,CAAC"}
1
+ {"version":3,"file":"ThreadListItems.d.ts","sourceRoot":"","sources":["../../../src/primitives/threadList/ThreadListItems.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,YAAY,CAAC;CAC1E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,gBAAgB,oBAAoB,4CAUnE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assistant-ui/react-ink",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "React Ink (terminal UI) bindings for assistant-ui",
5
5
  "keywords": [
6
6
  "assistant",
@@ -32,13 +32,13 @@
32
32
  ],
33
33
  "sideEffects": false,
34
34
  "dependencies": {
35
- "@assistant-ui/core": "^0.1.14",
36
- "@assistant-ui/store": "^0.2.7",
37
- "@assistant-ui/tap": "^0.5.8",
38
- "assistant-stream": "^0.3.11",
35
+ "@assistant-ui/core": "^0.1.15",
36
+ "@assistant-ui/store": "^0.2.8",
37
+ "@assistant-ui/tap": "^0.5.9",
38
+ "assistant-stream": "^0.3.12",
39
39
  "diff": "^9.0.0",
40
40
  "ink-spinner": "^5.0.0",
41
- "parse-diff": "^0.11.1",
41
+ "parse-diff": "^0.12.0",
42
42
  "zustand": "^5.0.12"
43
43
  },
44
44
  "peerDependencies": {
@@ -53,11 +53,11 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/react": "^19.2.14",
56
- "ink": "^7.0.0",
56
+ "ink": "^7.0.1",
57
57
  "ink-testing-library": "^4.0.0",
58
58
  "react": "^19.2.5",
59
- "vitest": "^4.1.4",
60
- "@assistant-ui/x-buildutils": "0.0.5"
59
+ "vitest": "^4.1.5",
60
+ "@assistant-ui/x-buildutils": "0.0.6"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public",
@@ -1,4 +1,4 @@
1
- import { createContext, FC, ReactNode, useContext } from "react";
1
+ import { createContext, type FC, type ReactNode, useContext } from "react";
2
2
  import type {
3
3
  ThreadHistoryAdapter,
4
4
  AttachmentAdapter,
@@ -1,4 +1,4 @@
1
- import { type ReactElement } from "react";
1
+ import type { ReactElement } from "react";
2
2
  import { Box } from "ink";
3
3
  import { useAuiState } from "@assistant-ui/store";
4
4