@agimon-ai/po-web-components 0.0.0-alpha.29 → 0.0.0-alpha.30

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.
Files changed (38) hide show
  1. package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts +2 -2
  2. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/compat.d.mts +1 -1
  3. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/compat.d.mts.map +1 -1
  4. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/errors.d.mts +1 -1
  5. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/errors.d.mts.map +1 -1
  6. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/parse.d.mts +1 -1
  7. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/parse.d.mts.map +1 -1
  8. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/schemas.d.mts +1 -1
  9. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/schemas.d.mts.map +1 -1
  10. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/api.d.mts +1 -1
  11. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/api.d.mts.map +1 -1
  12. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/checks.d.mts +1 -1
  13. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/checks.d.mts.map +1 -1
  14. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/core.d.mts +1 -1
  15. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/core.d.mts.map +1 -1
  16. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/errors.d.mts +1 -1
  17. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/errors.d.mts.map +1 -1
  18. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/json-schema.d.mts +1 -1
  19. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/json-schema.d.mts.map +1 -1
  20. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/registries.d.mts +1 -1
  21. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/registries.d.mts.map +1 -1
  22. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/schemas.d.mts +1 -1
  23. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/schemas.d.mts.map +1 -1
  24. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/standard-schema.d.mts +1 -1
  25. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/standard-schema.d.mts.map +1 -1
  26. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/to-json-schema.d.mts +1 -1
  27. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/to-json-schema.d.mts.map +1 -1
  28. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/util.d.mts +1 -1
  29. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/util.d.mts.map +1 -1
  30. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/versions.d.mts +1 -1
  31. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/versions.d.mts.map +1 -1
  32. package/dist/packages/core/po-web-components/src/components/MessageItem.d.mts +2 -1
  33. package/dist/packages/core/po-web-components/src/components/MessageItem.d.mts.map +1 -1
  34. package/dist/packages/core/po-web-components/src/components/MessageItem.mjs +1 -1
  35. package/dist/packages/core/po-web-components/src/components/MessageItem.mjs.map +1 -1
  36. package/dist/src/components/MessageItem.cjs +1 -1
  37. package/dist/src/components/MessageItem.cjs.map +1 -1
  38. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
- import { infer as output } from "../../../../../zod@4.6.6/node_modules/zod/v4/core/core.mjs";
2
- import { ZodTypeAny } from "../../../../../zod@4.6.6/node_modules/zod/v4/classic/compat.mjs";
1
+ import { infer as output } from "../../../../../zod@4.6.7/node_modules/zod/v4/core/core.mjs";
2
+ import { ZodTypeAny } from "../../../../../zod@4.6.7/node_modules/zod/v4/classic/compat.mjs";
3
3
  import { CallToolResultSchema } from "@modelcontextprotocol/core/internal";
4
4
  //#region ../../../node_modules/.pnpm/@modelcontextprotocol+server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts
5
5
  type Primitive = string | number | boolean | bigint | null | undefined;
@@ -1,7 +1,7 @@
1
1
  import { $ZodTypeInternals } from "../core/schemas.mjs";
2
2
  import { $brand } from "../core/core.mjs";
3
3
  import { ZodType } from "./schemas.mjs";
4
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.cts
4
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/compat.d.cts
5
5
  /** @deprecated Use z.ZodType (without generics) instead. */
6
6
  export type ZodTypeAny<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
7
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"compat.d.mts","names":["core.$ZodTypeInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.cts"],"ignoreList":[0],"mappings":";;;;;YAsCY,WAAW,kBAAkB,iBAAiB,kBAAkBA,kBAAuB,QAAQ,SAASA,kBAAuB,QAAQ,UAAU,QAAQ,QAAQ,OAAO"}
1
+ {"version":3,"file":"compat.d.mts","names":["core.$ZodTypeInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/compat.d.cts"],"ignoreList":[0],"mappings":";;;;;YAsCY,WAAW,kBAAkB,iBAAiB,kBAAkBA,kBAAuB,QAAQ,SAASA,kBAAuB,QAAQ,UAAU,QAAQ,QAAQ,OAAO"}
@@ -1,6 +1,6 @@
1
1
  import { $ZodError, $ZodFlattenedError, $ZodFormattedError, $ZodIssue } from "../core/errors.mjs";
2
2
  import { $constructor } from "../core/core.mjs";
3
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.cts
3
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/errors.d.cts
4
4
  /** An Error-like class used to store Zod validation issues. */
5
5
  export interface ZodError<T = unknown> extends $ZodError<T> {
6
6
  /** @deprecated Use the `z.treeifyError(err)` function instead. */
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.mts","names":["core.$ZodFormattedError","core.$ZodIssue","core.$ZodFlattenedError","core.$constructor"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.cts"],"ignoreList":[0],"mappings":";;;;iBAKiB,SAAS,qBAAqB,UAAU;;EAErD,UAAUA,mBAAwB;EAClC,OAAO,GAAG,SAAS,OAAOC,cAAmB,IAAID,mBAAwB,GAAG;;EAE5E,WAAWE,mBAAwB;EACnC,QAAQ,GAAG,SAAS,OAAOD,cAAmB,IAAIC,mBAAwB,GAAG;;EAE7E,SAAS,OAAOD;;EAEhB,UAAU,QAAQA;;EAElB;;qBAEiB,UAAUE,aAAkB"}
1
+ {"version":3,"file":"errors.d.mts","names":["core.$ZodFormattedError","core.$ZodIssue","core.$ZodFlattenedError","core.$constructor"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/errors.d.cts"],"ignoreList":[0],"mappings":";;;;iBAKiB,SAAS,qBAAqB,UAAU;;EAErD,UAAUA,mBAAwB;EAClC,OAAO,GAAG,SAAS,OAAOC,cAAmB,IAAID,mBAAwB,GAAG;;EAE5E,WAAWE,mBAAwB;EACnC,QAAQ,GAAG,SAAS,OAAOD,cAAmB,IAAIC,mBAAwB,GAAG;;EAE7E,SAAS,OAAOD;;EAEhB,UAAU,QAAQA;;EAElB;;qBAEiB,UAAUE,aAAkB"}
@@ -1,5 +1,5 @@
1
1
  import { ZodError } from "./errors.mjs";
2
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.cts
2
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/parse.d.cts
3
3
  export type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
4
4
  export type ZodSafeParseSuccess<T> = {
5
5
  success: true;
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.cts"],"ignoreList":[0],"mappings":";;YAEY,mBAAmB,KAAK,oBAAoB,KAAK,kBAAkB;YACnE,oBAAoB;EAC5B;EACA,MAAM;EACN;;YAEQ,kBAAkB;EAC1B;EACA;EACA,OAAO,SAAS"}
1
+ {"version":3,"file":"parse.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/parse.d.cts"],"ignoreList":[0],"mappings":";;YAEY,mBAAmB,KAAK,oBAAoB,KAAK,kBAAkB;YACnE,oBAAoB;EAC5B;EACA,MAAM;EACN;;YAEQ,kBAAkB;EAC1B;EACA;EACA,OAAO,SAAS"}
@@ -8,7 +8,7 @@ import { $ZodIssue } from "../core/errors.mjs";
8
8
  import { $ZodBranded, $constructor, infer as output, input } from "../core/core.mjs";
9
9
  import { $RefinementCtx, $ZodCheckLengthEqualsParams, $ZodCheckMaxLengthParams, $ZodCheckMinLengthParams, $ZodCustomParams, $ZodNonOptionalParams, $ZodSuperRefineParams } from "../core/api.mjs";
10
10
  import { ZodSafeParseResult } from "./parse.mjs";
11
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.cts
11
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.d.cts
12
12
  export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
13
13
  export interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
14
14
  def: Internals["def"];
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.mts","names":["core.input","core.output","core.$ZodTypeInternals","core.ToJSONSchemaParams","core.ZodStandardJSONSchemaPayload","core.CheckFn","core.$ZodCheck","core.$ZodRegistry","core.$replace","core.$ZodBranded","core.$ZodIssue","core.ParseContext","parse.ZodSafeParseResult","core.$ZodCustomParams","core.$RefinementCtx","core.$ZodSuperRefineParams","core.$ZodNonOptionalParams","util.NoUndefined","core.SomeType","core.$ZodCatchCtx","core.$ZodType","core.GlobalMeta","core.$constructor","core.$ZodArrayInternals","core.$ZodCheckMinLengthParams","core.$ZodCheckMaxLengthParams","core.$ZodCheckLengthEqualsParams","core.$ZodArray","core.$ZodUnionInternals","core.$ZodUnion","core.$ZodIntersectionInternals","core.$ZodIntersection","core.$ZodTransformInternals","core.$ZodTransform","core.$ZodOptionalInternals","core.$ZodOptional","core.$ZodExactOptionalInternals","core.$ZodExactOptional","core.$ZodNullableInternals","core.$ZodNullable","core.$ZodDefaultInternals","core.$ZodDefault","core.$ZodPrefaultInternals","core.$ZodPrefault","core.$ZodNonOptionalInternals","core.$ZodNonOptional","core.$ZodCatchInternals","core.$ZodCatch","core.$ZodPipeInternals","core.$ZodPipe","core.$ZodReadonlyInternals","core.$ZodReadonly"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.cts"],"ignoreList":[0],"mappings":";;;;;;;;;;;YAKY,0BAA0B,KAAK,4BAA4BA,MAAW,IAAIC,OAAY;iBACjF,YAAY,sBAAsB,qBAAqB,kBAAkBC,kBAAuB,QAAQ,SAASA,kBAAuB,QAAQ,gBAAgBkB,SAAc,QAAQ,OAAO;EAC1M,KAAK;EACL,MAAM;;EAEN,MAAM;;EAEN,SAAS;;EAET,QAAQ;EACR,aAAa;;EAEb,aAAa,SAASjB,qBAA0BC;EAChD,SAAS,SAASC,QAAaJ,gBAAqBK,UAAeL;EACnE,QAAQ,SAASI,QAAaJ,gBAAqBK,UAAeL;EAClE,MAAM,MAAM,kBAAkB;IAC1B;;EAEJ,SAAS,UAAUM,cAAmB,UAAU,MAAM,mBAAmB,iCAAiC,cAAcC,SAAc,uBAAuBA,SAAc;EAC3K,MAAM,UAAU,cAAc,aAAa,4CAA4C,QAAQ,IAAI,oBAAoB,WAAWC,kBAAuB,GAAG;EAC5J,MAAM,eAAe,SAASE,aAAkBD,aAAkBT;EAClE,UAAU,eAAe,SAASU,aAAkBD,aAAkBE,mBAAyBX;EAC/F,WAAW,eAAe,SAASU,aAAkBD,aAAkB,QAAQT;EAC/E,eAAe,eAAe,SAASU,aAAkBD,aAAkB,QAAQE,mBAAyBX;EAC5G,MAAM,eAAe,SAASU,aAAkBD,eAAo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BAAkBf,aAAkB;iBAExC,YAAY,UAAUJ,WAAgBE,kBAAuB,SAASkB,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAajB,aAAkB;iBAGnC,WAAW,UAAUJ,WAAgBE,kBAAuB,SAASoB,qBAA0B,KAAKC,YAAiB;EAClI,aAAa;EACb,UAAU;;EAEV,iBAAiB;;qBAEA,YAAYnB,aAAkB;iBAElC,YAAY,UAAUJ,WAAgBE,kBAAuB,SAASsB,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAarB,aAAkB;iBAEnC,eAAe,UAAUJ,WAAgBE,kBAAuB,SAASwB,yBAA8B,KAAKC,gBAAqB;EAC9I,aAAa;EACb,UAAU;;qBAEO,gBAAgBvB,aAAkB;iBAQtC,SAAS,UAAUJ,WAAgBE,kBAAuB,SAAS0B,mBAAwB,KAAKC,UAAe;EAC5H,aAAa;EACb,UAAU;;EAEV,eAAe;;qBAEE,UAAUzB,aAAkB;iBAQhC,QAAQ,UAAUJ,WAAgBE,UAAe,UAAUF,WAAgBE,kBAAuB,SAAS4B,kBAAuB,GAAG,KAAKC,SAAc,GAAG;EACxK,aAAa;EACb,IAAI;EACJ,KAAK;;qBAEY,SAAS3B,aAAkB;iBAmB/B,YAAY,UAAUJ,WAAgBE,kBAAuB,SAAS8B,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAa7B,aAAkB"}
1
+ {"version":3,"file":"schemas.d.mts","names":["core.input","core.output","core.$ZodTypeInternals","core.ToJSONSchemaParams","core.ZodStandardJSONSchemaPayload","core.CheckFn","core.$ZodCheck","core.$ZodRegistry","core.$replace","core.$ZodBranded","core.$ZodIssue","core.ParseContext","parse.ZodSafeParseResult","core.$ZodCustomParams","core.$RefinementCtx","core.$ZodSuperRefineParams","core.$ZodNonOptionalParams","util.NoUndefined","core.SomeType","core.$ZodCatchCtx","core.$ZodType","core.GlobalMeta","core.$constructor","core.$ZodArrayInternals","core.$ZodCheckMinLengthParams","core.$ZodCheckMaxLengthParams","core.$ZodCheckLengthEqualsParams","core.$ZodArray","core.$ZodUnionInternals","core.$ZodUnion","core.$ZodIntersectionInternals","core.$ZodIntersection","core.$ZodTransformInternals","core.$ZodTransform","core.$ZodOptionalInternals","core.$ZodOptional","core.$ZodExactOptionalInternals","core.$ZodExactOptional","core.$ZodNullableInternals","core.$ZodNullable","core.$ZodDefaultInternals","core.$ZodDefault","core.$ZodPrefaultInternals","core.$ZodPrefault","core.$ZodNonOptionalInternals","core.$ZodNonOptional","core.$ZodCatchInternals","core.$ZodCatch","core.$ZodPipeInternals","core.$ZodPipe","core.$ZodReadonlyInternals","core.$ZodReadonly"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.d.cts"],"ignoreList":[0],"mappings":";;;;;;;;;;;YAKY,0BAA0B,KAAK,4BAA4BA,MAAW,IAAIC,OAAY;iBACjF,YAAY,sBAAsB,qBAAqB,kBAAkBC,kBAAuB,QAAQ,SAASA,kBAAuB,QAAQ,gBAAgBkB,SAAc,QAAQ,OAAO;EAC1M,KAAK;EACL,MAAM;;EAEN,MAAM;;EAEN,SAAS;;EAET,QAAQ;EACR,aAAa;;EAEb,aAAa,SAASjB,qBAA0BC;EAChD,SAAS,SAASC,QAAaJ,gBAAqBK,UAAeL;EACnE,QAAQ,SAASI,QAAaJ,gBAAqBK,UAAeL;EAClE,MAAM,MAAM,kBAAkB;IAC1B;;EAEJ,SAAS,UAAUM,cAAmB,UAAU,MAAM,mBAAmB,iCAAiC,cAAcC,SAAc,uBAAuBA,SAAc;EAC3K,MAAM,UAAU,cAAc,aAAa,4CAA4C,QAAQ,IAAI,oBAAoB,WAAWC,kBAAuB,GAAG;EAC5J,MAAM,eAAe,SAASE,aAAkBD,aAAkBT;EAClE,UAAU,eAAe,SAASU,aAAkBD,aAAkBE,mBAAyBX;EAC/F,WAAW,eAAe,SAASU,aAAkBD,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kB;iBAEnC,iBAAiB,UAAUJ,WAAgBE,kBAAuB,SAASgB,2BAAgC,KAAKC,kBAAuB;EACpJ,aAAa;EACb,UAAU;;qBAEO,kBAAkBf,aAAkB;iBAExC,YAAY,UAAUJ,WAAgBE,kBAAuB,SAASkB,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAajB,aAAkB;iBAGnC,WAAW,UAAUJ,WAAgBE,kBAAuB,SAASoB,qBAA0B,KAAKC,YAAiB;EAClI,aAAa;EACb,UAAU;;EAEV,iBAAiB;;qBAEA,YAAYnB,aAAkB;iBAElC,YAAY,UAAUJ,WAAgBE,kBAAuB,SAASsB,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAarB,aAAkB;iBAEnC,eAAe,UAAUJ,WAAgBE,kBAAuB,SAASwB,yBAA8B,KAAKC,gBAAqB;EAC9I,aAAa;EACb,UAAU;;qBAEO,gBAAgBvB,aAAkB;iBAQtC,SAAS,UAAUJ,WAAgBE,kBAAuB,SAAS0B,mBAAwB,KAAKC,UAAe;EAC5H,aAAa;EACb,UAAU;;EAEV,eAAe;;qBAEE,UAAUzB,aAAkB;iBAQhC,QAAQ,UAAUJ,WAAgBE,UAAe,UAAUF,WAAgBE,kBAAuB,SAAS4B,kBAAuB,GAAG,KAAKC,SAAc,GAAG;EACxK,aAAa;EACb,IAAI;EACJ,KAAK;;qBAEY,SAAS3B,aAAkB;iBAmB/B,YAAY,UAAUJ,WAAgBE,kBAAuB,SAAS8B,sBAA2B,KAAKC,aAAkB;EACrI,aAAa;EACb,UAAU;;qBAEO,aAAa7B,aAAkB"}
@@ -2,7 +2,7 @@ import { EmptyToNever, Flatten, MakePartial } from "./util.mjs";
2
2
  import { $ZodCustom, $ZodNonOptional, $ZodType, ParsePayload } from "./schemas.mjs";
3
3
  import { $ZodCheck, $ZodCheckLengthEquals, $ZodCheckMaxLength, $ZodCheckMinLength } from "./checks.mjs";
4
4
  import { $ZodErrorMap, $ZodIssue, $ZodIssueBase } from "./errors.mjs";
5
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.cts
5
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.d.cts
6
6
  export type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
7
7
  error?: string | $ZodErrorMap<IssueTypes> | undefined;
8
8
  /** @deprecated This parameter is deprecated. Use `error` instead. */
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.mts","names":["schemas.$ZodType","checks.$ZodCheck","errors.$ZodIssueBase","errors.$ZodErrorMap","util.EmptyToNever","util.Flatten","checks.$ZodCheckMaxLength","checks.$ZodCheckMinLength","checks.$ZodCheckLengthEquals","schemas.$ZodNonOptional","schemas.$ZodCustom","errors.$ZodIssue","util.MakePartial","schemas.ParsePayload"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.cts"],"ignoreList":[0],"mappings":";;;;;YAMY,OAAO,UAAUA,WAAmBC,WAAkB,mBAAmBC,eAAsB,uBAAuB,4BAA4BG,QAAa,QAAQD,aAAkB,KAAK,kBAAkB,cAAc;EACtO,iBAAiBD,aAAoB;;EAErC;;YAEQ,WAAW,UAAUH,WAAmBA;EAChD;GACD,iBAAiB,cAAc,0DAA0D,OAAO,GAAG,YAAY,kDAAkD;YACxJ,YAAY,UAAUC,YAAmBA;EACrD,iBAAiB,cAAc,gDAAgD,OAAO,GAAG,YAAY,wCAAwC;YAGjI,gBAAgB,UAAUD,WAAmBC,YAAmBD,WAAmBC,WAAkB,iBAAiB,cAAc,oEAAoE,OAAO,GAAG,YAAY,oBAAoB,4DAA4D;YAsL9S,2BAA2B,YAAYK;YAEvC,2BAA2B,YAAYC;YAEvC,8BAA8B,YAAYC;YA8E1C,wBAAwB,WAAWC;YAgBnC,mBAAmB,gBAAgBC;YAGnC,qBAAqB,UAAUR,gBAAuBS,aAAoB,gBAAgB,SAAS;KAC1G,SAAS,UAAUT,iBAAwB,gBAAgBG,QAAaO,YAAiB;;WAEjF,OAAOZ,WAAmBC;;WAE1B;IACT;iBACa,eAAe,qBAAqBY,aAAqB;EACtE,SAAS,cAAc;;iBAEV;;EAEb,SAAS,SAASA"}
1
+ {"version":3,"file":"api.d.mts","names":["schemas.$ZodType","checks.$ZodCheck","errors.$ZodIssueBase","errors.$ZodErrorMap","util.EmptyToNever","util.Flatten","checks.$ZodCheckMaxLength","checks.$ZodCheckMinLength","checks.$ZodCheckLengthEquals","schemas.$ZodNonOptional","schemas.$ZodCustom","errors.$ZodIssue","util.MakePartial","schemas.ParsePayload"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.d.cts"],"ignoreList":[0],"mappings":";;;;;YAMY,OAAO,UAAUA,WAAmBC,WAAkB,mBAAmBC,eAAsB,uBAAuB,4BAA4BG,QAAa,QAAQD,aAAkB,KAAK,kBAAkB,cAAc;EACtO,iBAAiBD,aAAoB;;EAErC;;YAEQ,WAAW,UAAUH,WAAmBA;EAChD;GACD,iBAAiB,cAAc,0DAA0D,OAAO,GAAG,YAAY,kDAAkD;YACxJ,YAAY,UAAUC,YAAmBA;EACrD,iBAAiB,cAAc,gDAAgD,OAAO,GAAG,YAAY,wCAAwC;YAGjI,gBAAgB,UAAUD,WAAmBC,YAAmBD,WAAmBC,WAAkB,iBAAiB,cAAc,oEAAoE,OAAO,GAAG,YAAY,oBAAoB,4DAA4D;YAsL9S,2BAA2B,YAAYK;YAEvC,2BAA2B,YAAYC;YAEvC,8BAA8B,YAAYC;YA8E1C,wBAAwB,WAAWC;YAgBnC,mBAAmB,gBAAgBC;YAGnC,qBAAqB,UAAUR,gBAAuBS,aAAoB,gBAAgB,SAAS;KAC1G,SAAS,UAAUT,iBAAwB,gBAAgBG,QAAaO,YAAiB;;WAEjF,OAAOZ,WAAmBC;;WAE1B;IACT;iBACa,eAAe,qBAAqBY,aAAqB;EACtE,SAAS,cAAc;;iBAEV;;EAEb,SAAS,SAASA"}
@@ -2,7 +2,7 @@ import { HasLength, MaybeAsync } from "./util.mjs";
2
2
  import { $ZodType, ParsePayload } from "./schemas.mjs";
3
3
  import { $ZodErrorMap, $ZodIssueBase, $ZodIssueTooBig, $ZodIssueTooSmall } from "./errors.mjs";
4
4
  import { $constructor } from "./core.mjs";
5
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.cts
5
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/checks.d.cts
6
6
  export interface $ZodCheckDef {
7
7
  check: string;
8
8
  error?: $ZodErrorMap<never> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"checks.d.mts","names":["errors.$ZodErrorMap","schemas.ParsePayload","errors.$ZodIssueBase","util.MaybeAsync","schemas.$ZodType","core.$constructor","util.HasLength","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.cts"],"ignoreList":[0],"mappings":";;;;;iBAIiB;EACb;EACA,QAAQA;;EAER;;EAEA,SAAS,SAASC;;iBAEL,mBAAmB;EAChC,KAAK;;EAEL,OAAOC;EACP,MAAM,SAASD,aAAqB,KAAKE;EACzC,YAAY,QAAQC;;iBAEP,aAAa;EAC1B,MAAM,mBAAmB;;qBAER,WAAWC,aAAkB;iBAqGjC,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAMC,gBAAuB;;iBAEhB,mBAAmB,UAAUD,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAME,kBAAyB;;iBAElB,mBAAmB,UAAUF,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,iCAAiC;EAC9C;EACA;;iBAEa,+BAA+B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAClH,KAAK;EACL,MAAMC,gBAAuB,KAAKC,kBAAyB;;iBAE9C,sBAAsB,UAAUF,YAAiBA,mBAAwB,UAAU;EAChG,MAAM,+BAA+B;;qBAEpB,uBAAuBD,aAAkB;YAClD"}
1
+ {"version":3,"file":"checks.d.mts","names":["errors.$ZodErrorMap","schemas.ParsePayload","errors.$ZodIssueBase","util.MaybeAsync","schemas.$ZodType","core.$constructor","util.HasLength","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/checks.d.cts"],"ignoreList":[0],"mappings":";;;;;iBAIiB;EACb;EACA,QAAQA;;EAER;;EAEA,SAAS,SAASC;;iBAEL,mBAAmB;EAChC,KAAK;;EAEL,OAAOC;EACP,MAAM,SAASD,aAAqB,KAAKE;EACzC,YAAY,QAAQC;;iBAEP,aAAa;EAC1B,MAAM,mBAAmB;;qBAER,WAAWC,aAAkB;iBAqGjC,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAMC,gBAAuB;;iBAEhB,mBAAmB,UAAUD,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAME,kBAAyB;;iBAElB,mBAAmB,UAAUF,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,iCAAiC;EAC9C;EACA;;iBAEa,+BAA+B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAClH,KAAK;EACL,MAAMC,gBAAuB,KAAKC,kBAAyB;;iBAE9C,sBAAsB,UAAUF,YAAiBA,mBAAwB,UAAU;EAChG,MAAM,+BAA+B;;qBAEpB,uBAAuBD,aAAkB;YAClD"}
@@ -1,6 +1,6 @@
1
1
  import { Class, ProtoOf } from "./util.mjs";
2
2
  import { SomeType } from "./schemas.mjs";
3
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.cts
3
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.d.cts
4
4
  type ZodTrait = {
5
5
  _zod: {
6
6
  def: any;
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.mts","names":["schemas.SomeType"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.cts"],"ignoreList":[0],"mappings":";;;KAGK;EACD;IACI;KACC;;;iBAGQ,aAAa,UAAU,UAAU,IAAI;OAC7C,KAAK,IAAI;EACd,KAAK,MAAM,GAAG,KAAK,YAAY,QAAQ;;iBAE1B;EACb,gBAAgB;;wBAII,aAAa,UAAU,UAAU,IAAI,kBAAkB,cAAc,cAAc,MAAM,GAAG,KAAK;;AAEzH,QAAQ,QAAQ,IAAI,SAAS,qBAAqB,aAAa,GAAG;qBAC7C;YACT,OAAO;GACd,YACI,KAAK;;YAGF,YAAY,UAAUA,UAAkB,wCAAwC,8CAA8C,KAAK;EAC3I;IACI,OAAO,MAAM,KAAK,OAAO;IACzB,QAAQ,OAAO,KAAK,OAAO;;IAE/B;EACA;IACI,OAAO,MAAM,KAAK,OAAO;;;EAG7B;IACI,QAAQ,OAAO,KAAK,OAAO;;;YAcvB,MAAM,KAAK;EACnB;IACI;;IAEJ;YACQ,OAAO,KAAK;EACpB;IACI;;IAEJ"}
1
+ {"version":3,"file":"core.d.mts","names":["schemas.SomeType"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.d.cts"],"ignoreList":[0],"mappings":";;;KAGK;EACD;IACI;KACC;;;iBAGQ,aAAa,UAAU,UAAU,IAAI;OAC7C,KAAK,IAAI;EACd,KAAK,MAAM,GAAG,KAAK,YAAY,QAAQ;;iBAE1B;EACb,gBAAgB;;wBAII,aAAa,UAAU,UAAU,IAAI,kBAAkB,cAAc,cAAc,MAAM,GAAG,KAAK;;AAEzH,QAAQ,QAAQ,IAAI,SAAS,qBAAqB,aAAa,GAAG;qBAC7C;YACT,OAAO;GACd,YACI,KAAK;;YAGF,YAAY,UAAUA,UAAkB,wCAAwC,8CAA8C,KAAK;EAC3I;IACI,OAAO,MAAM,KAAK,OAAO;IACzB,QAAQ,OAAO,KAAK,OAAO;;IAE/B;EACA;IACI,OAAO,MAAM,KAAK,OAAO;;;EAG7B;IACI,QAAQ,OAAO,KAAK,OAAO;;;YAcvB,MAAM,KAAK;EACnB;IACI;;IAEJ;YACQ,OAAO,KAAK;EACpB;IACI;;IAEJ"}
@@ -2,7 +2,7 @@ import { Flatten, MakePartial, Primitive } from "./util.mjs";
2
2
  import { $ZodType } from "./schemas.mjs";
3
3
  import { $ZodCheck, $ZodStringFormats } from "./checks.mjs";
4
4
  import { $constructor } from "./core.mjs";
5
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/errors.d.cts
5
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.d.cts
6
6
  export interface $ZodIssueBase {
7
7
  readonly code?: string;
8
8
  readonly input?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.mts","names":["util.Primitive","util.MakePartial","util.Flatten"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/errors.d.cts"],"ignoreList":[0],"mappings":";;;;;iBAKiB;WACJ;WACA;W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BACK,WAAW,KAAK;;KAKpB,mBAAmB,GAAG,cAAc,+BACpC,WAAW,KAAK,mBAAmB,EAAE,IAAI,QAC1C;GACC,YAAY,mBAAmB,WAAW;IAC3C,mBAAmBC,WAClB,WAAW,KAAK,mBAAmB,EAAE,IAAI;YAElC,mBAAmB,GAAG;EAC9B,SAAS;IACTA,QAAa,mBAAmB,GAAG"}
1
+ {"version":3,"file":"errors.d.mts","names":["util.Primitive","util.MakePartial","util.Flatten"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.d.cts"],"ignoreList":[0],"mappings":";;;;;iBAKiB;WACJ;WACA;WACA,MAAM;WACN;;YAED;iBACK,qBAAqB,yBAAyB;WAClD;WACA,UAAU;WACV,QAAQ;;iBAEJ,gBAAgB,yBAAyB;WAC7C;WACA;WACA;WACA;WACA;WACA,QAAQ;;iBAEJ,kBAAkB,yBAAyB;WAC/C;WACA;WACA;;WAEA;;WAEA;WACA,QAAQ;;iBAEJ,qCAAqC;WACzC;WACA,QAAQ;WACR;WACA;;iBAEI,uBAAuB,yDAAyD;WACpF;WACA;WACA,QAAQ;;iBAEJ,kCAAkC;WACtC;WACA;WACA,QAAQ;;UAEX,qCAAqC;WAClC;WACA,QAAQ;WACR;WACA;WACA,UAAUA;WACV;;UAEH,2CAA2C;WACxC;WACA;WACA;WACA;WACA;;WAEA;;YAED,wBAAwB,+BAA+B;iBAClD,oBAAoB,yBAAyB;WACjD;WACA;WACA,QAAQ;WACR,QAAQ;;iBAEJ,wBAAwB,yBAAyB;WACrD;WACA;WACA;WACA,QAAQ;WACR,QAAQ;;iBAEJ,sBAAsB,yBAAyB;WACnD;WACA,QAAQA;WACR,QAAQ;;iBAEJ,wBAAwB;WAC5B;WACA,SAAS;WACT;;YA0BD,YAAY,uBAAuB,kBAAkB,oBAAoB,+BAA+B,yBAAyB,4BAA4B,wBAAwB,sBAAsB,0BAA0B,wBAAwB;YAE7P,kBAAkB,UAAU,gBAAgB,aAAa,gBAAgB,SAAS;KACzF,SAAS,UAAU,iBAAiB,gBAAgBE,QAAaD,YAAiB;;WAE1E;;WAEA,OAAO,WAAW;;WAElB,SAAS;;WAET;IACT;YACQ,aAAa,UAAU,gBAAgB,aAAa,kBAAkB;iBACjE,aAAa,UAAU,gBAAgB;GACnD,OAAO,aAAa;IACjB;;;iBAGS,UAAU,qBAAqB;EAC5C,MAAM;EACN,QAAQ;EACR;IACI,QAAQ;IACR,KAAK;;EAET;EACA;;qBAEiB,WAAW,aAAa;YAIjC,mBAAmB,GAAG,cAAc,gBAAgB,GAAG;KAC9D,gBAAgB,GAAG;EACpB,YAAY;EACZ,gBACK,WAAW,KAAK;;KAKpB,mBAAmB,GAAG,cAAc,+BACpC,WAAW,KAAK,mBAAmB,EAAE,IAAI,QAC1C;GACC,YAAY,mBAAmB,WAAW;IAC3C,mBAAmBC,WAClB,WAAW,KAAK,mBAAmB,EAAE,IAAI;YAElC,mBAAmB,GAAG;EAC9B,SAAS;IACTA,QAAa,mBAAmB,GAAG"}
@@ -1,4 +1,4 @@
1
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema.d.cts
1
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema.d.cts
2
2
  export type _JSONSchema = boolean | JSONSchema;
3
3
  export type SchemaType = "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
4
4
  export type JSONSchema = {
@@ -1 +1 @@
1
- {"version":3,"file":"json-schema.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema.d.cts"],"ignoreList":[0],"mappings":";YACY,wBAAwB;YACxB;YACA;GACP;EACD;EACA;EACA;EACA;EACA;EACA;EACA,cAAc;EACd;EACA,QAAQ,eAAe;EACvB,OAAO,aAAa;EACpB,kBAAkB;EAClB,mBAAmB;EACnB,cAAc;EACd,QAAQ,cAAc;EACtB,WAAW;EACX,uBAAuB;EACvB,wBAAwB;EACxB,aAAa,eAAe;EAC5B,oBAAoB,eAAe;EACnC,mBAAmB,eAAe;EAClC,gBAAgB;EAChB,KAAK;EACL,OAAO;EACP,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,oBAAoB;EACpB,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,gBAAgB;EAChB;;YAEQ,aAAa"}
1
+ {"version":3,"file":"json-schema.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema.d.cts"],"ignoreList":[0],"mappings":";YACY,wBAAwB;YACxB;YACA;GACP;EACD;EACA;EACA;EACA;EACA;EACA;EACA,cAAc;EACd;EACA,QAAQ,eAAe;EACvB,OAAO,aAAa;EACpB,kBAAkB;EAClB,mBAAmB;EACnB,cAAc;EACd,QAAQ,cAAc;EACtB,WAAW;EACX,uBAAuB;EACvB,wBAAwB;EACxB,aAAa,eAAe;EAC5B,oBAAoB,eAAe;EACnC,mBAAmB,eAAe;EAClC,gBAAgB;EAChB,KAAK;EACL,OAAO;EACP,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,oBAAoB;EACpB,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,gBAAgB;EAChB;;YAEQ,aAAa"}
@@ -1,6 +1,6 @@
1
1
  import { $ZodType } from "./schemas.mjs";
2
2
  import { infer as output, input } from "./core.mjs";
3
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/registries.d.cts
3
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.d.cts
4
4
  export declare const $output: unique symbol;
5
5
  export type $output = typeof $output;
6
6
  export declare const $input: unique symbol;
@@ -1 +1 @@
1
- {"version":3,"file":"registries.d.mts","names":["core.output","core.input"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/registries.d.cts"],"ignoreList":[0],"mappings":";;;qBAEqB;YACT,iBAAiB;qBACR;YACT,gBAAgB;YAChB,SAAS,MAAM,UAAU,YAAY,aAAa,UAAUA,OAAY,KAAK,aAAa,SAASC,MAAW,KAAK,oBAAoB,OAAO,SAAS,GAAG,OAAO,kBAAiB,YAAY,YAAY,SAAQ,SACzN,WAAW,IAAI,SAAS,EAAE,IAAI,UAC7B,SAAS,GAAG,KAAK,yBAClB,WAAW,OAAO,SAAS,KAAK,IAAI,QACrC;KACC;qBACgB,aAAa,aAAa,eAAe,cAAc,eAAe,WAAW;EAClG,OAAO;EACP,SAAS;EACT,MAAM,QAAQ,QAAQ,SAAS,MAAM;EACrC,QAAQ,YAAY;EACpB,IAAI,UAAU,QAAQ,QAAQ,MAAM,yBAAyB,QAAQ,SAAS,MAAM,QAAQ,SAAS,MAAM;EAC3G;EACA,OAAO,QAAQ;EACf,IAAI,UAAU,QAAQ,QAAQ,IAAI,SAAS,MAAM;EACjD,IAAI,QAAQ;;iBAEC;EACb;EACA;EACA;EACA;GACC;;iBAEY,mBAAmB"}
1
+ {"version":3,"file":"registries.d.mts","names":["core.output","core.input"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.d.cts"],"ignoreList":[0],"mappings":";;;qBAEqB;YACT,iBAAiB;qBACR;YACT,gBAAgB;YAChB,SAAS,MAAM,UAAU,YAAY,aAAa,UAAUA,OAAY,KAAK,aAAa,SAASC,MAAW,KAAK,oBAAoB,OAAO,SAAS,GAAG,OAAO,kBAAiB,YAAY,YAAY,SAAQ,SACzN,WAAW,IAAI,SAAS,EAAE,IAAI,UAC7B,SAAS,GAAG,KAAK,yBAClB,WAAW,OAAO,SAAS,KAAK,IAAI,QACrC;KACC;qBACgB,aAAa,aAAa,eAAe,cAAc,eAAe,WAAW;EAClG,OAAO;EACP,SAAS;EACT,MAAM,QAAQ,QAAQ,SAAS,MAAM;EACrC,QAAQ,YAAY;EACpB,IAAI,UAAU,QAAQ,QAAQ,MAAM,yBAAyB,QAAQ,SAAS,MAAM,QAAQ,SAAS,MAAM;EAC3G;EACA,OAAO,QAAQ;EACf,IAAI,UAAU,QAAQ,QAAQ,IAAI,SAAS,MAAM;EACjD,IAAI,QAAQ;;iBAEC;EACb;EACA;EACA;EACA;GACC;;iBAEY,mBAAmB"}
@@ -6,7 +6,7 @@ import { version } from "./versions.mjs";
6
6
  import { $ZodCheck, $ZodCheckDef, $ZodCheckInternals } from "./checks.mjs";
7
7
  import { $ZodErrorMap, $ZodIssue, $ZodIssueBase, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue } from "./errors.mjs";
8
8
  import { $constructor, infer as output, input } from "./core.mjs";
9
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.cts
9
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/schemas.d.cts
10
10
  export interface ParseContext<T extends $ZodIssueBase = never> {
11
11
  /** Customize error messages. */
12
12
  readonly error?: $ZodErrorMap<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.mts","names":["errors.$ZodIssueBase","errors.$ZodErrorMap","errors.$ZodRawIssue","util.MaybeAsync","checks.$ZodCheck","util.AnyFunc","util.PrimitiveSet","util.PropValues","JSONSchema.BaseSchema","core.input","core.output","core.$constructor","errors.$ZodIssueInvalidType","util.LoosePartial","util.IsAny","util.Prettify","errors.$ZodIssueUnrecognizedKeys","errors.$ZodIssueInvalidUnion","util.TupleItems","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall","errors.$ZodIssueInvalidKey","errors.$ZodIssueInvalidElement","util.EnumLike","errors.$ZodIssueInvalidValue","util.Literal","util.MimeTypes","util.NoUndefined","errors.$ZodIssue","util.MakeReadonly","checks.$ZodCheckDef","util.Class","checks.$ZodCheckInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.cts"],"ignoreList":[0],"mappings":";;;;;;;;;iBAUiB,aAAa,UAAUA;;WAE3B,QAAQC,aAAoB;;WAE5B;;WAEA;;;iBAGI,qBAAqB,UAAUD,+BAAsC,aAAa;WACtF;WACA;WACA;;WAEA;;iBAQI,aAAa;EAC1B,OAAO;EACP,QAAQE;;EAER;;;EAGA;;YAEQ,QAAQ,MAAM,OAAO,aAAa,OAAOC;iBACpC;EACb;EACA,QAAQF;EACR,SAASG;;iBAEI;;EAEb,gBAAgB;;EAEhB,KAAK;;;EAGL,UAAUC;;EAEV,IAAI,SAAS,mBAAmB,KAAK,uBAAuBF,WAAgB;;EAE5E,MAAM,SAAS,mBAAmB,KAAK,uBAAuBA,WAAgB;;EAE9E,QAAQ;;;;;;;;;;EAUR;;EAEA;;;;;;;EAOA,SAASG;;;EAGT,aAAaC;;EAEb,SAAS;;EAET,aAAa,aAAa;;EAE1B,KAAK;;EAEL,MAAMP;;EAEN,sBAAsB,KAAK,qBAAqB,MAAMQ,YAAuB,QAAQ;;EAErF;;EAEA,SAAS;;;iBAGI,sBAAsB,iBAAiB,qBAAqB;;EAEzE,QAAQ;;EAER,OAAO;;YAEC,mBAAmB,KAAK,iBAAiB,MAAMC,MAAW,IAAIC,OAAY;YAC1E;EACR,MAAM;;iBAEO,SAAS,aAAa,aAAa,kBAAkB,kBAAkB,GAAG,KAAK,kBAAkB,GAAG;EACjH,MAAM;EACN,aAAa;;iBAEA,UAAU,UAAU,oBAAoB,2BAA2B,SAAS,aAAa,YAAY;q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amB;EAC7D;EACA;EACA,OAAO;EACP,QAAQ7B;EACR,SAAS;EACT,KAAK,KAAK;;iBAEG,oBAAoB,aAAa,qBAAqB,kBAAkB,GAAG,IAAI+B,mBAA0B;EACtH,KAAK;EACL,MAAMJ;EACN;EACA,KAAKf;IACD,cAAckB;;;iBAGL,WAAW,aAAa,qBAAqB;EAC1D,MAAM,oBAAoB,GAAG;;qBAEZ,YAAYpB,aAAkB;YACvC,YAAY,aAAa,aAAa,aAAa,cAAc,WAAW,aAAa,gBAAgB,eAAe,WAAW,UAAU,cAAc,YAAY,WAAW,YAAY,aAAa,YAAY,mBAAmB,YAAY,aAAa,UAAU,UAAU,cAAc,WAAW,eAAe,cAAc,WAAW,eAAe,cAAc,eAAe,sBAAsB,aAAa,gBAAgB,kBAAkB,eAAe,UAAU,WAAW,cAAc,YAAY"}
1
+ {"version":3,"file":"schemas.d.mts","names":["errors.$ZodIssueBase","errors.$ZodErrorMap","errors.$ZodRawIssue","util.MaybeAsync","checks.$ZodCheck","util.AnyFunc","util.PrimitiveSet","util.PropValues","JSONSchema.BaseSchema","core.input","core.output","core.$constructor","errors.$ZodIssueInvalidType","util.LoosePartial","util.IsAny","util.Prettify","errors.$ZodIssueUnrecognizedKeys","errors.$ZodIssueInvalidUnion","util.TupleItems","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall","errors.$ZodIssueInvalidKey","errors.$ZodIssueInvalidElement","util.EnumLike","errors.$ZodIssueInvalidValue","util.Literal","util.MimeTypes","util.NoUndefined","errors.$ZodIssue","util.MakeReadonly","checks.$ZodCheckDef","util.Class","checks.$ZodCheckInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/schemas.d.cts"],"ignoreList":[0],"mappings":";;;;;;;;;iBAUiB,aAAa,UAAUA;;WAE3B,QAAQC,aAAoB;;WAE5B;;WAEA;;;iBAGI,qBAAqB,UAAUD,+BAAsC,aAAa;WACtF;WACA;WACA;;WAEA;;iBAQI,a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BAAsB,aAAa,gBAAgB,kBAAkB,eAAe,UAAU,WAAW,cAAc,YAAY"}
@@ -1,4 +1,4 @@
1
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.cts
1
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/standard-schema.d.cts
2
2
  /** The Standard interface. */
3
3
  export interface StandardTypedV1<Input = unknown, Output = Input> {
4
4
  /** The Standard properties. */
@@ -1 +1 @@
1
- {"version":3,"file":"standard-schema.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.cts"],"ignoreList":[0],"mappings":";;iBACiB,gBAAgB,iBAAiB,SAAS;;WAE9C,aAAa,gBAAgB,MAAM,OAAO;;yBAE9B;;YAEX,MAAM,iBAAiB,SAAS;;aAE7B;;aAEA;;aAEA,QAAQ,MAAM,OAAO;;;YAGxB,MAAM,iBAAiB,SAAS;;aAE7B,OAAO;;aAEP,QAAQ;;;OAGhB,WAAW,eAAe,mBAAmB,YAAY;;OAEzD,YAAY,eAAe,mBAAmB,YAAY;;;iBAGlD,iBAAiB,iBAAiB,SAAS;;WAE/C,aAAa,iBAAiB,MAAM,OAAO;;yBAE/B;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,WAAW,gBAAgB,UAAU,iBAAiB,wBAAwB,OAAO,UAAU,QAAQ,OAAO;;;OAGtH,OAAO,UAAU,cAAc,UAAU;;YAEpC,cAAc;;aAEX,OAAO;;aAEP;;YAEH;;aAEG,iBAAiB;;;YAGpB;;aAEG,QAAQ,cAAc;;;YAGzB;;aAEG;;aAEA,OAAO,cAAc,cAAc;;;YAGtC;;aAEG,KAAK;;;YAGR,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;;iBAGlE,qBAAqB,iBAAiB,SAAS;;WAEnD,aAAa,qBAAqB,MAAM,OAAO;;yBAEnC;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,YAAY;;;YAGf;;aAEG,QAAQ,SAAS,qBAAqB,YAAY;;aAElD,SAAS,SAAS,qBAAqB,YAAY;;;;;;;;;;OAU3D;;YAEK;;aAEG,QAAQ;;aAER,iBAAiB;;;YAGpB,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;iBAElE,4BAA4B,iBAAiB,SAAS,eAAe,iBAAiB,MAAM,OAAO,SAAS,qBAAqB,MAAM,OAAO"}
1
+ {"version":3,"file":"standard-schema.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/standard-schema.d.cts"],"ignoreList":[0],"mappings":";;iBACiB,gBAAgB,iBAAiB,SAAS;;WAE9C,aAAa,gBAAgB,MAAM,OAAO;;yBAE9B;;YAEX,MAAM,iBAAiB,SAAS;;aAE7B;;aAEA;;aAEA,QAAQ,MAAM,OAAO;;;YAGxB,MAAM,iBAAiB,SAAS;;aAE7B,OAAO;;aAEP,QAAQ;;;OAGhB,WAAW,eAAe,mBAAmB,YAAY;;OAEzD,YAAY,eAAe,mBAAmB,YAAY;;;iBAGlD,iBAAiB,iBAAiB,SAAS;;WAE/C,aAAa,iBAAiB,MAAM,OAAO;;yBAE/B;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,WAAW,gBAAgB,UAAU,iBAAiB,wBAAwB,OAAO,UAAU,QAAQ,OAAO;;;OAGtH,OAAO,UAAU,cAAc,UAAU;;YAEpC,cAAc;;aAEX,OAAO;;aAEP;;YAEH;;aAEG,iBAAiB;;;YAGpB;;aAEG,QAAQ,cAAc;;;YAGzB;;aAEG;;aAEA,OAAO,cAAc,cAAc;;;YAGtC;;aAEG,KAAK;;;YAGR,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;;iBAGlE,qBAAqB,iBAAiB,SAAS;;WAEnD,aAAa,qBAAqB,MAAM,OAAO;;yBAEnC;;YAEX,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;aAEzE,YAAY;;;YAGf;;aAEG,QAAQ,SAAS,qBAAqB,YAAY;;aAElD,SAAS,SAAS,qBAAqB,YAAY;;;;;;;;;;OAU3D;;YAEK;;aAEG,QAAQ;;aAER,iBAAiB;;;YAGpB,MAAM,iBAAiB,SAAS,eAAe,gBAAgB,MAAM,OAAO;;OAGjF,WAAW,eAAe,mBAAmB,gBAAgB,WAAW;;OAExE,YAAY,eAAe,mBAAmB,gBAAgB,YAAY;;iBAElE,4BAA4B,iBAAiB,SAAS,eAAe,iBAAiB,MAAM,OAAO,SAAS,qBAAqB,MAAM,OAAO"}
@@ -3,7 +3,7 @@ import { StandardSchemaWithJSONProps } from "./standard-schema.mjs";
3
3
  import { $ZodRegistry } from "./registries.mjs";
4
4
  import { $ZodType, $ZodTypes } from "./schemas.mjs";
5
5
  import { infer as output, input } from "./core.mjs";
6
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.cts
6
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.d.cts
7
7
  export type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
8
8
  /**
9
9
  * Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its
@@ -1 +1 @@
1
- {"version":3,"file":"to-json-schema.d.mts","names":["schemas.$ZodType","JSONSchema.BaseSchema","schemas.$ZodTypes","core.input","core.output"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.cts"],"ignoreList":[0],"mappings":";;;;;;YAKY,UAAU,UAAUA,WAAmBA,aAAqB,QAAQ,GAAG,KAAK,qBAAqB,MAAMC,YAAuB,QAAQ;;;;;;YAMtI,uBAAuB,UAAUD,WAAmBA,aAAqB;EACjF,WAAW;EACX;;;EAGA;MACEC;iBACW;EACb,YAAY,eAAe;;;EAG3B,WAAW,aAAa;;;;;;EAMxB;;;;;EAKA,oCAAoC,uBAAuBC;;EAE3D,YAAY;IACR,WAAWA;IACX,YAAYD;IACZ;;;;;EAKJ;EACA;EACA;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;;;;YAMjB,qBAAqB,KAAK;iBAOrB;EACb,YAAYD;EACZ;;iBAEa;;EAEb,QAAQC;;EAER,MAAMA;EACN;;EAEA;;EAEA;EACA;;EAEA,MAAMD;;EAEN;;iBAEa;EACb,YAAY,eAAe;EAC3B,kBAAkB,aAAa;EAC/B;EACA,mCAAmC;EACnC,WAAW;IACP,WAAWA;IACX,YAAYC;IACZ;;EAEJ;EACA;EACA,MAAM,IAAID,UAAkB;;;;;;;;;;;;;;;EAe5B,yBAAyB;EACzB,oBAAoB;EACpB;EACA;;EAEA,eAAeC;;EAEf;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;YAejB,0BAA0B,KAAK,4BAA4BE,MAAW,IAAIC,OAAY;iBACjF,6BAA6B,WAAWH;EACrD,aAAa,0BAA0B"}
1
+ {"version":3,"file":"to-json-schema.d.mts","names":["schemas.$ZodType","JSONSchema.BaseSchema","schemas.$ZodTypes","core.input","core.output"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.d.cts"],"ignoreList":[0],"mappings":";;;;;;YAKY,UAAU,UAAUA,WAAmBA,aAAqB,QAAQ,GAAG,KAAK,qBAAqB,MAAMC,YAAuB,QAAQ;;;;;;YAMtI,uBAAuB,UAAUD,WAAmBA,aAAqB;EACjF,WAAW;EACX;;;EAGA;MACEC;iBACW;EACb,YAAY,eAAe;;;EAG3B,WAAW,aAAa;;;;;;EAMxB;;;;;EAKA,oCAAoC,uBAAuBC;;EAE3D,YAAY;IACR,WAAWA;IACX,YAAYD;IACZ;;;;;EAKJ;EACA;EACA;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;;;;YAMjB,qBAAqB,KAAK;iBAOrB;EACb,YAAYD;EACZ;;iBAEa;;EAEb,QAAQC;;EAER,MAAMA;EACN;;EAEA;;EAEA;EACA;;EAEA,MAAMD;;EAEN;;iBAEa;EACb,YAAY,eAAe;EAC3B,kBAAkB,aAAa;EAC/B;EACA,mCAAmC;EACnC,WAAW;IACP,WAAWA;IACX,YAAYC;IACZ;;EAEJ;EACA;EACA,MAAM,IAAID,UAAkB;;;;;;;;;;;;;;;EAe5B,yBAAyB;EACzB,oBAAoB;EACpB;EACA;;EAEA,eAAeC;;EAEf;EACA;IACI,UAAU;MACN;;IAEJ,QAAQ;IACR,MAAM,eAAeA;;;YAejB,0BAA0B,KAAK,4BAA4BE,MAAW,IAAIC,OAAY;iBACjF,6BAA6B,WAAWH;EACrD,aAAa,0BAA0B"}
@@ -1,5 +1,5 @@
1
1
  import { SomeType } from "./schemas.mjs";
2
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.cts
2
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/util.d.cts
3
3
  export type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {});
4
4
  export type IsAny<T> = 0 extends 1 & T ? true : false;
5
5
  export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.mts","names":["schemas.SomeType"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.cts"],"ignoreList":[0],"mappings":";;YAYY;YA+BA,MAAM,mBAAmB;YACzB,KAAK,GAAG,gBAAgB,KAAK,KAAK,GAAG,cAAc,GAAG;YAEtD,YAAY,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,eAAe,KAAK,GAAG;YAGxE,YAAY,KAAK,8BAA8B;YAG/C,aAAa,oBAAoB,eAAe;GACvD;;YAQO,eAAe,QACtB,WAAW,KAAK,EAAE;YAGX,gBAAgB,gCAAgC;YAC9C,OAAO;IACjB,OAAO,QAAQ,YAAY,mBAAmB;YACtC,aAAa,KAAK,UAAU,UAAU,SAAS,KAAK,YAAY,GAAG,KAAK,UAAU,UAAU,KAAK,YAAY,KAAK,iBAAiB,eAAe,kBAAkB,SAAS,QAAQ,UAAU,YAAY,KAAK,cAAc,KAAK,UAAU,UAAU,IAAI,SAAS;YAEpQ,SAAS,KAAK;YACd,QAAQ,KAAK,YACpB,WAAW,IAAI,EAAE;YAKV,SAAS,QAChB,WAAW,IAAI,EAAE;YAaV,aAAa,cAAcA;YAC3B,cAAc;YAEd,WAAW,KAAK,IAAI,QAAQ;YAY5B;YACA,WAAW,SAAS,eAAe;YAMnC;YAEA;YAKA;EACR;;YAcQ,aAAa,eAAe,IAAI;YAChC,eAAe,IAAI;YAsDnB,aAAa,WAAW,0BAA0B;8BAkDhC;EAC1B,eAAe;;;YAiBP,QAAQ,QACf,WAAW,MAAM,EAAE,gBAAe,YAAY,YAAY,SAAQ,MAAM,MAAM,IAAI,EAAE,qBACrF,SAAS"}
1
+ {"version":3,"file":"util.d.mts","names":["schemas.SomeType"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/util.d.cts"],"ignoreList":[0],"mappings":";;YAYY;YA+BA,MAAM,mBAAmB;YACzB,KAAK,GAAG,gBAAgB,KAAK,KAAK,GAAG,cAAc,GAAG;YAEtD,YAAY,GAAG,gBAAgB,KAAK,KAAK,GAAG,KAAK,eAAe,KAAK,GAAG;YAGxE,YAAY,KAAK,8BAA8B;YAG/C,aAAa,oBAAoB,eAAe;GACvD;;YAQO,eAAe,QACtB,WAAW,KAAK,EAAE;YAGX,gBAAgB,gCAAgC;YAC9C,OAAO;IACjB,OAAO,QAAQ,YAAY,mBAAmB;YACtC,aAAa,KAAK,UAAU,UAAU,SAAS,KAAK,YAAY,GAAG,KAAK,UAAU,UAAU,KAAK,YAAY,KAAK,iBAAiB,eAAe,kBAAkB,SAAS,QAAQ,UAAU,YAAY,KAAK,cAAc,KAAK,UAAU,UAAU,IAAI,SAAS;YAEpQ,SAAS,KAAK;YACd,QAAQ,KAAK,YACpB,WAAW,IAAI,EAAE;YAKV,SAAS,QAChB,WAAW,IAAI,EAAE;YAaV,aAAa,cAAcA;YAC3B,cAAc;YAEd,WAAW,KAAK,IAAI,QAAQ;YAY5B;YACA,WAAW,SAAS,eAAe;YAMnC;YAEA;YAKA;EACR;;YAcQ,aAAa,eAAe,IAAI;YAChC,eAAe,IAAI;YAsDnB,aAAa,WAAW,0BAA0B;8BAkDhC;EAC1B,eAAe;;;YAiBP,QAAQ,QACf,WAAW,MAAM,EAAE,gBAAe,YAAY,YAAY,SAAQ,MAAM,MAAM,IAAI,EAAE,qBACrF,SAAS"}
@@ -1,4 +1,4 @@
1
- //#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/versions.d.cts
1
+ //#region ../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/versions.d.cts
2
2
  export declare const version: {
3
3
  readonly major: 4;
4
4
  readonly minor: 6;
@@ -1 +1 @@
1
- {"version":3,"file":"versions.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/versions.d.cts"],"ignoreList":[0],"mappings":";qBAAqB;WACR;WACA;WACA"}
1
+ {"version":3,"file":"versions.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/versions.d.cts"],"ignoreList":[0],"mappings":";qBAAqB;WACR;WACA;WACA"}
@@ -51,6 +51,7 @@ export interface MessageItemGroupProps extends Omit<ComponentProps<'div'>, 'titl
51
51
  summary?: ReactNode;
52
52
  /** The badge text; defaults to the tone's label, null hides the badge. */
53
53
  badge?: ReactNode | null;
54
+ defaultExpanded?: boolean;
54
55
  children?: ReactNode;
55
56
  }
56
57
  /**
@@ -63,7 +64,7 @@ export interface MessageItemGroupProps extends Omit<ComponentProps<'div'>, 'titl
63
64
  * belongs to the row, as an edge, so a failure in the middle of a run is not
64
65
  * flattened into the group's own outcome.
65
66
  */
66
- export declare function MessageItemGroup({ className, tone, title, summary, badge, children, ...props }: MessageItemGroupProps): import("react").JSX.Element;
67
+ export declare function MessageItemGroup({ className, tone, title, summary, badge, children, defaultExpanded, ...props }: MessageItemGroupProps): import("react").JSX.Element;
67
68
  /** The tone a tool call's item wears: running while the tool runs, then its outcome. */
68
69
  export declare function toolTone(state: {
69
70
  running: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItem.d.mts","names":[],"sources":["../../../../../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;;qBAkBa,mDAAiC,QAAA;iBAE7B;EACf,MAAM;EACN,kBAAkB;;EAElB;EACA;EACA;;;wBAWc,kBAAkB;;;;;qBAgBrB,sBAAmB;;6CAG9B;;qBAGW,yBAAsB;;6CAGjC;iBAyBe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;wBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF,mCAAgB,IAAA;iBAkCF,8BACP,KAAK,iCAAiC,oBAAoB;;EAElE,OAAO;;EAEP,UAAU;;EAEV,QAAQ;EACR,WAAW;;;;;;;;;;;;wBAaG,mBACd,WACA,MACA,OACA,SACA,OACA,aACG,SACF,wCAAqB,IAAA;;wBAkBR,SAAS;EAAS;EAAkB;IAAqB;;qBAK5D,cAAc,SAAS,OAAO;iBAyB1B,+BAA+B,KAAK;;EAEnD,OAAO;;EAEP,QAAQ;;EAER,WAAW;;;;;;;;;;;wBAeG,oBAAoB,WAAW,OAAO,OAAO,aAAa,SAAS,yCAAsB,IAAA;;wBA0CzF,kBAAkB,cAAc,SAAS,wCAAqB,IAAA;;qBAWjE,cAAc,SAAS,OAAO;qBAS9B,4BAAyB;;6CAYpC;iBAEe,+BAA+B,wBAAwB,oBAAoB;;EAE1F;;EAEA;;;wBAIc,oBACd,WACA,MACA,OACA,SACA,aACG,SACF,yCAAsB,IAAA"}
1
+ {"version":3,"file":"MessageItem.d.mts","names":[],"sources":["../../../../../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;;qBAkBa,mDAAiC,QAAA;iBAE7B;EACf,MAAM;EACN,kBAAkB;;EAElB;EACA;EACA;;;wBAWc,kBAAkB;;;;;qBAgBrB,sBAAmB;;6CAG9B;;qBAGW,yBAAsB;;6CAGjC;iBAyBe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;wBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF,mCAAgB,IAAA;iBAkCF,8BACP,KAAK,iCAAiC,oBAAoB;;EAElE,OAAO;;EAEP,UAAU;;EAEV,QAAQ;EACR;EACA,WAAW;;;;;;;;;;;;wBAaG,mBACd,WACA,MACA,OACA,SACA,OACA,UACA,oBACG,SACF,wCAAqB,IAAA;;wBA6BR,SAAS;EAAS;EAAkB;IAAqB;;qBAK5D,cAAc,SAAS,OAAO;iBAyB1B,+BAA+B,KAAK;;EAEnD,OAAO;;EAEP,QAAQ;;EAER,WAAW;;;;;;;;;;;wBAeG,oBAAoB,WAAW,OAAO,OAAO,aAAa,SAAS,yCAAsB,IAAA;;wBA0CzF,kBAAkB,cAAc,SAAS,wCAAqB,IAAA;;qBAWjE,cAAc,SAAS,OAAO;qBAS9B,4BAAyB;;6CAYpC;iBAEe,+BAA+B,wBAAwB,oBAAoB;;EAE1F;;EAEA;;;wBAIc,oBACd,WACA,MACA,OACA,SACA,aACG,SACF,yCAAsB,IAAA"}
@@ -1,2 +1,2 @@
1
- import{AlertIcon as e,CheckIcon as t,ChevronDownIcon as n,ChevronUpIcon as r,LoaderIcon as i,WrenchIcon as a}from"../icons/icons.mjs";import{cn as o}from"../lib/cn.mjs";import{Button as s}from"./Button.mjs";import{STATUS_EDGE as c,StatusBadge as l}from"./StatusBadge.mjs";import{Fragment as u,jsx as d,jsxs as f}from"react/jsx-runtime";import{createContext as p,useContext as m,useState as h}from"react";import{cva as g}from"class-variance-authority";const _=p(null),v=p({tone:`neutral`,expandable:!1,expanded:!1,toggle:()=>void 0});function y(){return m(v)}const b=p(null),x=g(`overflow-hidden rounded-lg border transition-colors`,{variants:{tone:{...c,ok:`border-po-border-soft`}},defaultVariants:{tone:`neutral`}}),S=g(`overflow-hidden border-l-2 transition-colors`,{variants:{tone:{...c,ok:`border-transparent`,neutral:`border-transparent`}},defaultVariants:{tone:`neutral`}});function C({title:e,children:t}){return/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ d(`span`,{"aria-hidden":!0,className:`grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden`,children:/* @__PURE__ */ d(a,{className:`size-4`})}),/* @__PURE__ */ f(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[/* @__PURE__ */ d(`span`,{className:`text-sm text-po-dim`,children:`Tool call`}),/* @__PURE__ */ f(`div`,{className:`flex min-w-0 items-center gap-2 text-base`,children:[/* @__PURE__ */ d(`span`,{className:`shrink-0 font-semibold text-po-hi`,children:e}),/* @__PURE__ */ d(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:t})]})]})]})}function w({className:e,tone:t,expandable:n=!1,defaultExpanded:r=!1,expanded:i,onExpandedChange:a,children:s,...c}){let[l,u]=h(r),f=m(b),p=m(_),g=f!==null,y=i??l,C={tone:t??`neutral`,headerAccessory:p,expandable:n,expanded:y,toggle:()=>{let e=!y;i===void 0&&u(e),a?.(e)}};return/* @__PURE__ */ d(v.Provider,{value:C,children:/* @__PURE__ */ d(_,{value:null,children:/* @__PURE__ */ d(`div`,{"data-slot":`message-item`,"data-expanded":y,"data-grouped":g,className:o(g?S({tone:t}):x({tone:t}),e),...c,children:typeof s==`function`?s(C):s})})})}function T({className:e,tone:t,title:n,summary:r,badge:i,children:a,...s}){let c=i===void 0?D[t??`neutral`]:i;return/* @__PURE__ */ d(b.Provider,{value:{tone:t??`neutral`},children:/* @__PURE__ */ f(`div`,{"data-slot":`message-item-group`,className:o(x({tone:t}),e),...s,children:[/* @__PURE__ */ f(`div`,{className:`flex min-h-11 items-center gap-3 border-po-border-soft border-b px-4 py-3 text-sm text-po-dim`,children:[/* @__PURE__ */ d(C,{title:n,children:/* @__PURE__ */ d(`span`,{className:`min-w-0 flex-1 truncate text-po-faint`,children:r})}),c!==null&&c!==``?/* @__PURE__ */ d(k,{tone:t??`neutral`,children:c}):null]}),/* @__PURE__ */ d(`div`,{className:`flex flex-col divide-y divide-po-border-soft`,children:a})]})})}function E(e){return e.running?`running`:e.isError?`error`:`ok`}const D={neutral:``,running:`Running`,ok:`Completed`,error:`Failed`,info:`Info`,accent:`Note`},O={running:/* @__PURE__ */ d(i,{"aria-hidden":!0,className:`size-3 animate-spin`}),ok:/* @__PURE__ */ d(t,{"aria-hidden":!0,className:`size-3`}),error:/* @__PURE__ */ d(e,{"aria-hidden":!0,className:`size-3`})};function k({tone:e,children:t,...n}){return/* @__PURE__ */ f(l,{tone:e,size:`md`,className:`gap-1 font-semibold`,...n,children:[O[e],t]})}const A=/* @__PURE__ */ new Set([`ok`,`neutral`]);function j({className:e,title:t,badge:i,children:a,...c}){let{headerAccessory:l,tone:u,expandable:p,expanded:h,toggle:g}=y(),_=m(b),v=_!==null&&A.has(u)?null:D[u],x=i===void 0?v:i;return/* @__PURE__ */ f(`div`,{"data-slot":`message-item-header`,className:o(`flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim`,e),...c,children:[_===null?/* @__PURE__ */ d(C,{title:t,children:a}):/* @__PURE__ */ d(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:a}),l,x!==null&&x!==``?/* @__PURE__ */ d(k,{tone:u,"data-testid":`tool-status`,children:x}):null,p?/* @__PURE__ */ d(s,{variant:`ghost`,size:`icon`,"data-testid":`tool-expand`,"aria-expanded":h,"aria-label":h?`collapse`:`expand`,onClick:g,className:`text-po-dim hover:text-po-blue`,children:d(h?r:n,{className:`size-4`})}):null]})}function M({className:e,...t}){return/* @__PURE__ */ d(`div`,{"data-slot":`message-item-body`,className:o(`border-t border-po-border-soft px-4 py-3 text-base text-po-dim`,e),...t})}const N={neutral:`…`,running:`◐`,ok:`✓`,error:`✗`,info:`●`,accent:`●`},P=g(`shrink-0`,{variants:{tone:{neutral:`text-po-faint`,running:`text-po-yellow`,ok:`text-po-green`,error:`text-po-red`,info:`text-po-blue`,accent:`text-po-magenta`}},defaultVariants:{tone:`neutral`}});function F({className:e,tone:t,glyph:n,expands:r=!1,children:i,...a}){let{toggle:s}=y(),c=/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ d(`span`,{className:P({tone:t}),children:n??N[t??`neutral`]}),/* @__PURE__ */ d(`span`,{children:i})]});return r?/* @__PURE__ */ d(`button`,{type:`button`,"data-slot":`message-item-status`,"data-testid":`tool-more`,onClick:s,className:o(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue`,e),children:c}):/* @__PURE__ */ d(`span`,{"data-slot":`message-item-status`,className:o(`flex items-center gap-1.5 text-po-faint`,e),...a,children:c})}export{w as MessageItem,M as MessageItemBody,T as MessageItemGroup,j as MessageItemHeader,_ as MessageItemHeaderAccessoryContext,F as MessageItemStatus,N as STATUS_GLYPH,D as STATUS_LABEL,S as messageItemRowVariants,P as messageItemStatusVariants,x as messageItemVariants,E as toolTone,y as useMessageItem};
1
+ import{AlertIcon as e,CheckIcon as t,ChevronDownIcon as n,ChevronUpIcon as r,LoaderIcon as i,WrenchIcon as a}from"../icons/icons.mjs";import{cn as o}from"../lib/cn.mjs";import{Button as s}from"./Button.mjs";import{STATUS_EDGE as c,StatusBadge as l}from"./StatusBadge.mjs";import{Fragment as u,jsx as d,jsxs as f}from"react/jsx-runtime";import{createContext as p,useContext as m,useState as h}from"react";import{cva as g}from"class-variance-authority";const _=p(null),v=p({tone:`neutral`,expandable:!1,expanded:!1,toggle:()=>void 0});function y(){return m(v)}const b=p(null),x=g(`overflow-hidden rounded-lg border transition-colors`,{variants:{tone:{...c,ok:`border-po-border-soft`}},defaultVariants:{tone:`neutral`}}),S=g(`overflow-hidden border-l-2 transition-colors`,{variants:{tone:{...c,ok:`border-transparent`,neutral:`border-transparent`}},defaultVariants:{tone:`neutral`}});function C({title:e,children:t}){return/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ d(`span`,{"aria-hidden":!0,className:`grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden`,children:/* @__PURE__ */ d(a,{className:`size-4`})}),/* @__PURE__ */ f(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[/* @__PURE__ */ d(`span`,{className:`text-sm text-po-dim`,children:`Tool call`}),/* @__PURE__ */ f(`div`,{className:`flex min-w-0 items-center gap-2 text-base`,children:[/* @__PURE__ */ d(`span`,{className:`shrink-0 font-semibold text-po-hi`,children:e}),/* @__PURE__ */ d(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:t})]})]})]})}function w({className:e,tone:t,expandable:n=!1,defaultExpanded:r=!1,expanded:i,onExpandedChange:a,children:s,...c}){let[l,u]=h(r),f=m(b),p=m(_),g=f!==null,y=i??l,C={tone:t??`neutral`,headerAccessory:p,expandable:n,expanded:y,toggle:()=>{let e=!y;i===void 0&&u(e),a?.(e)}};return/* @__PURE__ */ d(v.Provider,{value:C,children:/* @__PURE__ */ d(_,{value:null,children:/* @__PURE__ */ d(`div`,{"data-slot":`message-item`,"data-expanded":y,"data-grouped":g,className:o(g?S({tone:t}):x({tone:t}),e),...c,children:typeof s==`function`?s(C):s})})})}function T({className:e,tone:t,title:n,summary:r,badge:i,children:a,defaultExpanded:o=!1,...s}){return/* @__PURE__ */ d(w,{tone:t,expandable:!0,defaultExpanded:o,className:e,"data-slot":`message-item-group`,...s,children:({expanded:e})=>/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ d(j,{title:n,badge:i,children:/* @__PURE__ */ d(`span`,{className:`min-w-0 flex-1 truncate text-po-faint`,children:r})}),e?/* @__PURE__ */ d(b.Provider,{value:{tone:t??`neutral`},children:/* @__PURE__ */ d(`div`,{className:`flex flex-col divide-y divide-po-border-soft border-t border-po-border-soft`,children:a})}):null]})})}function E(e){return e.running?`running`:e.isError?`error`:`ok`}const D={neutral:``,running:`Running`,ok:`Completed`,error:`Failed`,info:`Info`,accent:`Note`},O={running:/* @__PURE__ */ d(i,{"aria-hidden":!0,className:`size-3 animate-spin`}),ok:/* @__PURE__ */ d(t,{"aria-hidden":!0,className:`size-3`}),error:/* @__PURE__ */ d(e,{"aria-hidden":!0,className:`size-3`})};function k({tone:e,children:t,...n}){return/* @__PURE__ */ f(l,{tone:e,size:`md`,className:`gap-1 font-semibold`,...n,children:[O[e],t]})}const A=/* @__PURE__ */ new Set([`ok`,`neutral`]);function j({className:e,title:t,badge:i,children:a,...c}){let{headerAccessory:l,tone:u,expandable:p,expanded:h,toggle:g}=y(),_=m(b),v=_!==null&&A.has(u)?null:D[u],x=i===void 0?v:i;return/* @__PURE__ */ f(`div`,{"data-slot":`message-item-header`,className:o(`flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim`,e),...c,children:[_===null?/* @__PURE__ */ d(C,{title:t,children:a}):/* @__PURE__ */ d(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:a}),l,x!==null&&x!==``?/* @__PURE__ */ d(k,{tone:u,"data-testid":`tool-status`,children:x}):null,p?/* @__PURE__ */ d(s,{variant:`ghost`,size:`icon`,"data-testid":`tool-expand`,"aria-expanded":h,"aria-label":h?`collapse`:`expand`,onClick:g,className:`text-po-dim hover:text-po-blue`,children:d(h?r:n,{className:`size-4`})}):null]})}function M({className:e,...t}){return/* @__PURE__ */ d(`div`,{"data-slot":`message-item-body`,className:o(`border-t border-po-border-soft px-4 py-3 text-base text-po-dim`,e),...t})}const N={neutral:`…`,running:`◐`,ok:`✓`,error:`✗`,info:`●`,accent:`●`},P=g(`shrink-0`,{variants:{tone:{neutral:`text-po-faint`,running:`text-po-yellow`,ok:`text-po-green`,error:`text-po-red`,info:`text-po-blue`,accent:`text-po-magenta`}},defaultVariants:{tone:`neutral`}});function F({className:e,tone:t,glyph:n,expands:r=!1,children:i,...a}){let{toggle:s}=y(),c=/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ d(`span`,{className:P({tone:t}),children:n??N[t??`neutral`]}),/* @__PURE__ */ d(`span`,{children:i})]});return r?/* @__PURE__ */ d(`button`,{type:`button`,"data-slot":`message-item-status`,"data-testid":`tool-more`,onClick:s,className:o(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue`,e),children:c}):/* @__PURE__ */ d(`span`,{"data-slot":`message-item-status`,className:o(`flex items-center gap-1.5 text-po-faint`,e),...a,children:c})}export{w as MessageItem,M as MessageItemBody,T as MessageItemGroup,j as MessageItemHeader,_ as MessageItemHeaderAccessoryContext,F as MessageItemStatus,N as STATUS_GLYPH,D as STATUS_LABEL,S as messageItemRowVariants,P as messageItemStatusVariants,x as messageItemVariants,E as toolTone,y as useMessageItem};
2
2
  //# sourceMappingURL=MessageItem.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItem.mjs","names":["MessageItemHeaderAccessoryContext","createContext","MessageItemContext","useMessageItem","useContext","MessageItemGroupContext","messageItemVariants","cva","STATUS_EDGE","messageItemRowVariants","ToolCallLead","Fragment","WrenchIcon","title","MessageItem","props","own","setOwn","useState","defaultExpanded","group","headerAccessory","grouped","current","expanded","state","tone","next","onExpandedChange","cn","className","children","MessageItemGroup","label","badge","STATUS_LABEL","summary","OutcomeBadge","toolTone","OUTCOME_ICON","LoaderIcon","CheckIcon","AlertIcon","StatusBadge","SILENT_IN_GROUP","MessageItemHeader","defaultLabel","expandable","Button","toggle","jsx","ChevronUpIcon","ChevronDownIcon","MessageItemBody","STATUS_GLYPH","messageItemStatusVariants","MessageItemStatus","content","glyph","expands"],"sources":["../../../../../../src/components/MessageItem.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { type ComponentProps, createContext, type ReactNode, useContext, useState } from 'react';\n\nimport { AlertIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, LoaderIcon, WrenchIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\nimport { Button } from './Button';\nimport { STATUS_EDGE, StatusBadge, type StatusTone } from './StatusBadge';\n\n/**\n * The message item: the timeline card a tool call, a run, or a notice sits\n * in. The item owns its outcome tone and its expand state; the header, body,\n * and status parts read both from it, so a card composes the parts and never\n * threads `expanded` by hand. A tool message in a web plugin is built from\n * this, and so is the cockpit's own fallback item, which is what keeps them\n * looking alike.\n */\n\n/** The next item captures this accessory for its header, without passing it to nested items. */\nexport const MessageItemHeaderAccessoryContext = createContext<ReactNode>(null);\n\nexport interface MessageItemState {\n tone: StatusTone;\n headerAccessory?: ReactNode;\n /** Whether the header offers the toggle; an item that hides nothing offers none. */\n expandable: boolean;\n expanded: boolean;\n toggle: () => void;\n}\n\nconst MessageItemContext = createContext<MessageItemState>({\n tone: 'neutral',\n expandable: false,\n expanded: false,\n toggle: () => undefined,\n});\n\n/** The enclosing item's state, for a part that lives deeper than the item's render prop. */\nexport function useMessageItem(): MessageItemState {\n return useContext(MessageItemContext);\n}\n\n/**\n * The group an item is a row of, or null for an item that is a card of its\n * own. A row drops the frame the group already draws and keeps its tone as an\n * edge down its left side, and it stops repeating what the group's header has\n * said once: the tool's name, and an outcome the whole run shares.\n */\nconst MessageItemGroupContext = createContext<{ tone: StatusTone } | null>(null);\n\n/**\n * The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart.\n * A settled OK is the calm default and keeps the soft border; only work in flight or a failure colours the edge.\n */\nexport const messageItemVariants = cva('overflow-hidden rounded-lg border transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-po-border-soft' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. A settled row keeps a quiet edge. */\nexport const messageItemRowVariants = cva('overflow-hidden border-l-2 transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-transparent', neutral: 'border-transparent' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The card's lead: the tool chip, the \"Tool call\" caption, then the name and its summary on one line. */\nfunction ToolCallLead({ title, children }: { title: ReactNode; children?: ReactNode }) {\n return (\n <>\n <span\n aria-hidden\n className=\"grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden\"\n >\n <WrenchIcon className=\"size-4\" />\n </span>\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-sm text-po-dim\">Tool call</span>\n <div className=\"flex min-w-0 items-center gap-2 text-base\">\n <span className=\"shrink-0 font-semibold text-po-hi\">{title}</span>\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n </div>\n </div>\n </>\n );\n}\n\nexport interface MessageItemProps\n extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {\n /** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */\n expandable?: boolean;\n defaultExpanded?: boolean;\n /** Controlled mode; pair with onExpandedChange. Omit it and the item keeps its own state. */\n expanded?: boolean;\n onExpandedChange?: (expanded: boolean) => void;\n /** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */\n children?: ReactNode | ((state: MessageItemState) => ReactNode);\n}\n\nexport function MessageItem({\n className,\n tone,\n expandable = false,\n defaultExpanded = false,\n expanded,\n onExpandedChange,\n children,\n ...props\n}: MessageItemProps) {\n const [own, setOwn] = useState(defaultExpanded);\n const group = useContext(MessageItemGroupContext);\n const headerAccessory = useContext(MessageItemHeaderAccessoryContext);\n const grouped = group !== null;\n const current = expanded ?? own;\n const state: MessageItemState = {\n tone: tone ?? 'neutral',\n headerAccessory,\n expandable,\n expanded: current,\n toggle: () => {\n const next = !current;\n if (expanded === undefined) setOwn(next);\n onExpandedChange?.(next);\n },\n };\n return (\n <MessageItemContext.Provider value={state}>\n <MessageItemHeaderAccessoryContext value={null}>\n <div\n data-slot=\"message-item\"\n data-expanded={current}\n data-grouped={grouped}\n className={cn(grouped ? messageItemRowVariants({ tone }) : messageItemVariants({ tone }), className)}\n {...props}\n >\n {typeof children === 'function' ? children(state) : children}\n </div>\n </MessageItemHeaderAccessoryContext>\n </MessageItemContext.Provider>\n );\n}\n\nexport interface MessageItemGroupProps\n extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {\n /** The bold label at the left of the group header: the tool the run belongs to. */\n title: ReactNode;\n /** The line beside it, such as how many calls the group holds. */\n summary?: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n children?: ReactNode;\n}\n\n/**\n * One frame around a run of items that belong together.\n *\n * A transcript that calls the same tool five times in a row is five identical\n * frames, five gutter labels and five gaps, and the repetition reads louder\n * than the commands do. The group draws the frame once and each item inside it\n * becomes a row: same header, same expand, no card of its own. The tone still\n * belongs to the row, as an edge, so a failure in the middle of a run is not\n * flattened into the group's own outcome.\n */\nexport function MessageItemGroup({\n className,\n tone,\n title,\n summary,\n badge,\n children,\n ...props\n}: MessageItemGroupProps) {\n const label = badge === undefined ? STATUS_LABEL[tone ?? 'neutral'] : badge;\n return (\n <MessageItemGroupContext.Provider value={{ tone: tone ?? 'neutral' }}>\n <div data-slot=\"message-item-group\" className={cn(messageItemVariants({ tone }), className)} {...props}>\n <div className=\"flex min-h-11 items-center gap-3 border-po-border-soft border-b px-4 py-3 text-sm text-po-dim\">\n <ToolCallLead title={title}>\n <span className=\"min-w-0 flex-1 truncate text-po-faint\">{summary}</span>\n </ToolCallLead>\n {label !== null && label !== '' ? <OutcomeBadge tone={tone ?? 'neutral'}>{label}</OutcomeBadge> : null}\n </div>\n <div className=\"flex flex-col divide-y divide-po-border-soft\">{children}</div>\n </div>\n </MessageItemGroupContext.Provider>\n );\n}\n\n/** The tone a tool call's item wears: running while the tool runs, then its outcome. */\nexport function toolTone(state: { running: boolean; isError: boolean }): StatusTone {\n return state.running ? 'running' : state.isError ? 'error' : 'ok';\n}\n\n/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */\nexport const STATUS_LABEL: Readonly<Record<StatusTone, string>> = {\n neutral: '',\n running: 'Running',\n ok: 'Completed',\n error: 'Failed',\n info: 'Info',\n accent: 'Note',\n};\n\nconst OUTCOME_ICON: Partial<Record<StatusTone, ReactNode>> = {\n running: <LoaderIcon aria-hidden className=\"size-3 animate-spin\" />,\n ok: <CheckIcon aria-hidden className=\"size-3\" />,\n error: <AlertIcon aria-hidden className=\"size-3\" />,\n};\n\n/** The sentence-case outcome pill, led by the tone's icon. */\nfunction OutcomeBadge({ tone, children, ...props }: ComponentProps<typeof StatusBadge> & { tone: StatusTone }) {\n return (\n <StatusBadge tone={tone} size=\"md\" className=\"gap-1 font-semibold\" {...props}>\n {OUTCOME_ICON[tone]}\n {children}\n </StatusBadge>\n );\n}\n\nexport interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {\n /** The bold label at the left: the tool name. */\n title: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n /** The summary beside the title; it gets the remaining width. */\n children?: ReactNode;\n}\n\n/** Inside a group these two are the quiet outcome: the group's header has already said it. */\nconst SILENT_IN_GROUP: ReadonlySet<StatusTone> = new Set<StatusTone>(['ok', 'neutral']);\n\n/**\n * The title row: label, summary, the tone's badge, and the expand toggle when\n * the item is expandable.\n *\n * A row inside a group says less. The group's header has already named the\n * tool and stated the run's outcome, so the row drops its title and speaks up\n * only when something went wrong or is still going: five OK badges down a run\n * of five are noise, and the one ERROR among them is the point.\n */\nexport function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps) {\n const { headerAccessory, tone, expandable, expanded, toggle } = useMessageItem();\n const group = useContext(MessageItemGroupContext);\n const defaultLabel = group !== null && SILENT_IN_GROUP.has(tone) ? null : STATUS_LABEL[tone];\n const label = badge === undefined ? defaultLabel : badge;\n return (\n <div\n data-slot=\"message-item-header\"\n className={cn('flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim', className)}\n {...props}\n >\n {group === null ? (\n <ToolCallLead title={title}>{children}</ToolCallLead>\n ) : (\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n )}\n {headerAccessory}\n {label !== null && label !== '' ? (\n <OutcomeBadge tone={tone} data-testid=\"tool-status\">\n {label}\n </OutcomeBadge>\n ) : null}\n {expandable ? (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n data-testid=\"tool-expand\"\n aria-expanded={expanded}\n aria-label={expanded ? 'collapse' : 'expand'}\n onClick={toggle}\n className=\"text-po-dim hover:text-po-blue\"\n >\n {expanded ? <ChevronUpIcon className=\"size-4\" /> : <ChevronDownIcon className=\"size-4\" />}\n </Button>\n ) : null}\n </div>\n );\n}\n\n/** The body under the header, on the card's own surface. */\nexport function MessageItemBody({ className, ...props }: ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"message-item-body\"\n className={cn('border-t border-po-border-soft px-4 py-3 text-base text-po-dim', className)}\n {...props}\n />\n );\n}\n\n/** The glyph a tone reads as in a status line. */\nexport const STATUS_GLYPH: Readonly<Record<StatusTone, string>> = {\n neutral: '…',\n running: '◐',\n ok: '✓',\n error: '✗',\n info: '●',\n accent: '●',\n};\n\nexport const messageItemStatusVariants = cva('shrink-0', {\n variants: {\n tone: {\n neutral: 'text-po-faint',\n running: 'text-po-yellow',\n ok: 'text-po-green',\n error: 'text-po-red',\n info: 'text-po-blue',\n accent: 'text-po-magenta',\n } satisfies Record<StatusTone, string>,\n },\n defaultVariants: { tone: 'neutral' },\n});\n\nexport interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {\n /** Replaces the tone's glyph. */\n glyph?: string;\n /** Renders as a button that expands the item: the \"N more line(s)\" hint. Only className carries over. */\n expands?: boolean;\n}\n\n/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */\nexport function MessageItemStatus({\n className,\n tone,\n glyph,\n expands = false,\n children,\n ...props\n}: MessageItemStatusProps) {\n const { toggle } = useMessageItem();\n const content = (\n <>\n <span className={messageItemStatusVariants({ tone })}>{glyph ?? STATUS_GLYPH[tone ?? 'neutral']}</span>\n <span>{children}</span>\n </>\n );\n if (expands) {\n return (\n <button\n type=\"button\"\n data-slot=\"message-item-status\"\n data-testid=\"tool-more\"\n onClick={toggle}\n className={cn(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue',\n className,\n )}\n >\n {content}\n </button>\n );\n }\n return (\n <span\n data-slot=\"message-item-status\"\n className={cn('flex items-center gap-1.5 text-po-faint', className)}\n {...props}\n >\n {content}\n </span>\n );\n}\n"],"mappings":"mcAkBA,MAAaA,EAAoCC,EAAyB,IAAI,EAWxEC,EAAqBD,EAAgC,CACzD,KAAM,UACN,WAAY,GACZ,SAAU,GACV,WAAc,IAAA,EAChB,CAAC,EAGD,SAAgBE,GAAmC,CACjD,OAAOC,EAAWF,CAAkB,CACtC,CAQA,MAAMG,EAA0BJ,EAA2C,IAAI,EAMlEK,EAAsBC,EAAI,sDAAuD,CAC5F,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAa,GAAI,uBAAwB,CAAE,EAClE,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGYC,EAAyBF,EAAI,+CAAgD,CACxF,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAa,GAAI,qBAAsB,QAAS,oBAAqB,CAAE,EAC9F,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGD,SAASE,EAAa,CAAE,QAAO,YAAwD,CACrF,MACE,kBAAAC,EAAA,CAAA,SAAA,CACE,kBAAC,OAAD,CACE,cAAA,GACA,UAAU,4FAEV,SAAA,kBAACC,EAAD,CAAY,UAAU,QAAU,CAAA,CAC5B,CAAA,EACN,kBAAC,MAAD,CAAK,UAAU,+BAAf,SAAA,CACE,kBAAC,OAAD,CAAM,UAAU,sBAAsB,SAAA,WAAe,CAAA,EACrD,kBAAC,MAAD,CAAK,UAAU,4CAAf,SAAA,CACE,kBAAC,OAAD,CAAM,UAAU,oCAAqC,SAAAC,CAAY,CAAA,EACjE,kBAAC,MAAD,CAAK,YAAU,uBAAuB,UAAU,yCAC7C,UACE,CAAA,CACF,CACF,CAAA,CAAA,CACL,CAAA,CAAA,CAAA,CAAA,CAEN,CAcA,SAAgBC,EAAY,CAC1B,YACA,OACA,aAAa,G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,SAAA2B,CACK,CAAA,EAIV,kBAAC,OAAD,CACE,YAAU,sBACV,UAAW5B,EAAG,0CAA2CC,CAAS,EAClE,GAAIf,EAEH,SAAA0C,CACG,CAAA,CAEV"}
1
+ {"version":3,"file":"MessageItem.mjs","names":["MessageItemHeaderAccessoryContext","createContext","MessageItemContext","useMessageItem","useContext","MessageItemGroupContext","messageItemVariants","cva","STATUS_EDGE","messageItemRowVariants","ToolCallLead","Fragment","WrenchIcon","title","MessageItem","props","own","setOwn","useState","defaultExpanded","group","headerAccessory","grouped","current","expanded","state","tone","next","onExpandedChange","cn","className","children","MessageItemGroup","MessageItemHeader","summary","toolTone","STATUS_LABEL","OUTCOME_ICON","LoaderIcon","CheckIcon","AlertIcon","OutcomeBadge","StatusBadge","SILENT_IN_GROUP","defaultLabel","label","badge","expandable","Button","toggle","jsx","ChevronUpIcon","ChevronDownIcon","MessageItemBody","STATUS_GLYPH","messageItemStatusVariants","MessageItemStatus","content","glyph","expands"],"sources":["../../../../../../src/components/MessageItem.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { type ComponentProps, createContext, type ReactNode, useContext, useState } from 'react';\n\nimport { AlertIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, LoaderIcon, WrenchIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\nimport { Button } from './Button';\nimport { STATUS_EDGE, StatusBadge, type StatusTone } from './StatusBadge';\n\n/**\n * The message item: the timeline card a tool call, a run, or a notice sits\n * in. The item owns its outcome tone and its expand state; the header, body,\n * and status parts read both from it, so a card composes the parts and never\n * threads `expanded` by hand. A tool message in a web plugin is built from\n * this, and so is the cockpit's own fallback item, which is what keeps them\n * looking alike.\n */\n\n/** The next item captures this accessory for its header, without passing it to nested items. */\nexport const MessageItemHeaderAccessoryContext = createContext<ReactNode>(null);\n\nexport interface MessageItemState {\n tone: StatusTone;\n headerAccessory?: ReactNode;\n /** Whether the header offers the toggle; an item that hides nothing offers none. */\n expandable: boolean;\n expanded: boolean;\n toggle: () => void;\n}\n\nconst MessageItemContext = createContext<MessageItemState>({\n tone: 'neutral',\n expandable: false,\n expanded: false,\n toggle: () => undefined,\n});\n\n/** The enclosing item's state, for a part that lives deeper than the item's render prop. */\nexport function useMessageItem(): MessageItemState {\n return useContext(MessageItemContext);\n}\n\n/**\n * The group an item is a row of, or null for an item that is a card of its\n * own. A row drops the frame the group already draws and keeps its tone as an\n * edge down its left side, and it stops repeating what the group's header has\n * said once: the tool's name, and an outcome the whole run shares.\n */\nconst MessageItemGroupContext = createContext<{ tone: StatusTone } | null>(null);\n\n/**\n * The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart.\n * A settled OK is the calm default and keeps the soft border; only work in flight or a failure colours the edge.\n */\nexport const messageItemVariants = cva('overflow-hidden rounded-lg border transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-po-border-soft' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. A settled row keeps a quiet edge. */\nexport const messageItemRowVariants = cva('overflow-hidden border-l-2 transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-transparent', neutral: 'border-transparent' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The card's lead: the tool chip, the \"Tool call\" caption, then the name and its summary on one line. */\nfunction ToolCallLead({ title, children }: { title: ReactNode; children?: ReactNode }) {\n return (\n <>\n <span\n aria-hidden\n className=\"grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden\"\n >\n <WrenchIcon className=\"size-4\" />\n </span>\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-sm text-po-dim\">Tool call</span>\n <div className=\"flex min-w-0 items-center gap-2 text-base\">\n <span className=\"shrink-0 font-semibold text-po-hi\">{title}</span>\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n </div>\n </div>\n </>\n );\n}\n\nexport interface MessageItemProps\n extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {\n /** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */\n expandable?: boolean;\n defaultExpanded?: boolean;\n /** Controlled mode; pair with onExpandedChange. Omit it and the item keeps its own state. */\n expanded?: boolean;\n onExpandedChange?: (expanded: boolean) => void;\n /** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */\n children?: ReactNode | ((state: MessageItemState) => ReactNode);\n}\n\nexport function MessageItem({\n className,\n tone,\n expandable = false,\n defaultExpanded = false,\n expanded,\n onExpandedChange,\n children,\n ...props\n}: MessageItemProps) {\n const [own, setOwn] = useState(defaultExpanded);\n const group = useContext(MessageItemGroupContext);\n const headerAccessory = useContext(MessageItemHeaderAccessoryContext);\n const grouped = group !== null;\n const current = expanded ?? own;\n const state: MessageItemState = {\n tone: tone ?? 'neutral',\n headerAccessory,\n expandable,\n expanded: current,\n toggle: () => {\n const next = !current;\n if (expanded === undefined) setOwn(next);\n onExpandedChange?.(next);\n },\n };\n return (\n <MessageItemContext.Provider value={state}>\n <MessageItemHeaderAccessoryContext value={null}>\n <div\n data-slot=\"message-item\"\n data-expanded={current}\n data-grouped={grouped}\n className={cn(grouped ? messageItemRowVariants({ tone }) : messageItemVariants({ tone }), className)}\n {...props}\n >\n {typeof children === 'function' ? children(state) : children}\n </div>\n </MessageItemHeaderAccessoryContext>\n </MessageItemContext.Provider>\n );\n}\n\nexport interface MessageItemGroupProps\n extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {\n /** The bold label at the left of the group header: the tool the run belongs to. */\n title: ReactNode;\n /** The line beside it, such as how many calls the group holds. */\n summary?: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n defaultExpanded?: boolean;\n children?: ReactNode;\n}\n\n/**\n * One frame around a run of items that belong together.\n *\n * A transcript that calls the same tool five times in a row is five identical\n * frames, five gutter labels and five gaps, and the repetition reads louder\n * than the commands do. The group draws the frame once and each item inside it\n * becomes a row: same header, same expand, no card of its own. The tone still\n * belongs to the row, as an edge, so a failure in the middle of a run is not\n * flattened into the group's own outcome.\n */\nexport function MessageItemGroup({\n className,\n tone,\n title,\n summary,\n badge,\n children,\n defaultExpanded = false,\n ...props\n}: MessageItemGroupProps) {\n return (\n <MessageItem\n tone={tone}\n expandable\n defaultExpanded={defaultExpanded}\n className={className}\n data-slot=\"message-item-group\"\n {...props}\n >\n {({ expanded }) => (\n <>\n <MessageItemHeader title={title} badge={badge}>\n <span className=\"min-w-0 flex-1 truncate text-po-faint\">{summary}</span>\n </MessageItemHeader>\n {expanded ? (\n <MessageItemGroupContext.Provider value={{ tone: tone ?? 'neutral' }}>\n <div className=\"flex flex-col divide-y divide-po-border-soft border-t border-po-border-soft\">\n {children}\n </div>\n </MessageItemGroupContext.Provider>\n ) : null}\n </>\n )}\n </MessageItem>\n );\n}\n\n/** The tone a tool call's item wears: running while the tool runs, then its outcome. */\nexport function toolTone(state: { running: boolean; isError: boolean }): StatusTone {\n return state.running ? 'running' : state.isError ? 'error' : 'ok';\n}\n\n/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */\nexport const STATUS_LABEL: Readonly<Record<StatusTone, string>> = {\n neutral: '',\n running: 'Running',\n ok: 'Completed',\n error: 'Failed',\n info: 'Info',\n accent: 'Note',\n};\n\nconst OUTCOME_ICON: Partial<Record<StatusTone, ReactNode>> = {\n running: <LoaderIcon aria-hidden className=\"size-3 animate-spin\" />,\n ok: <CheckIcon aria-hidden className=\"size-3\" />,\n error: <AlertIcon aria-hidden className=\"size-3\" />,\n};\n\n/** The sentence-case outcome pill, led by the tone's icon. */\nfunction OutcomeBadge({ tone, children, ...props }: ComponentProps<typeof StatusBadge> & { tone: StatusTone }) {\n return (\n <StatusBadge tone={tone} size=\"md\" className=\"gap-1 font-semibold\" {...props}>\n {OUTCOME_ICON[tone]}\n {children}\n </StatusBadge>\n );\n}\n\nexport interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {\n /** The bold label at the left: the tool name. */\n title: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n /** The summary beside the title; it gets the remaining width. */\n children?: ReactNode;\n}\n\n/** Inside a group these two are the quiet outcome: the group's header has already said it. */\nconst SILENT_IN_GROUP: ReadonlySet<StatusTone> = new Set<StatusTone>(['ok', 'neutral']);\n\n/**\n * The title row: label, summary, the tone's badge, and the expand toggle when\n * the item is expandable.\n *\n * A row inside a group says less. The group's header has already named the\n * tool and stated the run's outcome, so the row drops its title and speaks up\n * only when something went wrong or is still going: five OK badges down a run\n * of five are noise, and the one ERROR among them is the point.\n */\nexport function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps) {\n const { headerAccessory, tone, expandable, expanded, toggle } = useMessageItem();\n const group = useContext(MessageItemGroupContext);\n const defaultLabel = group !== null && SILENT_IN_GROUP.has(tone) ? null : STATUS_LABEL[tone];\n const label = badge === undefined ? defaultLabel : badge;\n return (\n <div\n data-slot=\"message-item-header\"\n className={cn('flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim', className)}\n {...props}\n >\n {group === null ? (\n <ToolCallLead title={title}>{children}</ToolCallLead>\n ) : (\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n )}\n {headerAccessory}\n {label !== null && label !== '' ? (\n <OutcomeBadge tone={tone} data-testid=\"tool-status\">\n {label}\n </OutcomeBadge>\n ) : null}\n {expandable ? (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n data-testid=\"tool-expand\"\n aria-expanded={expanded}\n aria-label={expanded ? 'collapse' : 'expand'}\n onClick={toggle}\n className=\"text-po-dim hover:text-po-blue\"\n >\n {expanded ? <ChevronUpIcon className=\"size-4\" /> : <ChevronDownIcon className=\"size-4\" />}\n </Button>\n ) : null}\n </div>\n );\n}\n\n/** The body under the header, on the card's own surface. */\nexport function MessageItemBody({ className, ...props }: ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"message-item-body\"\n className={cn('border-t border-po-border-soft px-4 py-3 text-base text-po-dim', className)}\n {...props}\n />\n );\n}\n\n/** The glyph a tone reads as in a status line. */\nexport const STATUS_GLYPH: Readonly<Record<StatusTone, string>> = {\n neutral: '…',\n running: '◐',\n ok: '✓',\n error: '✗',\n info: '●',\n accent: '●',\n};\n\nexport const messageItemStatusVariants = cva('shrink-0', {\n variants: {\n tone: {\n neutral: 'text-po-faint',\n running: 'text-po-yellow',\n ok: 'text-po-green',\n error: 'text-po-red',\n info: 'text-po-blue',\n accent: 'text-po-magenta',\n } satisfies Record<StatusTone, string>,\n },\n defaultVariants: { tone: 'neutral' },\n});\n\nexport interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {\n /** Replaces the tone's glyph. */\n glyph?: string;\n /** Renders as a button that expands the item: the \"N more line(s)\" hint. Only className carries over. */\n expands?: boolean;\n}\n\n/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */\nexport function MessageItemStatus({\n className,\n tone,\n glyph,\n expands = false,\n children,\n ...props\n}: MessageItemStatusProps) {\n const { toggle } = useMessageItem();\n const content = (\n <>\n <span className={messageItemStatusVariants({ tone })}>{glyph ?? STATUS_GLYPH[tone ?? 'neutral']}</span>\n <span>{children}</span>\n </>\n );\n if (expands) {\n return (\n <button\n type=\"button\"\n data-slot=\"message-item-status\"\n data-testid=\"tool-more\"\n onClick={toggle}\n className={cn(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue',\n className,\n )}\n >\n {content}\n </button>\n );\n }\n return (\n <span\n data-slot=\"message-item-status\"\n className={cn('flex items-center gap-1.5 text-po-faint', className)}\n {...props}\n >\n {content}\n </span>\n );\n}\n"],"mappings":"mcAkBA,MAAaA,EAAoCC,EAAyB,IAAI,EAWxEC,EAAqBD,EAAgC,CACzD,KAAM,UACN,WAAY,GACZ,S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E,MACE,kBAAC,MAAD,CACE,YAAU,oBACV,UAAWc,EAAG,iEAAkEC,CAAS,EACzF,GAAIf,CACL,CAAA,CAEL,CAGA,MAAauC,EAAqD,CAChE,QAAS,IACT,QAAS,IACT,GAAI,IACJ,MAAO,IACP,KAAM,IACN,OAAQ,GACV,EAEaC,EAA4BhD,EAAI,WAAY,CACvD,SAAU,CACR,KAAM,CACJ,QAAS,gBACT,QAAS,iBACT,GAAI,gBACJ,MAAO,cACP,KAAM,eACN,OAAQ,iBACV,CACF,EACA,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAUD,SAAgBiD,EAAkB,CAChC,YACA,OACA,QACA,UAAU,GACV,WACA,GAAGzC,GACsB,CACzB,GAAM,CAAE,UAAWZ,EAAe,EAC5BsD,EACJ,kBAAA9C,EAAA,CAAA,SAAA,CACE,kBAAC,OAAD,CAAM,UAAW4C,EAA0B,CAAE,MAAK,CAAC,EAAI,SAAAG,GAASJ,EAAa5B,GAAQ,UAAiB,CAAA,EACtG,kBAAC,OAAD,CAAO,UAAe,CAAA,CACtB,CAAA,CAAA,EAkBJ,OAhBIiC,EAEA,kBAAC,SAAD,CACE,KAAK,SACL,YAAU,sBACV,cAAY,YACZ,QAASV,EACT,UAAWpB,EACT,4FACAC,CACF,EAEC,SAAA2B,CACK,CAAA,EAIV,kBAAC,OAAD,CACE,YAAU,sBACV,UAAW5B,EAAG,0CAA2CC,CAAS,EAClE,GAAIf,EAEH,SAAA0C,CACG,CAAA,CAEV"}
@@ -1,2 +1,2 @@
1
- require("../icons/icons.cjs");const e=require("../lib/cn.cjs"),t=require("./Button.cjs"),n=require("./StatusBadge.cjs");let r=require("react/jsx-runtime"),i=require("react"),a=require("class-variance-authority"),o=require("lucide-react");const s=(0,i.createContext)(null),c=(0,i.createContext)({tone:`neutral`,expandable:!1,expanded:!1,toggle:()=>void 0});function l(){return(0,i.useContext)(c)}const u=(0,i.createContext)(null),d=(0,a.cva)(`overflow-hidden rounded-lg border transition-colors`,{variants:{tone:{...n.STATUS_EDGE,ok:`border-po-border-soft`}},defaultVariants:{tone:`neutral`}}),f=(0,a.cva)(`overflow-hidden border-l-2 transition-colors`,{variants:{tone:{...n.STATUS_EDGE,ok:`border-transparent`,neutral:`border-transparent`}},defaultVariants:{tone:`neutral`}});function p({title:e,children:t}){return/* @__PURE__ */ (0,r.jsxs)(r.Fragment,{children:[/* @__PURE__ */ (0,r.jsx)(`span`,{"aria-hidden":!0,className:`grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden`,children:/* @__PURE__ */ (0,r.jsx)(o.Wrench,{className:`size-4`})}),/* @__PURE__ */ (0,r.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:`text-sm text-po-dim`,children:`Tool call`}),/* @__PURE__ */ (0,r.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 text-base`,children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:`shrink-0 font-semibold text-po-hi`,children:e}),/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:t})]})]})]})}function m({className:t,tone:n,expandable:a=!1,defaultExpanded:o=!1,expanded:l,onExpandedChange:p,children:m,...h}){let[g,_]=(0,i.useState)(o),v=(0,i.useContext)(u),y=(0,i.useContext)(s),b=v!==null,x=l??g,S={tone:n??`neutral`,headerAccessory:y,expandable:a,expanded:x,toggle:()=>{let e=!x;l===void 0&&_(e),p?.(e)}};return/* @__PURE__ */ (0,r.jsx)(c.Provider,{value:S,children:/* @__PURE__ */ (0,r.jsx)(s,{value:null,children:/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item`,"data-expanded":x,"data-grouped":b,className:e.cn(b?f({tone:n}):d({tone:n}),t),...h,children:typeof m==`function`?m(S):m})})})}function h({className:t,tone:n,title:i,summary:a,badge:o,children:s,...c}){let l=o===void 0?_[n??`neutral`]:o;return/* @__PURE__ */ (0,r.jsx)(u.Provider,{value:{tone:n??`neutral`},children:/* @__PURE__ */ (0,r.jsxs)(`div`,{"data-slot":`message-item-group`,className:e.cn(d({tone:n}),t),...c,children:[/* @__PURE__ */ (0,r.jsxs)(`div`,{className:`flex min-h-11 items-center gap-3 border-po-border-soft border-b px-4 py-3 text-sm text-po-dim`,children:[/* @__PURE__ */ (0,r.jsx)(p,{title:i,children:/* @__PURE__ */ (0,r.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-po-faint`,children:a})}),l!==null&&l!==``?/* @__PURE__ */ (0,r.jsx)(y,{tone:n??`neutral`,children:l}):null]}),/* @__PURE__ */ (0,r.jsx)(`div`,{className:`flex flex-col divide-y divide-po-border-soft`,children:s})]})})}function g(e){return e.running?`running`:e.isError?`error`:`ok`}const _={neutral:``,running:`Running`,ok:`Completed`,error:`Failed`,info:`Info`,accent:`Note`},v={running:/* @__PURE__ */ (0,r.jsx)(o.Loader2,{"aria-hidden":!0,className:`size-3 animate-spin`}),ok:/* @__PURE__ */ (0,r.jsx)(o.Check,{"aria-hidden":!0,className:`size-3`}),error:/* @__PURE__ */ (0,r.jsx)(o.CircleAlert,{"aria-hidden":!0,className:`size-3`})};function y({tone:e,children:t,...i}){return/* @__PURE__ */ (0,r.jsxs)(n.StatusBadge,{tone:e,size:`md`,className:`gap-1 font-semibold`,...i,children:[v[e],t]})}const b=/* @__PURE__ */ new Set([`ok`,`neutral`]);function x({className:n,title:a,badge:s,children:c,...d}){let{headerAccessory:f,tone:m,expandable:h,expanded:g,toggle:v}=l(),x=(0,i.useContext)(u),S=x!==null&&b.has(m)?null:_[m],C=s===void 0?S:s;return/* @__PURE__ */ (0,r.jsxs)(`div`,{"data-slot":`message-item-header`,className:e.cn(`flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim`,n),...d,children:[x===null?/* @__PURE__ */ (0,r.jsx)(p,{title:a,children:c}):/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:c}),f,C!==null&&C!==``?/* @__PURE__ */ (0,r.jsx)(y,{tone:m,"data-testid":`tool-status`,children:C}):null,h?/* @__PURE__ */ (0,r.jsx)(t.Button,{variant:`ghost`,size:`icon`,"data-testid":`tool-expand`,"aria-expanded":g,"aria-label":g?`collapse`:`expand`,onClick:v,className:`text-po-dim hover:text-po-blue`,children:g?/* @__PURE__ */ (0,r.jsx)(o.ChevronUp,{className:`size-4`}):/* @__PURE__ */ (0,r.jsx)(o.ChevronDown,{className:`size-4`})}):null]})}function S({className:t,...n}){return/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-body`,className:e.cn(`border-t border-po-border-soft px-4 py-3 text-base text-po-dim`,t),...n})}const C={neutral:`…`,running:`◐`,ok:`✓`,error:`✗`,info:`●`,accent:`●`},w=(0,a.cva)(`shrink-0`,{variants:{tone:{neutral:`text-po-faint`,running:`text-po-yellow`,ok:`text-po-green`,error:`text-po-red`,info:`text-po-blue`,accent:`text-po-magenta`}},defaultVariants:{tone:`neutral`}});function T({className:t,tone:n,glyph:i,expands:a=!1,children:o,...s}){let{toggle:c}=l(),u=/* @__PURE__ */ (0,r.jsxs)(r.Fragment,{children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:w({tone:n}),children:i??C[n??`neutral`]}),/* @__PURE__ */ (0,r.jsx)(`span`,{children:o})]});return a?/* @__PURE__ */ (0,r.jsx)(`button`,{type:`button`,"data-slot":`message-item-status`,"data-testid":`tool-more`,onClick:c,className:e.cn(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue`,t),children:u}):/* @__PURE__ */ (0,r.jsx)(`span`,{"data-slot":`message-item-status`,className:e.cn(`flex items-center gap-1.5 text-po-faint`,t),...s,children:u})}exports.MessageItem=m,exports.MessageItemBody=S,exports.MessageItemGroup=h,exports.MessageItemHeader=x,exports.MessageItemHeaderAccessoryContext=s,exports.MessageItemStatus=T,exports.STATUS_GLYPH=C,exports.STATUS_LABEL=_,exports.messageItemRowVariants=f,exports.messageItemStatusVariants=w,exports.messageItemVariants=d,exports.toolTone=g,exports.useMessageItem=l;
1
+ require("../icons/icons.cjs");const e=require("../lib/cn.cjs"),t=require("./Button.cjs"),n=require("./StatusBadge.cjs");let r=require("react/jsx-runtime"),i=require("react"),a=require("class-variance-authority"),o=require("lucide-react");const s=(0,i.createContext)(null),c=(0,i.createContext)({tone:`neutral`,expandable:!1,expanded:!1,toggle:()=>void 0});function l(){return(0,i.useContext)(c)}const u=(0,i.createContext)(null),d=(0,a.cva)(`overflow-hidden rounded-lg border transition-colors`,{variants:{tone:{...n.STATUS_EDGE,ok:`border-po-border-soft`}},defaultVariants:{tone:`neutral`}}),f=(0,a.cva)(`overflow-hidden border-l-2 transition-colors`,{variants:{tone:{...n.STATUS_EDGE,ok:`border-transparent`,neutral:`border-transparent`}},defaultVariants:{tone:`neutral`}});function p({title:e,children:t}){return/* @__PURE__ */ (0,r.jsxs)(r.Fragment,{children:[/* @__PURE__ */ (0,r.jsx)(`span`,{"aria-hidden":!0,className:`grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden`,children:/* @__PURE__ */ (0,r.jsx)(o.Wrench,{className:`size-4`})}),/* @__PURE__ */ (0,r.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:`text-sm text-po-dim`,children:`Tool call`}),/* @__PURE__ */ (0,r.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 text-base`,children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:`shrink-0 font-semibold text-po-hi`,children:e}),/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:t})]})]})]})}function m({className:t,tone:n,expandable:a=!1,defaultExpanded:o=!1,expanded:l,onExpandedChange:p,children:m,...h}){let[g,_]=(0,i.useState)(o),v=(0,i.useContext)(u),y=(0,i.useContext)(s),b=v!==null,x=l??g,S={tone:n??`neutral`,headerAccessory:y,expandable:a,expanded:x,toggle:()=>{let e=!x;l===void 0&&_(e),p?.(e)}};return/* @__PURE__ */ (0,r.jsx)(c.Provider,{value:S,children:/* @__PURE__ */ (0,r.jsx)(s,{value:null,children:/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item`,"data-expanded":x,"data-grouped":b,className:e.cn(b?f({tone:n}):d({tone:n}),t),...h,children:typeof m==`function`?m(S):m})})})}function h({className:e,tone:t,title:n,summary:i,badge:a,children:o,defaultExpanded:s=!1,...c}){return/* @__PURE__ */ (0,r.jsx)(m,{tone:t,expandable:!0,defaultExpanded:s,className:e,"data-slot":`message-item-group`,...c,children:({expanded:e})=>/* @__PURE__ */ (0,r.jsxs)(r.Fragment,{children:[/* @__PURE__ */ (0,r.jsx)(x,{title:n,badge:a,children:/* @__PURE__ */ (0,r.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-po-faint`,children:i})}),e?/* @__PURE__ */ (0,r.jsx)(u.Provider,{value:{tone:t??`neutral`},children:/* @__PURE__ */ (0,r.jsx)(`div`,{className:`flex flex-col divide-y divide-po-border-soft border-t border-po-border-soft`,children:o})}):null]})})}function g(e){return e.running?`running`:e.isError?`error`:`ok`}const _={neutral:``,running:`Running`,ok:`Completed`,error:`Failed`,info:`Info`,accent:`Note`},v={running:/* @__PURE__ */ (0,r.jsx)(o.Loader2,{"aria-hidden":!0,className:`size-3 animate-spin`}),ok:/* @__PURE__ */ (0,r.jsx)(o.Check,{"aria-hidden":!0,className:`size-3`}),error:/* @__PURE__ */ (0,r.jsx)(o.CircleAlert,{"aria-hidden":!0,className:`size-3`})};function y({tone:e,children:t,...i}){return/* @__PURE__ */ (0,r.jsxs)(n.StatusBadge,{tone:e,size:`md`,className:`gap-1 font-semibold`,...i,children:[v[e],t]})}const b=/* @__PURE__ */ new Set([`ok`,`neutral`]);function x({className:n,title:a,badge:s,children:c,...d}){let{headerAccessory:f,tone:m,expandable:h,expanded:g,toggle:v}=l(),x=(0,i.useContext)(u),S=x!==null&&b.has(m)?null:_[m],C=s===void 0?S:s;return/* @__PURE__ */ (0,r.jsxs)(`div`,{"data-slot":`message-item-header`,className:e.cn(`flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim`,n),...d,children:[x===null?/* @__PURE__ */ (0,r.jsx)(p,{title:a,children:c}):/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-summary`,className:`flex min-w-0 flex-1 items-center gap-2`,children:c}),f,C!==null&&C!==``?/* @__PURE__ */ (0,r.jsx)(y,{tone:m,"data-testid":`tool-status`,children:C}):null,h?/* @__PURE__ */ (0,r.jsx)(t.Button,{variant:`ghost`,size:`icon`,"data-testid":`tool-expand`,"aria-expanded":g,"aria-label":g?`collapse`:`expand`,onClick:v,className:`text-po-dim hover:text-po-blue`,children:g?/* @__PURE__ */ (0,r.jsx)(o.ChevronUp,{className:`size-4`}):/* @__PURE__ */ (0,r.jsx)(o.ChevronDown,{className:`size-4`})}):null]})}function S({className:t,...n}){return/* @__PURE__ */ (0,r.jsx)(`div`,{"data-slot":`message-item-body`,className:e.cn(`border-t border-po-border-soft px-4 py-3 text-base text-po-dim`,t),...n})}const C={neutral:`…`,running:`◐`,ok:`✓`,error:`✗`,info:`●`,accent:`●`},w=(0,a.cva)(`shrink-0`,{variants:{tone:{neutral:`text-po-faint`,running:`text-po-yellow`,ok:`text-po-green`,error:`text-po-red`,info:`text-po-blue`,accent:`text-po-magenta`}},defaultVariants:{tone:`neutral`}});function T({className:t,tone:n,glyph:i,expands:a=!1,children:o,...s}){let{toggle:c}=l(),u=/* @__PURE__ */ (0,r.jsxs)(r.Fragment,{children:[/* @__PURE__ */ (0,r.jsx)(`span`,{className:w({tone:n}),children:i??C[n??`neutral`]}),/* @__PURE__ */ (0,r.jsx)(`span`,{children:o})]});return a?/* @__PURE__ */ (0,r.jsx)(`button`,{type:`button`,"data-slot":`message-item-status`,"data-testid":`tool-more`,onClick:c,className:e.cn(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue`,t),children:u}):/* @__PURE__ */ (0,r.jsx)(`span`,{"data-slot":`message-item-status`,className:e.cn(`flex items-center gap-1.5 text-po-faint`,t),...s,children:u})}exports.MessageItem=m,exports.MessageItemBody=S,exports.MessageItemGroup=h,exports.MessageItemHeader=x,exports.MessageItemHeaderAccessoryContext=s,exports.MessageItemStatus=T,exports.STATUS_GLYPH=C,exports.STATUS_LABEL=_,exports.messageItemRowVariants=f,exports.messageItemStatusVariants=w,exports.messageItemVariants=d,exports.toolTone=g,exports.useMessageItem=l;
2
2
  //# sourceMappingURL=MessageItem.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItem.cjs","names":["createContext","useContext","cva","STATUS_EDGE","WrenchIcon","useState","cn","LoaderIcon","CheckIcon","AlertIcon","StatusBadge","Button","ChevronUpIcon","ChevronDownIcon","require_cn","require_Button","require_StatusBadge","react_jsx_runtime","react","class_variance_authority","lucide_react","MessageItemHeaderAccessoryContext","MessageItemContext","useMessageItem","MessageItemGroupContext","messageItemVariants","messageItemRowVariants","ToolCallLead","title","MessageItem","props","own","setOwn","defaultExpanded","group","headerAccessory","grouped","current","expanded","state","tone","next","onExpandedChange","className","children","MessageItemGroup","label","badge","STATUS_LABEL","summary","OutcomeBadge","toolTone","OUTCOME_ICON","SILENT_IN_GROUP","MessageItemHeader","defaultLabel","expandable","toggle","MessageItemBody","STATUS_GLYPH","messageItemStatusVariants","MessageItemStatus","content","glyph","expands"],"sources":["../../../src/components/MessageItem.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { type ComponentProps, createContext, type ReactNode, useContext, useState } from 'react';\n\nimport { AlertIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, LoaderIcon, WrenchIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\nimport { Button } from './Button';\nimport { STATUS_EDGE, StatusBadge, type StatusTone } from './StatusBadge';\n\n/**\n * The message item: the timeline card a tool call, a run, or a notice sits\n * in. The item owns its outcome tone and its expand state; the header, body,\n * and status parts read both from it, so a card composes the parts and never\n * threads `expanded` by hand. A tool message in a web plugin is built from\n * this, and so is the cockpit's own fallback item, which is what keeps them\n * looking alike.\n */\n\n/** The next item captures this accessory for its header, without passing it to nested items. */\nexport const MessageItemHeaderAccessoryContext = createContext<ReactNode>(null);\n\nexport interface MessageItemState {\n tone: StatusTone;\n headerAccessory?: ReactNode;\n /** Whether the header offers the toggle; an item that hides nothing offers none. */\n expandable: boolean;\n expanded: boolean;\n toggle: () => void;\n}\n\nconst MessageItemContext = createContext<MessageItemState>({\n tone: 'neutral',\n expandable: false,\n expanded: false,\n toggle: () => undefined,\n});\n\n/** The enclosing item's state, for a part that lives deeper than the item's render prop. */\nexport function useMessageItem(): MessageItemState {\n return useContext(MessageItemContext);\n}\n\n/**\n * The group an item is a row of, or null for an item that is a card of its\n * own. A row drops the frame the group already draws and keeps its tone as an\n * edge down its left side, and it stops repeating what the group's header has\n * said once: the tool's name, and an outcome the whole run shares.\n */\nconst MessageItemGroupContext = createContext<{ tone: StatusTone } | null>(null);\n\n/**\n * The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart.\n * A settled OK is the calm default and keeps the soft border; only work in flight or a failure colours the edge.\n */\nexport const messageItemVariants = cva('overflow-hidden rounded-lg border transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-po-border-soft' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. A settled row keeps a quiet edge. */\nexport const messageItemRowVariants = cva('overflow-hidden border-l-2 transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-transparent', neutral: 'border-transparent' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The card's lead: the tool chip, the \"Tool call\" caption, then the name and its summary on one line. */\nfunction ToolCallLead({ title, children }: { title: ReactNode; children?: ReactNode }) {\n return (\n <>\n <span\n aria-hidden\n className=\"grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden\"\n >\n <WrenchIcon className=\"size-4\" />\n </span>\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-sm text-po-dim\">Tool call</span>\n <div className=\"flex min-w-0 items-center gap-2 text-base\">\n <span className=\"shrink-0 font-semibold text-po-hi\">{title}</span>\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n </div>\n </div>\n </>\n );\n}\n\nexport interface MessageItemProps\n extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {\n /** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */\n expandable?: boolean;\n defaultExpanded?: boolean;\n /** Controlled mode; pair with onExpandedChange. Omit it and the item keeps its own state. */\n expanded?: boolean;\n onExpandedChange?: (expanded: boolean) => void;\n /** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */\n children?: ReactNode | ((state: MessageItemState) => ReactNode);\n}\n\nexport function MessageItem({\n className,\n tone,\n expandable = false,\n defaultExpanded = false,\n expanded,\n onExpandedChange,\n children,\n ...props\n}: MessageItemProps) {\n const [own, setOwn] = useState(defaultExpanded);\n const group = useContext(MessageItemGroupContext);\n const headerAccessory = useContext(MessageItemHeaderAccessoryContext);\n const grouped = group !== null;\n const current = expanded ?? own;\n const state: MessageItemState = {\n tone: tone ?? 'neutral',\n headerAccessory,\n expandable,\n expanded: current,\n toggle: () => {\n const next = !current;\n if (expanded === undefined) setOwn(next);\n onExpandedChange?.(next);\n },\n };\n return (\n <MessageItemContext.Provider value={state}>\n <MessageItemHeaderAccessoryContext value={null}>\n <div\n data-slot=\"message-item\"\n data-expanded={current}\n data-grouped={grouped}\n className={cn(grouped ? messageItemRowVariants({ tone }) : messageItemVariants({ tone }), className)}\n {...props}\n >\n {typeof children === 'function' ? children(state) : children}\n </div>\n </MessageItemHeaderAccessoryContext>\n </MessageItemContext.Provider>\n );\n}\n\nexport interface MessageItemGroupProps\n extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {\n /** The bold label at the left of the group header: the tool the run belongs to. */\n title: ReactNode;\n /** The line beside it, such as how many calls the group holds. */\n summary?: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n children?: ReactNode;\n}\n\n/**\n * One frame around a run of items that belong together.\n *\n * A transcript that calls the same tool five times in a row is five identical\n * frames, five gutter labels and five gaps, and the repetition reads louder\n * than the commands do. The group draws the frame once and each item inside it\n * becomes a row: same header, same expand, no card of its own. The tone still\n * belongs to the row, as an edge, so a failure in the middle of a run is not\n * flattened into the group's own outcome.\n */\nexport function MessageItemGroup({\n className,\n tone,\n title,\n summary,\n badge,\n children,\n ...props\n}: MessageItemGroupProps) {\n const label = badge === undefined ? STATUS_LABEL[tone ?? 'neutral'] : badge;\n return (\n <MessageItemGroupContext.Provider value={{ tone: tone ?? 'neutral' }}>\n <div data-slot=\"message-item-group\" className={cn(messageItemVariants({ tone }), className)} {...props}>\n <div className=\"flex min-h-11 items-center gap-3 border-po-border-soft border-b px-4 py-3 text-sm text-po-dim\">\n <ToolCallLead title={title}>\n <span className=\"min-w-0 flex-1 truncate text-po-faint\">{summary}</span>\n </ToolCallLead>\n {label !== null && label !== '' ? <OutcomeBadge tone={tone ?? 'neutral'}>{label}</OutcomeBadge> : null}\n </div>\n <div className=\"flex flex-col divide-y divide-po-border-soft\">{children}</div>\n </div>\n </MessageItemGroupContext.Provider>\n );\n}\n\n/** The tone a tool call's item wears: running while the tool runs, then its outcome. */\nexport function toolTone(state: { running: boolean; isError: boolean }): StatusTone {\n return state.running ? 'running' : state.isError ? 'error' : 'ok';\n}\n\n/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */\nexport const STATUS_LABEL: Readonly<Record<StatusTone, string>> = {\n neutral: '',\n running: 'Running',\n ok: 'Completed',\n error: 'Failed',\n info: 'Info',\n accent: 'Note',\n};\n\nconst OUTCOME_ICON: Partial<Record<StatusTone, ReactNode>> = {\n running: <LoaderIcon aria-hidden className=\"size-3 animate-spin\" />,\n ok: <CheckIcon aria-hidden className=\"size-3\" />,\n error: <AlertIcon aria-hidden className=\"size-3\" />,\n};\n\n/** The sentence-case outcome pill, led by the tone's icon. */\nfunction OutcomeBadge({ tone, children, ...props }: ComponentProps<typeof StatusBadge> & { tone: StatusTone }) {\n return (\n <StatusBadge tone={tone} size=\"md\" className=\"gap-1 font-semibold\" {...props}>\n {OUTCOME_ICON[tone]}\n {children}\n </StatusBadge>\n );\n}\n\nexport interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {\n /** The bold label at the left: the tool name. */\n title: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n /** The summary beside the title; it gets the remaining width. */\n children?: ReactNode;\n}\n\n/** Inside a group these two are the quiet outcome: the group's header has already said it. */\nconst SILENT_IN_GROUP: ReadonlySet<StatusTone> = new Set<StatusTone>(['ok', 'neutral']);\n\n/**\n * The title row: label, summary, the tone's badge, and the expand toggle when\n * the item is expandable.\n *\n * A row inside a group says less. The group's header has already named the\n * tool and stated the run's outcome, so the row drops its title and speaks up\n * only when something went wrong or is still going: five OK badges down a run\n * of five are noise, and the one ERROR among them is the point.\n */\nexport function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps) {\n const { headerAccessory, tone, expandable, expanded, toggle } = useMessageItem();\n const group = useContext(MessageItemGroupContext);\n const defaultLabel = group !== null && SILENT_IN_GROUP.has(tone) ? null : STATUS_LABEL[tone];\n const label = badge === undefined ? defaultLabel : badge;\n return (\n <div\n data-slot=\"message-item-header\"\n className={cn('flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim', className)}\n {...props}\n >\n {group === null ? (\n <ToolCallLead title={title}>{children}</ToolCallLead>\n ) : (\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n )}\n {headerAccessory}\n {label !== null && label !== '' ? (\n <OutcomeBadge tone={tone} data-testid=\"tool-status\">\n {label}\n </OutcomeBadge>\n ) : null}\n {expandable ? (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n data-testid=\"tool-expand\"\n aria-expanded={expanded}\n aria-label={expanded ? 'collapse' : 'expand'}\n onClick={toggle}\n className=\"text-po-dim hover:text-po-blue\"\n >\n {expanded ? <ChevronUpIcon className=\"size-4\" /> : <ChevronDownIcon className=\"size-4\" />}\n </Button>\n ) : null}\n </div>\n );\n}\n\n/** The body under the header, on the card's own surface. */\nexport function MessageItemBody({ className, ...props }: ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"message-item-body\"\n className={cn('border-t border-po-border-soft px-4 py-3 text-base text-po-dim', className)}\n {...props}\n />\n );\n}\n\n/** The glyph a tone reads as in a status line. */\nexport const STATUS_GLYPH: Readonly<Record<StatusTone, string>> = {\n neutral: '…',\n running: '◐',\n ok: '✓',\n error: '✗',\n info: '●',\n accent: '●',\n};\n\nexport const messageItemStatusVariants = cva('shrink-0', {\n variants: {\n tone: {\n neutral: 'text-po-faint',\n running: 'text-po-yellow',\n ok: 'text-po-green',\n error: 'text-po-red',\n info: 'text-po-blue',\n accent: 'text-po-magenta',\n } satisfies Record<StatusTone, string>,\n },\n defaultVariants: { tone: 'neutral' },\n});\n\nexport interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {\n /** Replaces the tone's glyph. */\n glyph?: string;\n /** Renders as a button that expands the item: the \"N more line(s)\" hint. Only className carries over. */\n expands?: boolean;\n}\n\n/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */\nexport function MessageItemStatus({\n className,\n tone,\n glyph,\n expands = false,\n children,\n ...props\n}: MessageItemStatusProps) {\n const { toggle } = useMessageItem();\n const content = (\n <>\n <span className={messageItemStatusVariants({ tone })}>{glyph ?? STATUS_GLYPH[tone ?? 'neutral']}</span>\n <span>{children}</span>\n </>\n );\n if (expands) {\n return (\n <button\n type=\"button\"\n data-slot=\"message-item-status\"\n data-testid=\"tool-more\"\n onClick={toggle}\n className={cn(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue',\n className,\n )}\n >\n {content}\n </button>\n );\n }\n return (\n <span\n data-slot=\"message-item-status\"\n className={cn('flex items-center gap-1.5 text-po-faint', className)}\n {...props}\n >\n {content}\n </span>\n );\n}\n"],"mappings":"8OAkBA,MAAaqB,GAAA,EAAoCrB,EAAAA,cAAAA,CAAyB,IAAI,EAWxEsB,GAAA,EAAqBtB,EAAAA,cAAAA,CAAgC,CACzD,KAAM,UACN,WAAY,GACZ,SAAU,GACV,WAAc,IAAA,EAChB,CAAC,EAGD,SAAgBuB,GAAmC,CACjD,OAAA,EAAOtB,EAAAA,WAAAA,CAAWqB,CAAkB,CACtC,CAQA,MAAME,GAAA,EAA0BxB,EAAAA,cAAAA,CAA2C,IAAI,EAMlEyB,GAAA,EAAsBvB,EAAAA,IAAAA,CAAI,sDAAuD,CAC5F,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAAA,YAAa,GAAI,uBAAwB,CAAE,EAClE,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGYuB,GAAA,EAAyBxB,EAAAA,IAAAA,CAAI,+CAAgD,CACxF,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAAA,YAAa,GAAI,qBAAsB,QAAS,oBAAqB,CAAE,EAC9F,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGD,SAASwB,EAAa,CAAE,QAAO,YAAwD,CACrF,MACE,iBAAA,EAAAV,EAAA,KAAA,CAAAA,EAAA,SAAA,CAAA,SAAA,CACE,iBAAA,EAAAA,EAAA,IAAA,CAAC,OAAD,CACE,cAAA,GACA,UAAU,4FAEV,SAAA,iBAAA,EAAAA,EAAA,IAAA,CAACb,EAAAA,OAAD,CAAY,UAAU,QAAU,CAAA,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AAe,CAAA,CACtB,CAAA,CAAA,EAkBJ,OAhBI+C,EAEA,iBAAA,EAAA/C,EAAA,IAAA,CAAC,SAAD,CACE,KAAK,SACL,YAAU,sBACV,cAAY,YACZ,QAASwC,EACT,UAAWnD,EAAAA,GACT,4FACAqC,CACF,EAEC,SAAAmB,CACK,CAAA,EAIV,iBAAA,EAAA7C,EAAA,IAAA,CAAC,OAAD,CACE,YAAU,sBACV,UAAWX,EAAAA,GAAG,0CAA2CqC,CAAS,EAClE,GAAIb,EAEH,SAAAgC,CACG,CAAA,CAEV"}
1
+ {"version":3,"file":"MessageItem.cjs","names":["createContext","useContext","cva","STATUS_EDGE","WrenchIcon","useState","cn","LoaderIcon","CheckIcon","AlertIcon","StatusBadge","Button","ChevronUpIcon","ChevronDownIcon","require_cn","require_Button","require_StatusBadge","react_jsx_runtime","react","class_variance_authority","lucide_react","MessageItemHeaderAccessoryContext","MessageItemContext","useMessageItem","MessageItemGroupContext","messageItemVariants","messageItemRowVariants","ToolCallLead","title","MessageItem","props","own","setOwn","defaultExpanded","group","headerAccessory","grouped","current","expanded","state","tone","next","onExpandedChange","className","children","MessageItemGroup","MessageItemHeader","summary","toolTone","STATUS_LABEL","OUTCOME_ICON","OutcomeBadge","SILENT_IN_GROUP","defaultLabel","label","badge","expandable","toggle","MessageItemBody","STATUS_GLYPH","messageItemStatusVariants","MessageItemStatus","content","glyph","expands"],"sources":["../../../src/components/MessageItem.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { type ComponentProps, createContext, type ReactNode, useContext, useState } from 'react';\n\nimport { AlertIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, LoaderIcon, WrenchIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\nimport { Button } from './Button';\nimport { STATUS_EDGE, StatusBadge, type StatusTone } from './StatusBadge';\n\n/**\n * The message item: the timeline card a tool call, a run, or a notice sits\n * in. The item owns its outcome tone and its expand state; the header, body,\n * and status parts read both from it, so a card composes the parts and never\n * threads `expanded` by hand. A tool message in a web plugin is built from\n * this, and so is the cockpit's own fallback item, which is what keeps them\n * looking alike.\n */\n\n/** The next item captures this accessory for its header, without passing it to nested items. */\nexport const MessageItemHeaderAccessoryContext = createContext<ReactNode>(null);\n\nexport interface MessageItemState {\n tone: StatusTone;\n headerAccessory?: ReactNode;\n /** Whether the header offers the toggle; an item that hides nothing offers none. */\n expandable: boolean;\n expanded: boolean;\n toggle: () => void;\n}\n\nconst MessageItemContext = createContext<MessageItemState>({\n tone: 'neutral',\n expandable: false,\n expanded: false,\n toggle: () => undefined,\n});\n\n/** The enclosing item's state, for a part that lives deeper than the item's render prop. */\nexport function useMessageItem(): MessageItemState {\n return useContext(MessageItemContext);\n}\n\n/**\n * The group an item is a row of, or null for an item that is a card of its\n * own. A row drops the frame the group already draws and keeps its tone as an\n * edge down its left side, and it stops repeating what the group's header has\n * said once: the tool's name, and an outcome the whole run shares.\n */\nconst MessageItemGroupContext = createContext<{ tone: StatusTone } | null>(null);\n\n/**\n * The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart.\n * A settled OK is the calm default and keeps the soft border; only work in flight or a failure colours the edge.\n */\nexport const messageItemVariants = cva('overflow-hidden rounded-lg border transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-po-border-soft' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. A settled row keeps a quiet edge. */\nexport const messageItemRowVariants = cva('overflow-hidden border-l-2 transition-colors', {\n variants: { tone: { ...STATUS_EDGE, ok: 'border-transparent', neutral: 'border-transparent' } },\n defaultVariants: { tone: 'neutral' },\n});\n\n/** The card's lead: the tool chip, the \"Tool call\" caption, then the name and its summary on one line. */\nfunction ToolCallLead({ title, children }: { title: ReactNode; children?: ReactNode }) {\n return (\n <>\n <span\n aria-hidden\n className=\"grid size-9 shrink-0 place-items-center rounded-full bg-po-rail text-po-dim max-sm:hidden\"\n >\n <WrenchIcon className=\"size-4\" />\n </span>\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-sm text-po-dim\">Tool call</span>\n <div className=\"flex min-w-0 items-center gap-2 text-base\">\n <span className=\"shrink-0 font-semibold text-po-hi\">{title}</span>\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n </div>\n </div>\n </>\n );\n}\n\nexport interface MessageItemProps\n extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {\n /** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */\n expandable?: boolean;\n defaultExpanded?: boolean;\n /** Controlled mode; pair with onExpandedChange. Omit it and the item keeps its own state. */\n expanded?: boolean;\n onExpandedChange?: (expanded: boolean) => void;\n /** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */\n children?: ReactNode | ((state: MessageItemState) => ReactNode);\n}\n\nexport function MessageItem({\n className,\n tone,\n expandable = false,\n defaultExpanded = false,\n expanded,\n onExpandedChange,\n children,\n ...props\n}: MessageItemProps) {\n const [own, setOwn] = useState(defaultExpanded);\n const group = useContext(MessageItemGroupContext);\n const headerAccessory = useContext(MessageItemHeaderAccessoryContext);\n const grouped = group !== null;\n const current = expanded ?? own;\n const state: MessageItemState = {\n tone: tone ?? 'neutral',\n headerAccessory,\n expandable,\n expanded: current,\n toggle: () => {\n const next = !current;\n if (expanded === undefined) setOwn(next);\n onExpandedChange?.(next);\n },\n };\n return (\n <MessageItemContext.Provider value={state}>\n <MessageItemHeaderAccessoryContext value={null}>\n <div\n data-slot=\"message-item\"\n data-expanded={current}\n data-grouped={grouped}\n className={cn(grouped ? messageItemRowVariants({ tone }) : messageItemVariants({ tone }), className)}\n {...props}\n >\n {typeof children === 'function' ? children(state) : children}\n </div>\n </MessageItemHeaderAccessoryContext>\n </MessageItemContext.Provider>\n );\n}\n\nexport interface MessageItemGroupProps\n extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {\n /** The bold label at the left of the group header: the tool the run belongs to. */\n title: ReactNode;\n /** The line beside it, such as how many calls the group holds. */\n summary?: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n defaultExpanded?: boolean;\n children?: ReactNode;\n}\n\n/**\n * One frame around a run of items that belong together.\n *\n * A transcript that calls the same tool five times in a row is five identical\n * frames, five gutter labels and five gaps, and the repetition reads louder\n * than the commands do. The group draws the frame once and each item inside it\n * becomes a row: same header, same expand, no card of its own. The tone still\n * belongs to the row, as an edge, so a failure in the middle of a run is not\n * flattened into the group's own outcome.\n */\nexport function MessageItemGroup({\n className,\n tone,\n title,\n summary,\n badge,\n children,\n defaultExpanded = false,\n ...props\n}: MessageItemGroupProps) {\n return (\n <MessageItem\n tone={tone}\n expandable\n defaultExpanded={defaultExpanded}\n className={className}\n data-slot=\"message-item-group\"\n {...props}\n >\n {({ expanded }) => (\n <>\n <MessageItemHeader title={title} badge={badge}>\n <span className=\"min-w-0 flex-1 truncate text-po-faint\">{summary}</span>\n </MessageItemHeader>\n {expanded ? (\n <MessageItemGroupContext.Provider value={{ tone: tone ?? 'neutral' }}>\n <div className=\"flex flex-col divide-y divide-po-border-soft border-t border-po-border-soft\">\n {children}\n </div>\n </MessageItemGroupContext.Provider>\n ) : null}\n </>\n )}\n </MessageItem>\n );\n}\n\n/** The tone a tool call's item wears: running while the tool runs, then its outcome. */\nexport function toolTone(state: { running: boolean; isError: boolean }): StatusTone {\n return state.running ? 'running' : state.isError ? 'error' : 'ok';\n}\n\n/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */\nexport const STATUS_LABEL: Readonly<Record<StatusTone, string>> = {\n neutral: '',\n running: 'Running',\n ok: 'Completed',\n error: 'Failed',\n info: 'Info',\n accent: 'Note',\n};\n\nconst OUTCOME_ICON: Partial<Record<StatusTone, ReactNode>> = {\n running: <LoaderIcon aria-hidden className=\"size-3 animate-spin\" />,\n ok: <CheckIcon aria-hidden className=\"size-3\" />,\n error: <AlertIcon aria-hidden className=\"size-3\" />,\n};\n\n/** The sentence-case outcome pill, led by the tone's icon. */\nfunction OutcomeBadge({ tone, children, ...props }: ComponentProps<typeof StatusBadge> & { tone: StatusTone }) {\n return (\n <StatusBadge tone={tone} size=\"md\" className=\"gap-1 font-semibold\" {...props}>\n {OUTCOME_ICON[tone]}\n {children}\n </StatusBadge>\n );\n}\n\nexport interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {\n /** The bold label at the left: the tool name. */\n title: ReactNode;\n /** The badge text; defaults to the tone's label, null hides the badge. */\n badge?: ReactNode | null;\n /** The summary beside the title; it gets the remaining width. */\n children?: ReactNode;\n}\n\n/** Inside a group these two are the quiet outcome: the group's header has already said it. */\nconst SILENT_IN_GROUP: ReadonlySet<StatusTone> = new Set<StatusTone>(['ok', 'neutral']);\n\n/**\n * The title row: label, summary, the tone's badge, and the expand toggle when\n * the item is expandable.\n *\n * A row inside a group says less. The group's header has already named the\n * tool and stated the run's outcome, so the row drops its title and speaks up\n * only when something went wrong or is still going: five OK badges down a run\n * of five are noise, and the one ERROR among them is the point.\n */\nexport function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps) {\n const { headerAccessory, tone, expandable, expanded, toggle } = useMessageItem();\n const group = useContext(MessageItemGroupContext);\n const defaultLabel = group !== null && SILENT_IN_GROUP.has(tone) ? null : STATUS_LABEL[tone];\n const label = badge === undefined ? defaultLabel : badge;\n return (\n <div\n data-slot=\"message-item-header\"\n className={cn('flex min-h-11 items-center gap-3 px-4 py-3 text-sm text-po-dim', className)}\n {...props}\n >\n {group === null ? (\n <ToolCallLead title={title}>{children}</ToolCallLead>\n ) : (\n <div data-slot=\"message-item-summary\" className=\"flex min-w-0 flex-1 items-center gap-2\">\n {children}\n </div>\n )}\n {headerAccessory}\n {label !== null && label !== '' ? (\n <OutcomeBadge tone={tone} data-testid=\"tool-status\">\n {label}\n </OutcomeBadge>\n ) : null}\n {expandable ? (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n data-testid=\"tool-expand\"\n aria-expanded={expanded}\n aria-label={expanded ? 'collapse' : 'expand'}\n onClick={toggle}\n className=\"text-po-dim hover:text-po-blue\"\n >\n {expanded ? <ChevronUpIcon className=\"size-4\" /> : <ChevronDownIcon className=\"size-4\" />}\n </Button>\n ) : null}\n </div>\n );\n}\n\n/** The body under the header, on the card's own surface. */\nexport function MessageItemBody({ className, ...props }: ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"message-item-body\"\n className={cn('border-t border-po-border-soft px-4 py-3 text-base text-po-dim', className)}\n {...props}\n />\n );\n}\n\n/** The glyph a tone reads as in a status line. */\nexport const STATUS_GLYPH: Readonly<Record<StatusTone, string>> = {\n neutral: '…',\n running: '◐',\n ok: '✓',\n error: '✗',\n info: '●',\n accent: '●',\n};\n\nexport const messageItemStatusVariants = cva('shrink-0', {\n variants: {\n tone: {\n neutral: 'text-po-faint',\n running: 'text-po-yellow',\n ok: 'text-po-green',\n error: 'text-po-red',\n info: 'text-po-blue',\n accent: 'text-po-magenta',\n } satisfies Record<StatusTone, string>,\n },\n defaultVariants: { tone: 'neutral' },\n});\n\nexport interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {\n /** Replaces the tone's glyph. */\n glyph?: string;\n /** Renders as a button that expands the item: the \"N more line(s)\" hint. Only className carries over. */\n expands?: boolean;\n}\n\n/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */\nexport function MessageItemStatus({\n className,\n tone,\n glyph,\n expands = false,\n children,\n ...props\n}: MessageItemStatusProps) {\n const { toggle } = useMessageItem();\n const content = (\n <>\n <span className={messageItemStatusVariants({ tone })}>{glyph ?? STATUS_GLYPH[tone ?? 'neutral']}</span>\n <span>{children}</span>\n </>\n );\n if (expands) {\n return (\n <button\n type=\"button\"\n data-slot=\"message-item-status\"\n data-testid=\"tool-more\"\n onClick={toggle}\n className={cn(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 text-po-faint hover:text-po-blue',\n className,\n )}\n >\n {content}\n </button>\n );\n }\n return (\n <span\n data-slot=\"message-item-status\"\n className={cn('flex items-center gap-1.5 text-po-faint', className)}\n {...props}\n >\n {content}\n </span>\n );\n}\n"],"mappings":"8OAkBA,MAAaqB,GAAA,EAAoCrB,EAAAA,cAAAA,CAAyB,IAAI,EAWxEsB,GAAA,EAAqBtB,EAAAA,cAAAA,CAAgC,CACzD,KAAM,UACN,WAAY,GACZ,SAAU,GACV,WAAc,IAAA,EAChB,CAAC,EAGD,SAAgBuB,GAAmC,CACjD,OAAA,EAAOtB,EAAAA,WAAAA,CAAWqB,CAAkB,CACtC,CAQA,MAAME,GAAA,EAA0BxB,EAAAA,cAAAA,CAA2C,IAAI,EAMlEyB,GAAA,EAAsBvB,EAAAA,IAAAA,CAAI,sDAAuD,CAC5F,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAAA,YAAa,GAAI,uBAAwB,CAAE,EAClE,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGYuB,GAAA,EAAyBxB,EAAAA,IAAAA,CAAI,+CAAgD,CACxF,SAAU,CAAE,KAAM,CAAE,GAAGC,EAAAA,YAAa,GAAI,qBAAsB,QAAS,oBAAqB,CAAE,EAC9F,gBAAiB,CAAE,KAAM,SAAU,CACrC,CAAC,EAGD,SAASwB,EAAa,CAAE,QAAO,YAAwD,CACrF,MACE,iBAAA,EAAAV,EAAA,KAAA,CAAAA,EAAA,SAAA,CAAA,SAAA,CACE,iBAAA,EAAAA,EAAA,IAAA,CAAC,OAAD,CACE,cAAA,GACA,UAAU,4FAEV,SAAA,iBAAA,EAAAA,EAAA,IAAA,CAACb,EAAAA,OAAD,CAAY,UAAU,QAAU,CAAA,CAC5B,CAAA,EACN,iBAAA,EAAAa,EAAA,KAAA,CAAC,MAAD,CAAK,UAAU,+BAAf,SAAA,CACE,iBAAA,EAAAA,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,sBAAsB,SAAA,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-web-components",
3
- "version": "0.0.0-alpha.29",
3
+ "version": "0.0.0-alpha.30",
4
4
  "description": "Shared web components and theme tokens for the Po cockpit and its web plugins: shadcn-style primitives on Radix, tuned to the Po palette, with runtime theme configs.",
5
5
  "keywords": [
6
6
  "ai",
@@ -106,8 +106,8 @@
106
106
  "tailwind-merge": "3.7.0"
107
107
  },
108
108
  "devDependencies": {
109
- "@agimon-ai/po-core": "0.0.0-alpha.29",
110
- "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.29",
109
+ "@agimon-ai/po-core": "0.0.0-alpha.30",
110
+ "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.30",
111
111
  "@types/node": "26.6.5",
112
112
  "@types/react": "19.3.0",
113
113
  "@types/react-dom": "19.3.0",