@manfred-kunze-dev/backbone-cli 2.7.0-dev.2 → 2.7.0-dev.3

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.
@@ -32,7 +32,7 @@ export function makeConvertCommand() {
32
32
  const buffer = readFileSync(p);
33
33
  const filename = basename(p);
34
34
  return {
35
- kind: "Base64Source",
35
+ kind: "base64",
36
36
  content: buffer.toString("base64"),
37
37
  filename,
38
38
  mimeType: getMimeType(filename),
@@ -67,7 +67,7 @@ export function makeConvertCommand() {
67
67
  await runAction(command, async () => {
68
68
  const client = getClient(command);
69
69
  const sources = urls.map((url) => ({
70
- kind: "HttpSource",
70
+ kind: "http",
71
71
  url,
72
72
  }));
73
73
  const toFormats = opts.format.map(mapFormat);
@@ -44,7 +44,7 @@ export function makePromptsCommand() {
44
44
  .description("Create a new prompt")
45
45
  .requiredOption("-n, --name <name>", "Prompt name")
46
46
  .option("-d, --description <text>", "Prompt description")
47
- .option("--type <type>", "Prompt type")
47
+ .option("--type <type>", "Prompt type (TEXT or CHAT)", "TEXT")
48
48
  .action(async (opts, command) => {
49
49
  await runAction(command, async () => {
50
50
  const projectId = requireProjectId(command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manfred-kunze-dev/backbone-cli",
3
- "version": "2.7.0-dev.2",
3
+ "version": "2.7.0-dev.3",
4
4
  "description": "CLI for the Backbone AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",