@soat/cli 0.15.4 → 0.15.5

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 (2) hide show
  1. package/dist/index.mjs +27 -6
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -3,6 +3,8 @@ import { createHmac, timingSafeEqual } from "node:crypto";
3
3
  import { createServer } from "node:http";
4
4
  import * as path from "node:path";
5
5
  import { fileURLToPath } from "node:url";
6
+ import input from "@inquirer/input";
7
+ import password from "@inquirer/password";
6
8
  import * as sdk from "@soat/sdk";
7
9
  import { createClient, createConfig } from "@soat/sdk";
8
10
  import { program } from "commander";
@@ -11,7 +13,7 @@ import { load } from "js-yaml";
11
13
  import * as os from "node:os";
12
14
 
13
15
  //#region package.json
14
- var version = "0.15.4";
16
+ var version = "0.15.5";
15
17
 
16
18
  //#endregion
17
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -3556,6 +3558,18 @@ var routes = {
3556
3558
  "required": false,
3557
3559
  "type": "string",
3558
3560
  "in": "body"
3561
+ }, {
3562
+ "name": "tags",
3563
+ "description": "Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)",
3564
+ "required": false,
3565
+ "type": "array",
3566
+ "in": "body"
3567
+ }, {
3568
+ "name": "metadata",
3569
+ "description": "Arbitrary structured metadata attached to the entry",
3570
+ "required": false,
3571
+ "type": "object",
3572
+ "in": "body"
3559
3573
  }, {
3560
3574
  "name": "duplicate_threshold",
3561
3575
  "description": "Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)",
@@ -3604,6 +3618,18 @@ var routes = {
3604
3618
  "required": false,
3605
3619
  "type": "string",
3606
3620
  "in": "body"
3621
+ }, {
3622
+ "name": "tags",
3623
+ "description": "Replaces the entry's tags. Pass null or an empty array to clear.",
3624
+ "required": false,
3625
+ "type": "array",
3626
+ "in": "body"
3627
+ }, {
3628
+ "name": "metadata",
3629
+ "description": "Replaces the entry's metadata. Pass null to clear.",
3630
+ "required": false,
3631
+ "type": "object",
3632
+ "in": "body"
3607
3633
  }]
3608
3634
  },
3609
3635
  "delete-memory-entry": {
@@ -5768,11 +5794,6 @@ var resolveServiceClass = serviceClassName => {
5768
5794
  program.name("soat").description("SOAT CLI").version(version).option("-p, --profile <name>", "config profile to use");
5769
5795
  program.addHelpText("after", "\nTip: Run `soat <command> --help` to see command-specific flags and docs.");
5770
5796
  program.command("configure").description("Save credentials to a named profile (~/.soat/config.json)").option("-p, --profile <name>", "profile name", "default").action(async opts => {
5771
- const [{
5772
- default: input
5773
- }, {
5774
- default: password
5775
- }] = await Promise.all([import("@inquirer/input"), import("@inquirer/password")]);
5776
5797
  const baseUrl = await input({
5777
5798
  message: "Base URL:"
5778
5799
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.15.4",
3
+ "version": "0.15.5",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@inquirer/input": "^5.1.2",
@@ -8,7 +8,7 @@
8
8
  "@ttoss/logger": "^0.8.19",
9
9
  "commander": "^15.0.0",
10
10
  "js-yaml": "^5.2.1",
11
- "@soat/sdk": "0.15.4"
11
+ "@soat/sdk": "0.15.5"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@ttoss/config": "^1.37.17",