@buoy-gg/ask-buoy 7.0.78 → 7.0.79
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/lib/commonjs/blocks/ExtraBlocks.js +1 -1
- package/lib/commonjs/blocks/choiceLogic.js +1 -0
- package/lib/commonjs/blocks/choiceLogic.test.js +1 -0
- package/lib/commonjs/components/AskBuoyModal.js +1 -1
- package/lib/commonjs/components/EmptyState.js +1 -1
- package/lib/commonjs/components/sheetText.test.js +1 -0
- package/lib/commonjs/store/askBuoyStore.js +2 -2
- package/lib/commonjs/store/transcriptPersistence.js +1 -1
- package/lib/commonjs/store/transcriptPersistence.test.js +1 -1
- package/lib/commonjs/store/useAskBuoy.js +1 -1
- package/lib/module/blocks/ExtraBlocks.js +1 -1
- package/lib/module/blocks/choiceLogic.js +1 -0
- package/lib/module/blocks/choiceLogic.test.js +1 -0
- package/lib/module/components/AskBuoyModal.js +1 -1
- package/lib/module/components/EmptyState.js +1 -1
- package/lib/module/components/sheetText.test.js +1 -0
- package/lib/module/store/askBuoyStore.js +1 -1
- package/lib/module/store/transcriptPersistence.js +1 -1
- package/lib/module/store/transcriptPersistence.test.js +1 -1
- package/lib/module/store/useAskBuoy.js +1 -1
- package/lib/typescript/blocks/choiceLogic.d.ts +41 -0
- package/lib/typescript/blocks/choiceLogic.test.d.ts +2 -0
- package/lib/typescript/components/sheetText.test.d.ts +2 -0
- package/lib/typescript/store/askBuoyStore.d.ts +6 -0
- package/lib/typescript/store/transcriptPersistence.d.ts +14 -0
- package/lib/typescript/sync/wire.d.ts +8 -6
- package/lib/web/index.mjs +11 -11
- package/package.json +7 -7
- package/lib/commonjs/blocks/AskBlocks.test.js +0 -1
- package/lib/commonjs/components/Composer.test.js +0 -1
- package/lib/commonjs/components/EmptyState.test.js +0 -1
- package/lib/module/blocks/AskBlocks.test.js +0 -1
- package/lib/module/components/Composer.test.js +0 -1
- package/lib/module/components/EmptyState.test.js +0 -1
- package/lib/typescript/blocks/AskBlocks.test.d.ts +0 -2
- package/lib/typescript/components/Composer.test.d.ts +0 -2
- package/lib/typescript/components/EmptyState.test.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/ask-buoy",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.79",
|
|
4
4
|
"description": "In-app AI chat for supported Buoy inspection and action tools, using a configured model endpoint.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"buoy"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@buoy-gg/agent-core": "^7.0.
|
|
29
|
-
"@buoy-gg/
|
|
30
|
-
"@buoy-gg/
|
|
28
|
+
"@buoy-gg/agent-core": "^7.0.79",
|
|
29
|
+
"@buoy-gg/shared-ui": "^7.0.79",
|
|
30
|
+
"@buoy-gg/floating-tools-core": "^7.0.79"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@buoy-gg/license": "7.0.
|
|
33
|
+
"@buoy-gg/license": "7.0.79",
|
|
34
34
|
"react": "*"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@types/react": "^19.1.0",
|
|
52
52
|
"@types/react-native": "^0.73.0",
|
|
53
53
|
"typescript": "~5.8.3",
|
|
54
|
-
"@buoy-gg/license": "^7.0.
|
|
55
|
-
"@buoy-gg/core": "^7.0.
|
|
54
|
+
"@buoy-gg/license": "^7.0.79",
|
|
55
|
+
"@buoy-gg/core": "^7.0.79"
|
|
56
56
|
},
|
|
57
57
|
"react-native-builder-bob": {
|
|
58
58
|
"source": "src",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _react=require("react");var _server=require("react-dom/server");var _vitest=require("vitest");var _AskBlocks=require("./AskBlocks");const question="If you want the value of `e2e-after-local`, ask and I'll read it.";const block={id:"ask-1",kind:"choice",question,options:[{id:"yes",label:"Yes, go ahead"},{id:"no",label:"No thanks"}]};(0,_vitest.it)("shows the question on a card the model wrote",()=>{(0,_vitest.expect)((0,_server.renderToStaticMarkup)((0,_react.createElement)(_AskBlocks.Choice,{block}))).toContain("e2e-after-local")});(0,_vitest.it)("leaves it out when the answer above already says it",()=>{const e=(0,_server.renderToStaticMarkup)((0,_react.createElement)(_AskBlocks.Choice,{block:{...block,questionInAnswer:true}}));(0,_vitest.expect)(e).not.toContain("e2e-after-local");(0,_vitest.expect)(e).toContain("Yes, go ahead")});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _react=require("react");var _server=require("react-dom/server");var _vitest=require("vitest");var _Composer=require("./Composer");_vitest.vi.mock("react-native",async e=>({...await e(),TextInput:t=>(0,_react.createElement)("textarea",{"aria-label":t.accessibilityLabel,"data-testid":t.testID})}));(0,_vitest.it)("labels the text box",()=>{const e=(0,_server.renderToStaticMarkup)((0,_react.createElement)(_Composer.Composer,{onSend:()=>{},onStop:()=>{},busy:false}));(0,_vitest.expect)(e).toContain('aria-label="Message for Ask Buoy"')});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _react=require("react");var _server=require("react-dom/server");var _vitest=require("vitest");var _EmptyState=require("./EmptyState");(0,_vitest.it)("names the setting, not a React component",()=>{const e=(0,_server.renderToStaticMarkup)((0,_react.createElement)(_EmptyState.EmptyState,{configured:false,onPick:()=>{}}));(0,_vitest.expect)(e).toContain("askBuoy");(0,_vitest.expect)(e).not.toContain("FloatingDevTools")});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{createElement as t}from"react";import{renderToStaticMarkup as a}from"react-dom/server";import{expect as e,it as n}from"vitest";import{Choice as i}from"./AskBlocks";const s="If you want the value of `e2e-after-local`, ask and I'll read it.";const r={id:"ask-1",kind:"choice",question:s,options:[{id:"yes",label:"Yes, go ahead"},{id:"no",label:"No thanks"}]};n("shows the question on a card the model wrote",()=>{e(a(t(i,{block:r}))).toContain("e2e-after-local")});n("leaves it out when the answer above already says it",()=>{const o=a(t(i,{block:{...r,questionInAnswer:true}}));e(o).not.toContain("e2e-after-local");e(o).toContain("Yes, go ahead")});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{createElement as a}from"react";import{renderToStaticMarkup as o}from"react-dom/server";import{expect as r,it as i,vi as s}from"vitest";s.mock("react-native",async t=>({...await t(),TextInput:e=>a("textarea",{"aria-label":e.accessibilityLabel,"data-testid":e.testID})}));import{Composer as m}from"./Composer";i("labels the text box",()=>{const t=o(a(m,{onSend:()=>{},onStop:()=>{},busy:false}));r(t).toContain('aria-label="Message for Ask Buoy"')});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{createElement as e}from"react";import{renderToStaticMarkup as n}from"react-dom/server";import{expect as o,it as r}from"vitest";import{EmptyState as i}from"./EmptyState";r("names the setting, not a React component",()=>{const t=n(e(i,{configured:false,onPick:()=>{}}));o(t).toContain("askBuoy");o(t).not.toContain("FloatingDevTools")});
|