veryfront 0.1.1064 → 0.1.1065

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.1064",
3
+ "version": "0.1.1065",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -1 +1 @@
1
- {"version":3,"file":"app-mode-chat.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/chat/chat/app-mode-chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AA2KjD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAY1E;yBAZe,qBAAqB"}
1
+ {"version":3,"file":"app-mode-chat.d.ts","sourceRoot":"","sources":["../../../../../../src/src/react/components/chat/chat/app-mode-chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AA0KjD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAY1E;yBAZe,qBAAqB"}
@@ -32,9 +32,8 @@ function UncontrolledChat({ agentId, api = "/api/ag-ui", initialMessages, onErro
32
32
  // upload endpoint (multipart `file` → `{ url }`) for real users + a project.
33
33
  uploadApi, onAttach: userOnAttach, onDrop: userOnDrop, attachments: userAttachments, onRemoveAttachment: userOnRemoveAttachment, ref, ...rest }) {
34
34
  // Seed + persistence are the library's job, not app code's: `useConversationChat`
35
- // does `useChat` + conversation seeding + the persist bridge internally (the
36
- // §2.3 anti-pattern lifted into a reusable hook). This component stays a dumb
37
- // presenter of the resulting session.
35
+ // does `useChat` + conversation seeding + the persist bridge internally. This
36
+ // component stays a presenter of the resulting session.
38
37
  const { chat, resolvedAgentId } = useConversationChat({
39
38
  api,
40
39
  agentId,
@@ -31,7 +31,7 @@ export interface MessageContextValue {
31
31
  export declare function useMessageContext(): MessageContextValue;
32
32
  /** React hook for message context optional. */
33
33
  export declare function useMessageContextOptional(): MessageContextValue | null;
34
- /** The message's parts as headless data (§K tier-1). */
34
+ /** The message's grouped parts exposed as headless data. */
35
35
  export interface MessagePartsData {
36
36
  /** Parts grouped in render order (text / reasoning / tool / source …). */
37
37
  parts: MessageContextValue["parts"];
@@ -40,9 +40,9 @@ export interface MessagePartsData {
40
40
  }
41
41
  /**
42
42
  * `useMessageParts` — read the current message's parts as data, so a consumer
43
- * can render them however they like (the 4th, headless access point to parts;
44
- * `Message.Part` is the leaf, `Message.Content` the batteries). Throws outside a
45
- * `Message`. See docs/plans/K0-collections-house-rule.md.
43
+ * can render them however they like (the headless access point to parts;
44
+ * `Message.Part` is the leaf and `Message.Content` provides the default
45
+ * rendering). Throws outside a `Message`.
46
46
  */
47
47
  export declare function useMessageParts(): MessagePartsData;
48
48
  /** Render message context provider. */
@@ -1 +1 @@
1
- {"version":3,"file":"message-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/message-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAG1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,mFAAmF;IACnF,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAID,+BAA+B;AAC/B,wBAAgB,iBAAiB,IAAI,mBAAmB,CAQvD;AAED,+CAA+C;AAC/C,wBAAgB,yBAAyB,IAAI,mBAAmB,GAAG,IAAI,CAEtE;AAED,wDAAwD;AACxD,MAAM,WAAW,gBAAgB;IAC/B,0EAA0E;IAC1E,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACpC,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,gBAAgB,CAGlD;AAED,uCAAuC;AACvC,eAAO,MAAM,sBAAsB,KAA0B,CAAC"}
1
+ {"version":3,"file":"message-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/contexts/message-context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAG1B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,mFAAmF;IACnF,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC;AAID,+BAA+B;AAC/B,wBAAgB,iBAAiB,IAAI,mBAAmB,CAQvD;AAED,+CAA+C;AAC/C,wBAAgB,yBAAyB,IAAI,mBAAmB,GAAG,IAAI,CAEtE;AAED,4DAA4D;AAC5D,MAAM,WAAW,gBAAgB;IAC/B,0EAA0E;IAC1E,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACpC,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,gBAAgB,CAGlD;AAED,uCAAuC;AACvC,eAAO,MAAM,sBAAsB,KAA0B,CAAC"}
@@ -25,9 +25,9 @@ export function useMessageContextOptional() {
25
25
  }
26
26
  /**
27
27
  * `useMessageParts` — read the current message's parts as data, so a consumer
28
- * can render them however they like (the 4th, headless access point to parts;
29
- * `Message.Part` is the leaf, `Message.Content` the batteries). Throws outside a
30
- * `Message`. See docs/plans/K0-collections-house-rule.md.
28
+ * can render them however they like (the headless access point to parts;
29
+ * `Message.Part` is the leaf and `Message.Content` provides the default
30
+ * rendering). Throws outside a `Message`.
31
31
  */
32
32
  export function useMessageParts() {
33
33
  const { parts, textContent } = useMessageContext();
@@ -2,9 +2,8 @@ import type { ChatMessage, UseChatResult } from "../../../../../agent/react/inde
2
2
  import type { Conversation } from "../persistence/conversation-store.js";
3
3
  /**
4
4
  * `useConversationChat` — the library primitive that binds a `useChat` session
5
- * to conversation persistence, so **application code never writes the
6
- * persistence `useEffect` itself** (composition-patterns §2.3 "lift state into a
7
- * provider/hook", not "sync state up with an effect").
5
+ * to conversation persistence, so application code does not need to duplicate
6
+ * the persistence effect.
8
7
  *
9
8
  * Inside a `ConversationsProvider` it seeds the session from the active
10
9
  * conversation and saves changes back to the store; standalone, an explicit
@@ -1 +1 @@
1
- {"version":3,"file":"use-conversation-chat.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/hooks/use-conversation-chat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAQtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAMzE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,0BAA0B;IACzC,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,WAAW,EAAE,CAAC;IAChC,8CAA8C;IAC9C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;CACjD;AAED,sDAAsD;AACtD,MAAM,WAAW,yBAAyB;IACxC,iEAAiE;IACjE,IAAI,EAAE,aAAa,CAAC;IACpB,gFAAgF;IAChF,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,+EAA+E;IAC/E,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,qFAAqF;AACrF,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,0BAA+B,GACvC,yBAAyB,CAmL3B"}
1
+ {"version":3,"file":"use-conversation-chat.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/hooks/use-conversation-chat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAQtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAMzE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,0BAA0B;IACzC,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,WAAW,EAAE,CAAC;IAChC,8CAA8C;IAC9C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;CACjD;AAED,sDAAsD;AACtD,MAAM,WAAW,yBAAyB;IACxC,iEAAiE;IACjE,IAAI,EAAE,aAAa,CAAC;IACpB,gFAAgF;IAChF,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,+EAA+E;IAC/E,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,qFAAqF;AACrF,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,0BAA+B,GACvC,yBAAyB,CAmL3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"framework-candidates.generated.d.ts","sourceRoot":"","sources":["../../../../../src/src/server/handlers/dev/framework-candidates.generated.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAguajD,CAAC"}
1
+ {"version":3,"file":"framework-candidates.generated.d.ts","sourceRoot":"","sources":["../../../../../src/src/server/handlers/dev/framework-candidates.generated.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAktajD,CAAC"}
@@ -526,7 +526,6 @@ export const FRAMEWORK_CANDIDATES = [
526
526
  "2.19.93",
527
527
  "2.2914",
528
528
  "2.2914-5.9456",
529
- "2.3",
530
529
  "2.3408",
531
530
  "2.3655-1.9728V11.6a.7664.7664",
532
531
  "2.49",
@@ -664,7 +663,6 @@ export const FRAMEWORK_CANDIDATES = [
664
663
  "4V5a2",
665
664
  "4h.01M21",
666
665
  "4px",
667
- "4th,",
668
666
  "5",
669
667
  "5).",
670
668
  "5.125A3",
@@ -2661,7 +2659,6 @@ export const FRAMEWORK_CANDIDATES = [
2661
2659
  "Java",
2662
2660
  "JavaScript",
2663
2661
  "Joe",
2664
- "K",
2665
2662
  "KB",
2666
2663
  "Keep",
2667
2664
  "KeyboardEvent)",
@@ -3905,7 +3902,6 @@ export const FRAMEWORK_CANDIDATES = [
3905
3902
  "Searchable",
3906
3903
  "Secondary",
3907
3904
  "Section",
3908
- "See",
3909
3905
  "Seed",
3910
3906
  "Select",
3911
3907
  "Select({",
@@ -5164,7 +5160,6 @@ export const FRAMEWORK_CANDIDATES = [
5164
5160
  "answerParts,",
5165
5161
  "anthropic",
5166
5162
  "anthropic:",
5167
- "anti-pattern",
5168
5163
  "any",
5169
5164
  "any)",
5170
5165
  "any.",
@@ -5467,7 +5462,6 @@ export const FRAMEWORK_CANDIDATES = [
5467
5462
  "basic).",
5468
5463
  "batching",
5469
5464
  "batteries",
5470
- "batteries).",
5471
5465
  "batteries-included",
5472
5466
  "batteries-included)",
5473
5467
  "be",
@@ -6318,7 +6312,6 @@ export const FRAMEWORK_CANDIDATES = [
6318
6312
  "composing",
6319
6313
  "composition",
6320
6314
  "composition)",
6321
- "composition-patterns",
6322
6315
  "composition/agent-avatar.tsx",
6323
6316
  "composition/api.tsx",
6324
6317
  "composition/chat-composer.tsx",
@@ -6751,6 +6744,7 @@ export const FRAMEWORK_CANDIDATES = [
6751
6744
  "data-vf-appshell=",
6752
6745
  "data-vf-chat",
6753
6746
  "data-vf-chat=",
6747
+ "data.",
6754
6748
  "data:",
6755
6749
  "data;",
6756
6750
  "dataInvalid,",
@@ -6981,7 +6975,6 @@ export const FRAMEWORK_CANDIDATES = [
6981
6975
  "docks",
6982
6976
  "docs",
6983
6977
  "docs)",
6984
- "docs/plans/K0-collections-house-rule.md.",
6985
6978
  "document",
6986
6979
  "document.",
6987
6980
  "document.activeElement",
@@ -8099,7 +8092,6 @@ export const FRAMEWORK_CANDIDATES = [
8099
8092
  "honours",
8100
8093
  "hook",
8101
8094
  "hook's",
8102
- "hook).",
8103
8095
  "hook,",
8104
8096
  "hook.",
8105
8097
  "hook:",
@@ -8553,7 +8545,6 @@ export const FRAMEWORK_CANDIDATES = [
8553
8545
  "items]);",
8554
8546
  "its",
8555
8547
  "itself",
8556
- "itself**",
8557
8548
  "itself,",
8558
8549
  "itself.",
8559
8550
  "itself:",
@@ -8745,7 +8736,6 @@ export const FRAMEWORK_CANDIDATES = [
8745
8736
  "leading-tight",
8746
8737
  "leads",
8747
8738
  "leaf",
8748
- "leaf,",
8749
8739
  "leaf.",
8750
8740
  "leak",
8751
8741
  "leans",
@@ -8793,7 +8783,6 @@ export const FRAMEWORK_CANDIDATES = [
8793
8783
  "lifecycle",
8794
8784
  "lifecycle.",
8795
8785
  "lifetime.",
8796
- "lift",
8797
8786
  "lifted",
8798
8787
  "light",
8799
8788
  "light-only",
@@ -10542,7 +10531,6 @@ export const FRAMEWORK_CANDIDATES = [
10542
10531
  "provider-grouped",
10543
10532
  "provider.",
10544
10533
  "provider.save",
10545
- "provider/hook",
10546
10534
  "provider/model",
10547
10535
  "provider:",
10548
10536
  "provider:unbound",
@@ -10995,6 +10983,7 @@ export const FRAMEWORK_CANDIDATES = [
10995
10983
  "renderers,",
10996
10984
  "renderers.",
10997
10985
  "rendering",
10986
+ "rendering).",
10998
10987
  "rendering.",
10999
10988
  "renders",
11000
10989
  "renders)",
@@ -11107,7 +11096,6 @@ export const FRAMEWORK_CANDIDATES = [
11107
11096
  "return;",
11108
11097
  "returned",
11109
11098
  "returns",
11110
- "reusable",
11111
11099
  "reuse",
11112
11100
  "reused:",
11113
11101
  "reused;",
@@ -12508,7 +12496,6 @@ export const FRAMEWORK_CANDIDATES = [
12508
12496
  "thumbnails),",
12509
12497
  "tick",
12510
12498
  "tick.",
12511
- "tier-1).",
12512
12499
  "tight",
12513
12500
  "tight.",
12514
12501
  "tightened)",
@@ -13102,7 +13089,6 @@ export const FRAMEWORK_CANDIDATES = [
13102
13089
  "useDropZone(",
13103
13090
  "useDropZone(withFocus(onDrop",
13104
13091
  "useDropZone}.",
13105
- "useEffect",
13106
13092
  "useInlineCitation():",
13107
13093
  "useInlineCitation();",
13108
13094
  "useInlineFileUpload",
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.1064";
2
+ export declare const VERSION = "0.1.1065";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.1064";
4
+ export const VERSION = "0.1.1065";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.1064",
3
+ "version": "0.1.1065",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",
@@ -328,10 +328,10 @@
328
328
  "@types/react": "19.2.14",
329
329
  "@types/react-dom": "19.2.3",
330
330
  "ws": "8.21.0",
331
- "@veryfront/ext-bundler-esbuild": "0.1.1064",
332
- "@veryfront/ext-content-mdx": "0.1.1064",
333
- "@veryfront/ext-css-tailwind": "0.1.1064",
334
- "@veryfront/ext-parser-babel": "0.1.1064"
331
+ "@veryfront/ext-bundler-esbuild": "0.1.1065",
332
+ "@veryfront/ext-content-mdx": "0.1.1065",
333
+ "@veryfront/ext-css-tailwind": "0.1.1065",
334
+ "@veryfront/ext-parser-babel": "0.1.1065"
335
335
  },
336
336
  "devDependencies": {
337
337
  "@types/node": "20.9.0"