@djangocfg/ext-knowbase 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/config.cjs CHANGED
@@ -27,7 +27,7 @@ var import_ext_base = require("@djangocfg/ext-base");
27
27
  // package.json
28
28
  var package_default = {
29
29
  name: "@djangocfg/ext-knowbase",
30
- version: "1.0.17",
30
+ version: "1.0.19",
31
31
  description: "Knowledge base and chat extension for DjangoCFG",
32
32
  keywords: [
33
33
  "django",
@@ -98,7 +98,7 @@ var package_default = {
98
98
  "react-dom": "^19",
99
99
  "react-markdown": "^9.0.0 || ^10.0.0",
100
100
  swr: "^2.3.7",
101
- zod: "^4.1.13",
101
+ zod: "^4.3.4",
102
102
  moment: "^2.30.1"
103
103
  },
104
104
  devDependencies: {
package/dist/config.js CHANGED
@@ -4,7 +4,7 @@ import { createExtensionConfig } from "@djangocfg/ext-base";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@djangocfg/ext-knowbase",
7
- version: "1.0.17",
7
+ version: "1.0.19",
8
8
  description: "Knowledge base and chat extension for DjangoCFG",
9
9
  keywords: [
10
10
  "django",
@@ -75,7 +75,7 @@ var package_default = {
75
75
  "react-dom": "^19",
76
76
  "react-markdown": "^9.0.0 || ^10.0.0",
77
77
  swr: "^2.3.7",
78
- zod: "^4.1.13",
78
+ zod: "^4.3.4",
79
79
  moment: "^2.30.1"
80
80
  },
81
81
  devDependencies: {
package/dist/hooks.cjs CHANGED
@@ -1481,8 +1481,8 @@ var ArchiveItemSchema = zod.z.object({
1481
1481
  chunks_count: zod.z.int(),
1482
1482
  total_tokens: zod.z.int(),
1483
1483
  processing_cost: zod.z.number(),
1484
- created_at: zod.z.iso.datetime(),
1485
- updated_at: zod.z.iso.datetime()
1484
+ created_at: zod.z.string().datetime({ offset: true }),
1485
+ updated_at: zod.z.string().datetime({ offset: true })
1486
1486
  });
1487
1487
  var ArchiveItemChunkSchema = zod.z.object({
1488
1488
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1494,7 +1494,7 @@ var ArchiveItemChunkSchema = zod.z.object({
1494
1494
  embedding_model: zod.z.string(),
1495
1495
  embedding_cost: zod.z.number(),
1496
1496
  context_summary: zod.z.object({}),
1497
- created_at: zod.z.iso.datetime()
1497
+ created_at: zod.z.string().datetime({ offset: true })
1498
1498
  });
1499
1499
  var ArchiveItemChunkDetailSchema = zod.z.object({
1500
1500
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1506,7 +1506,7 @@ var ArchiveItemChunkDetailSchema = zod.z.object({
1506
1506
  embedding_model: zod.z.string(),
1507
1507
  embedding_cost: zod.z.number(),
1508
1508
  context_summary: zod.z.object({}),
1509
- created_at: zod.z.iso.datetime(),
1509
+ created_at: zod.z.string().datetime({ offset: true }),
1510
1510
  context_metadata: zod.z.record(zod.z.string(), zod.z.any())
1511
1511
  });
1512
1512
  var ArchiveItemChunkRequestSchema = zod.z.object({
@@ -1527,8 +1527,8 @@ var ArchiveItemDetailSchema = zod.z.object({
1527
1527
  chunks_count: zod.z.int(),
1528
1528
  total_tokens: zod.z.int(),
1529
1529
  processing_cost: zod.z.number(),
1530
- created_at: zod.z.iso.datetime(),
1531
- updated_at: zod.z.iso.datetime(),
1530
+ created_at: zod.z.string().datetime({ offset: true }),
1531
+ updated_at: zod.z.string().datetime({ offset: true }),
1532
1532
  raw_content: zod.z.string(),
1533
1533
  metadata: zod.z.record(zod.z.string(), zod.z.any())
1534
1534
  });
@@ -1591,7 +1591,7 @@ var ChatMessageSchema = zod.z.object({
1591
1591
  tokens_used: zod.z.int().min(0).max(2147483647).optional(),
1592
1592
  cost_usd: zod.z.number(),
1593
1593
  processing_time_ms: zod.z.int().min(0).max(2147483647).optional(),
1594
- created_at: zod.z.iso.datetime(),
1594
+ created_at: zod.z.string().datetime({ offset: true }),
1595
1595
  context_chunks: zod.z.record(zod.z.string(), zod.z.any()).optional()
1596
1596
  });
1597
1597
 
@@ -1649,8 +1649,8 @@ var ChatSessionSchema = zod.z.object({
1649
1649
  model_name: zod.z.string().max(100).optional(),
1650
1650
  temperature: zod.z.number().optional(),
1651
1651
  max_context_chunks: zod.z.int().min(0).max(2147483647).optional(),
1652
- created_at: zod.z.iso.datetime(),
1653
- updated_at: zod.z.iso.datetime()
1652
+ created_at: zod.z.string().datetime({ offset: true }),
1653
+ updated_at: zod.z.string().datetime({ offset: true })
1654
1654
  });
1655
1655
  var ChatSessionCreateRequestSchema = zod.z.object({
1656
1656
  title: zod.z.string().max(255).optional(),
@@ -1680,10 +1680,10 @@ var DocumentSchema = zod.z.object({
1680
1680
  chunks_count: zod.z.int(),
1681
1681
  total_tokens: zod.z.int(),
1682
1682
  total_cost_usd: zod.z.number(),
1683
- created_at: zod.z.iso.datetime(),
1684
- updated_at: zod.z.iso.datetime(),
1685
- processing_started_at: zod.z.iso.datetime(),
1686
- processing_completed_at: zod.z.iso.datetime(),
1683
+ created_at: zod.z.string().datetime({ offset: true }),
1684
+ updated_at: zod.z.string().datetime({ offset: true }),
1685
+ processing_started_at: zod.z.string().datetime({ offset: true }),
1686
+ processing_completed_at: zod.z.string().datetime({ offset: true }),
1687
1687
  processing_error: zod.z.string(),
1688
1688
  metadata: zod.z.record(zod.z.string(), zod.z.any()).nullable().optional()
1689
1689
  });
@@ -1692,7 +1692,7 @@ var DocumentCategorySchema = zod.z.object({
1692
1692
  name: zod.z.string().max(255),
1693
1693
  description: zod.z.string().optional(),
1694
1694
  is_public: zod.z.boolean().optional(),
1695
- created_at: zod.z.iso.datetime()
1695
+ created_at: zod.z.string().datetime({ offset: true })
1696
1696
  });
1697
1697
 
1698
1698
  // src/api/generated/ext_knowbase/_utils/schemas/DocumentArchive.schema.ts
@@ -1707,7 +1707,7 @@ var DocumentArchiveSchema = zod.z.object({
1707
1707
  file_size: zod.z.int(),
1708
1708
  archive_type: zod.z.nativeEnum(DocumentArchiveArchiveType),
1709
1709
  processing_status: zod.z.nativeEnum(DocumentArchiveProcessingStatus),
1710
- processed_at: zod.z.iso.datetime().nullable(),
1710
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1711
1711
  processing_duration_ms: zod.z.int(),
1712
1712
  processing_error: zod.z.string(),
1713
1713
  total_items: zod.z.int(),
@@ -1719,8 +1719,8 @@ var DocumentArchiveSchema = zod.z.object({
1719
1719
  processing_progress: zod.z.number(),
1720
1720
  vectorization_progress: zod.z.number(),
1721
1721
  is_processed: zod.z.boolean(),
1722
- created_at: zod.z.iso.datetime(),
1723
- updated_at: zod.z.iso.datetime()
1722
+ created_at: zod.z.string().datetime({ offset: true }),
1723
+ updated_at: zod.z.string().datetime({ offset: true })
1724
1724
  });
1725
1725
  var DocumentArchiveDetailSchema = zod.z.object({
1726
1726
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1733,7 +1733,7 @@ var DocumentArchiveDetailSchema = zod.z.object({
1733
1733
  file_size: zod.z.int(),
1734
1734
  archive_type: zod.z.nativeEnum(DocumentArchiveDetailArchiveType),
1735
1735
  processing_status: zod.z.nativeEnum(DocumentArchiveDetailProcessingStatus),
1736
- processed_at: zod.z.iso.datetime().nullable(),
1736
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1737
1737
  processing_duration_ms: zod.z.int(),
1738
1738
  processing_error: zod.z.string(),
1739
1739
  total_items: zod.z.int(),
@@ -1745,8 +1745,8 @@ var DocumentArchiveDetailSchema = zod.z.object({
1745
1745
  processing_progress: zod.z.number(),
1746
1746
  vectorization_progress: zod.z.number(),
1747
1747
  is_processed: zod.z.boolean(),
1748
- created_at: zod.z.iso.datetime(),
1749
- updated_at: zod.z.iso.datetime(),
1748
+ created_at: zod.z.string().datetime({ offset: true }),
1749
+ updated_at: zod.z.string().datetime({ offset: true }),
1750
1750
  items: zod.z.array(ArchiveItemSchema),
1751
1751
  file_tree: zod.z.record(zod.z.string(), zod.z.any()),
1752
1752
  metadata: zod.z.record(zod.z.string(), zod.z.any()).nullable().optional()
@@ -1761,12 +1761,12 @@ var DocumentArchiveListSchema = zod.z.object({
1761
1761
  file_size: zod.z.int(),
1762
1762
  archive_type: zod.z.nativeEnum(DocumentArchiveListArchiveType),
1763
1763
  processing_status: zod.z.nativeEnum(DocumentArchiveListProcessingStatus),
1764
- processed_at: zod.z.iso.datetime().nullable(),
1764
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1765
1765
  total_items: zod.z.int(),
1766
1766
  total_chunks: zod.z.int(),
1767
1767
  total_cost_usd: zod.z.number(),
1768
1768
  processing_progress: zod.z.number(),
1769
- created_at: zod.z.iso.datetime()
1769
+ created_at: zod.z.string().datetime({ offset: true })
1770
1770
  });
1771
1771
  var DocumentArchiveRequestSchema = zod.z.object({
1772
1772
  title: zod.z.string().min(1).max(512),
@@ -1905,8 +1905,8 @@ var PublicDocumentListSchema = zod.z.object({
1905
1905
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
1906
1906
  title: zod.z.string().max(512),
1907
1907
  category: PublicCategorySchema,
1908
- created_at: zod.z.iso.datetime(),
1909
- updated_at: zod.z.iso.datetime()
1908
+ created_at: zod.z.string().datetime({ offset: true }),
1909
+ updated_at: zod.z.string().datetime({ offset: true })
1910
1910
  });
1911
1911
 
1912
1912
  // src/api/generated/ext_knowbase/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
@@ -1966,8 +1966,8 @@ var PublicDocumentSchema = zod.z.object({
1966
1966
  title: zod.z.string().max(512),
1967
1967
  content: zod.z.string(),
1968
1968
  category: PublicCategorySchema,
1969
- created_at: zod.z.iso.datetime(),
1970
- updated_at: zod.z.iso.datetime()
1969
+ created_at: zod.z.string().datetime({ offset: true }),
1970
+ updated_at: zod.z.string().datetime({ offset: true })
1971
1971
  });
1972
1972
  var VectorizationResultSchema = zod.z.object({
1973
1973
  vectorized_count: zod.z.int(),
@@ -4797,7 +4797,7 @@ var apiKnowbase = api.createExtensionAPI(API);
4797
4797
  // package.json
4798
4798
  var package_default = {
4799
4799
  name: "@djangocfg/ext-knowbase",
4800
- version: "1.0.17",
4800
+ version: "1.0.19",
4801
4801
  description: "Knowledge base and chat extension for DjangoCFG",
4802
4802
  keywords: [
4803
4803
  "django",
@@ -4868,7 +4868,7 @@ var package_default = {
4868
4868
  "react-dom": "^19",
4869
4869
  "react-markdown": "^9.0.0 || ^10.0.0",
4870
4870
  swr: "^2.3.7",
4871
- zod: "^4.1.13",
4871
+ zod: "^4.3.4",
4872
4872
  moment: "^2.30.1"
4873
4873
  },
4874
4874
  devDependencies: {
package/dist/hooks.js CHANGED
@@ -1472,8 +1472,8 @@ var ArchiveItemSchema = z.object({
1472
1472
  chunks_count: z.int(),
1473
1473
  total_tokens: z.int(),
1474
1474
  processing_cost: z.number(),
1475
- created_at: z.iso.datetime(),
1476
- updated_at: z.iso.datetime()
1475
+ created_at: z.string().datetime({ offset: true }),
1476
+ updated_at: z.string().datetime({ offset: true })
1477
1477
  });
1478
1478
  var ArchiveItemChunkSchema = z.object({
1479
1479
  id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1485,7 +1485,7 @@ var ArchiveItemChunkSchema = z.object({
1485
1485
  embedding_model: z.string(),
1486
1486
  embedding_cost: z.number(),
1487
1487
  context_summary: z.object({}),
1488
- created_at: z.iso.datetime()
1488
+ created_at: z.string().datetime({ offset: true })
1489
1489
  });
1490
1490
  var ArchiveItemChunkDetailSchema = z.object({
1491
1491
  id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1497,7 +1497,7 @@ var ArchiveItemChunkDetailSchema = z.object({
1497
1497
  embedding_model: z.string(),
1498
1498
  embedding_cost: z.number(),
1499
1499
  context_summary: z.object({}),
1500
- created_at: z.iso.datetime(),
1500
+ created_at: z.string().datetime({ offset: true }),
1501
1501
  context_metadata: z.record(z.string(), z.any())
1502
1502
  });
1503
1503
  var ArchiveItemChunkRequestSchema = z.object({
@@ -1518,8 +1518,8 @@ var ArchiveItemDetailSchema = z.object({
1518
1518
  chunks_count: z.int(),
1519
1519
  total_tokens: z.int(),
1520
1520
  processing_cost: z.number(),
1521
- created_at: z.iso.datetime(),
1522
- updated_at: z.iso.datetime(),
1521
+ created_at: z.string().datetime({ offset: true }),
1522
+ updated_at: z.string().datetime({ offset: true }),
1523
1523
  raw_content: z.string(),
1524
1524
  metadata: z.record(z.string(), z.any())
1525
1525
  });
@@ -1582,7 +1582,7 @@ var ChatMessageSchema = z.object({
1582
1582
  tokens_used: z.int().min(0).max(2147483647).optional(),
1583
1583
  cost_usd: z.number(),
1584
1584
  processing_time_ms: z.int().min(0).max(2147483647).optional(),
1585
- created_at: z.iso.datetime(),
1585
+ created_at: z.string().datetime({ offset: true }),
1586
1586
  context_chunks: z.record(z.string(), z.any()).optional()
1587
1587
  });
1588
1588
 
@@ -1640,8 +1640,8 @@ var ChatSessionSchema = z.object({
1640
1640
  model_name: z.string().max(100).optional(),
1641
1641
  temperature: z.number().optional(),
1642
1642
  max_context_chunks: z.int().min(0).max(2147483647).optional(),
1643
- created_at: z.iso.datetime(),
1644
- updated_at: z.iso.datetime()
1643
+ created_at: z.string().datetime({ offset: true }),
1644
+ updated_at: z.string().datetime({ offset: true })
1645
1645
  });
1646
1646
  var ChatSessionCreateRequestSchema = z.object({
1647
1647
  title: z.string().max(255).optional(),
@@ -1671,10 +1671,10 @@ var DocumentSchema = z.object({
1671
1671
  chunks_count: z.int(),
1672
1672
  total_tokens: z.int(),
1673
1673
  total_cost_usd: z.number(),
1674
- created_at: z.iso.datetime(),
1675
- updated_at: z.iso.datetime(),
1676
- processing_started_at: z.iso.datetime(),
1677
- processing_completed_at: z.iso.datetime(),
1674
+ created_at: z.string().datetime({ offset: true }),
1675
+ updated_at: z.string().datetime({ offset: true }),
1676
+ processing_started_at: z.string().datetime({ offset: true }),
1677
+ processing_completed_at: z.string().datetime({ offset: true }),
1678
1678
  processing_error: z.string(),
1679
1679
  metadata: z.record(z.string(), z.any()).nullable().optional()
1680
1680
  });
@@ -1683,7 +1683,7 @@ var DocumentCategorySchema = z.object({
1683
1683
  name: z.string().max(255),
1684
1684
  description: z.string().optional(),
1685
1685
  is_public: z.boolean().optional(),
1686
- created_at: z.iso.datetime()
1686
+ created_at: z.string().datetime({ offset: true })
1687
1687
  });
1688
1688
 
1689
1689
  // src/api/generated/ext_knowbase/_utils/schemas/DocumentArchive.schema.ts
@@ -1698,7 +1698,7 @@ var DocumentArchiveSchema = z.object({
1698
1698
  file_size: z.int(),
1699
1699
  archive_type: z.nativeEnum(DocumentArchiveArchiveType),
1700
1700
  processing_status: z.nativeEnum(DocumentArchiveProcessingStatus),
1701
- processed_at: z.iso.datetime().nullable(),
1701
+ processed_at: z.string().datetime({ offset: true }).nullable(),
1702
1702
  processing_duration_ms: z.int(),
1703
1703
  processing_error: z.string(),
1704
1704
  total_items: z.int(),
@@ -1710,8 +1710,8 @@ var DocumentArchiveSchema = z.object({
1710
1710
  processing_progress: z.number(),
1711
1711
  vectorization_progress: z.number(),
1712
1712
  is_processed: z.boolean(),
1713
- created_at: z.iso.datetime(),
1714
- updated_at: z.iso.datetime()
1713
+ created_at: z.string().datetime({ offset: true }),
1714
+ updated_at: z.string().datetime({ offset: true })
1715
1715
  });
1716
1716
  var DocumentArchiveDetailSchema = z.object({
1717
1717
  id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1724,7 +1724,7 @@ var DocumentArchiveDetailSchema = z.object({
1724
1724
  file_size: z.int(),
1725
1725
  archive_type: z.nativeEnum(DocumentArchiveDetailArchiveType),
1726
1726
  processing_status: z.nativeEnum(DocumentArchiveDetailProcessingStatus),
1727
- processed_at: z.iso.datetime().nullable(),
1727
+ processed_at: z.string().datetime({ offset: true }).nullable(),
1728
1728
  processing_duration_ms: z.int(),
1729
1729
  processing_error: z.string(),
1730
1730
  total_items: z.int(),
@@ -1736,8 +1736,8 @@ var DocumentArchiveDetailSchema = z.object({
1736
1736
  processing_progress: z.number(),
1737
1737
  vectorization_progress: z.number(),
1738
1738
  is_processed: z.boolean(),
1739
- created_at: z.iso.datetime(),
1740
- updated_at: z.iso.datetime(),
1739
+ created_at: z.string().datetime({ offset: true }),
1740
+ updated_at: z.string().datetime({ offset: true }),
1741
1741
  items: z.array(ArchiveItemSchema),
1742
1742
  file_tree: z.record(z.string(), z.any()),
1743
1743
  metadata: z.record(z.string(), z.any()).nullable().optional()
@@ -1752,12 +1752,12 @@ var DocumentArchiveListSchema = z.object({
1752
1752
  file_size: z.int(),
1753
1753
  archive_type: z.nativeEnum(DocumentArchiveListArchiveType),
1754
1754
  processing_status: z.nativeEnum(DocumentArchiveListProcessingStatus),
1755
- processed_at: z.iso.datetime().nullable(),
1755
+ processed_at: z.string().datetime({ offset: true }).nullable(),
1756
1756
  total_items: z.int(),
1757
1757
  total_chunks: z.int(),
1758
1758
  total_cost_usd: z.number(),
1759
1759
  processing_progress: z.number(),
1760
- created_at: z.iso.datetime()
1760
+ created_at: z.string().datetime({ offset: true })
1761
1761
  });
1762
1762
  var DocumentArchiveRequestSchema = z.object({
1763
1763
  title: z.string().min(1).max(512),
@@ -1896,8 +1896,8 @@ var PublicDocumentListSchema = z.object({
1896
1896
  id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
1897
1897
  title: z.string().max(512),
1898
1898
  category: PublicCategorySchema,
1899
- created_at: z.iso.datetime(),
1900
- updated_at: z.iso.datetime()
1899
+ created_at: z.string().datetime({ offset: true }),
1900
+ updated_at: z.string().datetime({ offset: true })
1901
1901
  });
1902
1902
 
1903
1903
  // src/api/generated/ext_knowbase/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
@@ -1957,8 +1957,8 @@ var PublicDocumentSchema = z.object({
1957
1957
  title: z.string().max(512),
1958
1958
  content: z.string(),
1959
1959
  category: PublicCategorySchema,
1960
- created_at: z.iso.datetime(),
1961
- updated_at: z.iso.datetime()
1960
+ created_at: z.string().datetime({ offset: true }),
1961
+ updated_at: z.string().datetime({ offset: true })
1962
1962
  });
1963
1963
  var VectorizationResultSchema = z.object({
1964
1964
  vectorized_count: z.int(),
@@ -4788,7 +4788,7 @@ var apiKnowbase = createExtensionAPI(API);
4788
4788
  // package.json
4789
4789
  var package_default = {
4790
4790
  name: "@djangocfg/ext-knowbase",
4791
- version: "1.0.17",
4791
+ version: "1.0.19",
4792
4792
  description: "Knowledge base and chat extension for DjangoCFG",
4793
4793
  keywords: [
4794
4794
  "django",
@@ -4859,7 +4859,7 @@ var package_default = {
4859
4859
  "react-dom": "^19",
4860
4860
  "react-markdown": "^9.0.0 || ^10.0.0",
4861
4861
  swr: "^2.3.7",
4862
- zod: "^4.1.13",
4862
+ zod: "^4.3.4",
4863
4863
  moment: "^2.30.1"
4864
4864
  },
4865
4865
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -1467,8 +1467,8 @@ var ArchiveItemSchema = zod.z.object({
1467
1467
  chunks_count: zod.z.int(),
1468
1468
  total_tokens: zod.z.int(),
1469
1469
  processing_cost: zod.z.number(),
1470
- created_at: zod.z.iso.datetime(),
1471
- updated_at: zod.z.iso.datetime()
1470
+ created_at: zod.z.string().datetime({ offset: true }),
1471
+ updated_at: zod.z.string().datetime({ offset: true })
1472
1472
  });
1473
1473
  var ArchiveItemChunkSchema = zod.z.object({
1474
1474
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1480,7 +1480,7 @@ var ArchiveItemChunkSchema = zod.z.object({
1480
1480
  embedding_model: zod.z.string(),
1481
1481
  embedding_cost: zod.z.number(),
1482
1482
  context_summary: zod.z.object({}),
1483
- created_at: zod.z.iso.datetime()
1483
+ created_at: zod.z.string().datetime({ offset: true })
1484
1484
  });
1485
1485
  var ArchiveItemChunkDetailSchema = zod.z.object({
1486
1486
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1492,7 +1492,7 @@ var ArchiveItemChunkDetailSchema = zod.z.object({
1492
1492
  embedding_model: zod.z.string(),
1493
1493
  embedding_cost: zod.z.number(),
1494
1494
  context_summary: zod.z.object({}),
1495
- created_at: zod.z.iso.datetime(),
1495
+ created_at: zod.z.string().datetime({ offset: true }),
1496
1496
  context_metadata: zod.z.record(zod.z.string(), zod.z.any())
1497
1497
  });
1498
1498
  var ArchiveItemChunkRequestSchema = zod.z.object({
@@ -1513,8 +1513,8 @@ var ArchiveItemDetailSchema = zod.z.object({
1513
1513
  chunks_count: zod.z.int(),
1514
1514
  total_tokens: zod.z.int(),
1515
1515
  processing_cost: zod.z.number(),
1516
- created_at: zod.z.iso.datetime(),
1517
- updated_at: zod.z.iso.datetime(),
1516
+ created_at: zod.z.string().datetime({ offset: true }),
1517
+ updated_at: zod.z.string().datetime({ offset: true }),
1518
1518
  raw_content: zod.z.string(),
1519
1519
  metadata: zod.z.record(zod.z.string(), zod.z.any())
1520
1520
  });
@@ -1577,7 +1577,7 @@ var ChatMessageSchema = zod.z.object({
1577
1577
  tokens_used: zod.z.int().min(0).max(2147483647).optional(),
1578
1578
  cost_usd: zod.z.number(),
1579
1579
  processing_time_ms: zod.z.int().min(0).max(2147483647).optional(),
1580
- created_at: zod.z.iso.datetime(),
1580
+ created_at: zod.z.string().datetime({ offset: true }),
1581
1581
  context_chunks: zod.z.record(zod.z.string(), zod.z.any()).optional()
1582
1582
  });
1583
1583
 
@@ -1635,8 +1635,8 @@ var ChatSessionSchema = zod.z.object({
1635
1635
  model_name: zod.z.string().max(100).optional(),
1636
1636
  temperature: zod.z.number().optional(),
1637
1637
  max_context_chunks: zod.z.int().min(0).max(2147483647).optional(),
1638
- created_at: zod.z.iso.datetime(),
1639
- updated_at: zod.z.iso.datetime()
1638
+ created_at: zod.z.string().datetime({ offset: true }),
1639
+ updated_at: zod.z.string().datetime({ offset: true })
1640
1640
  });
1641
1641
  var ChatSessionCreateRequestSchema = zod.z.object({
1642
1642
  title: zod.z.string().max(255).optional(),
@@ -1666,10 +1666,10 @@ var DocumentSchema = zod.z.object({
1666
1666
  chunks_count: zod.z.int(),
1667
1667
  total_tokens: zod.z.int(),
1668
1668
  total_cost_usd: zod.z.number(),
1669
- created_at: zod.z.iso.datetime(),
1670
- updated_at: zod.z.iso.datetime(),
1671
- processing_started_at: zod.z.iso.datetime(),
1672
- processing_completed_at: zod.z.iso.datetime(),
1669
+ created_at: zod.z.string().datetime({ offset: true }),
1670
+ updated_at: zod.z.string().datetime({ offset: true }),
1671
+ processing_started_at: zod.z.string().datetime({ offset: true }),
1672
+ processing_completed_at: zod.z.string().datetime({ offset: true }),
1673
1673
  processing_error: zod.z.string(),
1674
1674
  metadata: zod.z.record(zod.z.string(), zod.z.any()).nullable().optional()
1675
1675
  });
@@ -1678,7 +1678,7 @@ var DocumentCategorySchema = zod.z.object({
1678
1678
  name: zod.z.string().max(255),
1679
1679
  description: zod.z.string().optional(),
1680
1680
  is_public: zod.z.boolean().optional(),
1681
- created_at: zod.z.iso.datetime()
1681
+ created_at: zod.z.string().datetime({ offset: true })
1682
1682
  });
1683
1683
 
1684
1684
  // src/api/generated/ext_knowbase/_utils/schemas/DocumentArchive.schema.ts
@@ -1693,7 +1693,7 @@ var DocumentArchiveSchema = zod.z.object({
1693
1693
  file_size: zod.z.int(),
1694
1694
  archive_type: zod.z.nativeEnum(DocumentArchiveArchiveType),
1695
1695
  processing_status: zod.z.nativeEnum(DocumentArchiveProcessingStatus),
1696
- processed_at: zod.z.iso.datetime().nullable(),
1696
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1697
1697
  processing_duration_ms: zod.z.int(),
1698
1698
  processing_error: zod.z.string(),
1699
1699
  total_items: zod.z.int(),
@@ -1705,8 +1705,8 @@ var DocumentArchiveSchema = zod.z.object({
1705
1705
  processing_progress: zod.z.number(),
1706
1706
  vectorization_progress: zod.z.number(),
1707
1707
  is_processed: zod.z.boolean(),
1708
- created_at: zod.z.iso.datetime(),
1709
- updated_at: zod.z.iso.datetime()
1708
+ created_at: zod.z.string().datetime({ offset: true }),
1709
+ updated_at: zod.z.string().datetime({ offset: true })
1710
1710
  });
1711
1711
  var DocumentArchiveDetailSchema = zod.z.object({
1712
1712
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
@@ -1719,7 +1719,7 @@ var DocumentArchiveDetailSchema = zod.z.object({
1719
1719
  file_size: zod.z.int(),
1720
1720
  archive_type: zod.z.nativeEnum(DocumentArchiveDetailArchiveType),
1721
1721
  processing_status: zod.z.nativeEnum(DocumentArchiveDetailProcessingStatus),
1722
- processed_at: zod.z.iso.datetime().nullable(),
1722
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1723
1723
  processing_duration_ms: zod.z.int(),
1724
1724
  processing_error: zod.z.string(),
1725
1725
  total_items: zod.z.int(),
@@ -1731,8 +1731,8 @@ var DocumentArchiveDetailSchema = zod.z.object({
1731
1731
  processing_progress: zod.z.number(),
1732
1732
  vectorization_progress: zod.z.number(),
1733
1733
  is_processed: zod.z.boolean(),
1734
- created_at: zod.z.iso.datetime(),
1735
- updated_at: zod.z.iso.datetime(),
1734
+ created_at: zod.z.string().datetime({ offset: true }),
1735
+ updated_at: zod.z.string().datetime({ offset: true }),
1736
1736
  items: zod.z.array(ArchiveItemSchema),
1737
1737
  file_tree: zod.z.record(zod.z.string(), zod.z.any()),
1738
1738
  metadata: zod.z.record(zod.z.string(), zod.z.any()).nullable().optional()
@@ -1747,12 +1747,12 @@ var DocumentArchiveListSchema = zod.z.object({
1747
1747
  file_size: zod.z.int(),
1748
1748
  archive_type: zod.z.nativeEnum(DocumentArchiveListArchiveType),
1749
1749
  processing_status: zod.z.nativeEnum(DocumentArchiveListProcessingStatus),
1750
- processed_at: zod.z.iso.datetime().nullable(),
1750
+ processed_at: zod.z.string().datetime({ offset: true }).nullable(),
1751
1751
  total_items: zod.z.int(),
1752
1752
  total_chunks: zod.z.int(),
1753
1753
  total_cost_usd: zod.z.number(),
1754
1754
  processing_progress: zod.z.number(),
1755
- created_at: zod.z.iso.datetime()
1755
+ created_at: zod.z.string().datetime({ offset: true })
1756
1756
  });
1757
1757
  var DocumentArchiveRequestSchema = zod.z.object({
1758
1758
  title: zod.z.string().min(1).max(512),
@@ -1891,8 +1891,8 @@ var PublicDocumentListSchema = zod.z.object({
1891
1891
  id: zod.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
1892
1892
  title: zod.z.string().max(512),
1893
1893
  category: PublicCategorySchema,
1894
- created_at: zod.z.iso.datetime(),
1895
- updated_at: zod.z.iso.datetime()
1894
+ created_at: zod.z.string().datetime({ offset: true }),
1895
+ updated_at: zod.z.string().datetime({ offset: true })
1896
1896
  });
1897
1897
 
1898
1898
  // src/api/generated/ext_knowbase/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
@@ -1952,8 +1952,8 @@ var PublicDocumentSchema = zod.z.object({
1952
1952
  title: zod.z.string().max(512),
1953
1953
  content: zod.z.string(),
1954
1954
  category: PublicCategorySchema,
1955
- created_at: zod.z.iso.datetime(),
1956
- updated_at: zod.z.iso.datetime()
1955
+ created_at: zod.z.string().datetime({ offset: true }),
1956
+ updated_at: zod.z.string().datetime({ offset: true })
1957
1957
  });
1958
1958
  var VectorizationResultSchema = zod.z.object({
1959
1959
  vectorized_count: zod.z.int(),
@@ -4369,7 +4369,7 @@ var apiKnowbase = api.createExtensionAPI(API);
4369
4369
  // package.json
4370
4370
  var package_default = {
4371
4371
  name: "@djangocfg/ext-knowbase",
4372
- version: "1.0.17",
4372
+ version: "1.0.19",
4373
4373
  description: "Knowledge base and chat extension for DjangoCFG",
4374
4374
  keywords: [
4375
4375
  "django",
@@ -4440,7 +4440,7 @@ var package_default = {
4440
4440
  "react-dom": "^19",
4441
4441
  "react-markdown": "^9.0.0 || ^10.0.0",
4442
4442
  swr: "^2.3.7",
4443
- zod: "^4.1.13",
4443
+ zod: "^4.3.4",
4444
4444
  moment: "^2.30.1"
4445
4445
  },
4446
4446
  devDependencies: {