@whatasoda/agent-tools 0.1.1 → 0.1.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/src/cli.js
CHANGED
|
@@ -36,12 +36,17 @@ switch (command) {
|
|
|
36
36
|
await handleSession(process.argv.slice(3));
|
|
37
37
|
break;
|
|
38
38
|
}
|
|
39
|
+
case "update": {
|
|
40
|
+
const { handleUpdate } = await import("./cli/commands/update.js");
|
|
41
|
+
await handleUpdate(process.argv.slice(3));
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
39
44
|
case "tui":
|
|
40
45
|
case undefined:
|
|
41
46
|
await import("./tui/index.tsx");
|
|
42
47
|
break;
|
|
43
48
|
default:
|
|
44
|
-
console.error(`Usage: sd <node|tag|link|list|decision|skill|agent|review|codex-review|session|tui>
|
|
49
|
+
console.error(`Usage: sd <node|tag|link|list|decision|skill|agent|review|codex-review|session|update|tui>
|
|
45
50
|
|
|
46
51
|
Commands:
|
|
47
52
|
node Create, read, update, delete, search nodes
|
|
@@ -54,6 +59,7 @@ Commands:
|
|
|
54
59
|
review Review utilities
|
|
55
60
|
codex-review Run codex review
|
|
56
61
|
session Session utilities
|
|
62
|
+
update Update to latest version (sd update [tag])
|
|
57
63
|
tui Launch the TUI browser`);
|
|
58
64
|
process.exit(1);
|
|
59
65
|
}
|