@korajs/cli 1.0.0-beta.0 → 1.0.0-beta.2

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/bin.js CHANGED
@@ -1,18 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createCommand
4
- } from "./chunk-BWTKRKNJ.js";
4
+ } from "./chunk-ZTVVAYHJ.js";
5
5
  import {
6
+ agentsCommand,
6
7
  deployCommand,
7
8
  generateTypes
8
- } from "./chunk-EOWLAAIV.js";
9
+ } from "./chunk-4IKCHRJ6.js";
9
10
  import {
10
11
  DevServerError,
11
12
  InvalidProjectError,
12
13
  SchemaNotFoundError,
13
14
  createLogger,
14
15
  promptConfirm
15
- } from "./chunk-B5YS4STN.js";
16
+ } from "./chunk-G2PBYMMA.js";
16
17
  import {
17
18
  loadSchemaDefinition
18
19
  } from "./chunk-6C4BHSRA.js";
@@ -1793,6 +1794,14 @@ function mapFieldType(descriptor) {
1793
1794
  return "INTEGER";
1794
1795
  case "array":
1795
1796
  return "TEXT";
1797
+ case "object":
1798
+ return "TEXT";
1799
+ case "json":
1800
+ return "TEXT";
1801
+ case "blob":
1802
+ return "TEXT";
1803
+ case "secret":
1804
+ return "TEXT";
1796
1805
  case "richtext":
1797
1806
  return "BLOB";
1798
1807
  }
@@ -1808,7 +1817,7 @@ function quoteIdentifier(identifier) {
1808
1817
  if (!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(identifier)) {
1809
1818
  throw new Error(`Invalid SQL identifier: ${identifier}`);
1810
1819
  }
1811
- return identifier;
1820
+ return `"${identifier}"`;
1812
1821
  }
1813
1822
  function formatChange(change) {
1814
1823
  switch (change.type) {
@@ -2629,9 +2638,10 @@ var studioCommand = defineCommand9({
2629
2638
  var main = defineCommand10({
2630
2639
  meta: {
2631
2640
  name: "kora",
2632
- description: "Kora.js \u2014 Offline-first application framework"
2641
+ description: "Kora.js, the offline-first application framework"
2633
2642
  },
2634
2643
  subCommands: {
2644
+ "agents-md": agentsCommand,
2635
2645
  backup: backupCommand,
2636
2646
  compact: compactCommand,
2637
2647
  create: createCommand,