forkit-connect 0.1.29 → 0.1.30

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/cli.js +34 -14
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -94,6 +94,19 @@ const PUBLIC_COMMANDS = [
94
94
  ['ignore', 'Deny one detected local model on this device'],
95
95
  ['doctor', 'Run local environment diagnostics'],
96
96
  ];
97
+ const START_HERE_COMMANDS = [
98
+ ['forkit-connect login', 'Pair this machine with your Forkit.dev account'],
99
+ ['forkit-connect workspace status', 'Confirm the active workspace and project scope'],
100
+ ['forkit-connect scan', 'Find local models, agents, and runtimes'],
101
+ ['forkit-connect inbox', 'Review what should become a Passport'],
102
+ ['forkit-connect runtime status', 'Check runtime connection and signal posture'],
103
+ ];
104
+ const EVERYDAY_COMMANDS = [
105
+ ['forkit-connect status', 'One-line account, device, queue, and scope health'],
106
+ ['forkit-connect start', 'Open the guided local launcher'],
107
+ ['forkit-connect sync', 'Flush queued metadata and lifecycle evidence'],
108
+ ['forkit-connect doctor', 'Diagnose local setup issues'],
109
+ ];
97
110
  const ADVANCED_COMMAND_GROUPS = [
98
111
  ['connect', 'Model connection, runtime review, and handoff utilities'],
99
112
  ['runtime', 'Repo-scoped runtime observation and journaling utilities'],
@@ -118,28 +131,32 @@ const ADVANCED_COMMAND_GROUPS = [
118
131
  ['notify', 'Notification preview and delivery controls'],
119
132
  ];
120
133
  function usage() {
121
- printCliHeader('CLI', 'Precise local review, runtime detection, and registration handoff.');
122
- console.log(cliKeyLine('usage', 'forkit-connect <command> [options]'));
123
- console.log(cliKeyLine('scope', 'forkit-connect workspace <list|select|create|status>'));
124
- console.log(cliKeyLine('runtime', 'forkit-connect runtime <register|review|status>'));
125
- printCliSection('Core');
126
- for (const [command, description] of PUBLIC_COMMANDS) {
127
- console.log(cliKeyLine(command, description));
134
+ printCliHeader('CLI', 'Local AI runtime passporting without copying model data.');
135
+ console.log(cliKeyLine('best first run', 'forkit-connect login'));
136
+ console.log(cliKeyLine('privacy model', 'metadata only; secrets stay local'));
137
+ console.log(cliKeyLine('advanced map', 'forkit-connect --advanced-help'));
138
+ printCliSection('Start Here');
139
+ for (const [command, description] of START_HERE_COMMANDS) {
140
+ console.log(cliCommandLine(command, description));
141
+ }
142
+ printCliSection('Daily Ops');
143
+ for (const [command, description] of EVERYDAY_COMMANDS) {
144
+ console.log(cliCommandLine(command, description));
128
145
  }
129
146
  printCliSection('Flags');
130
147
  console.log(cliKeyLine('--json', 'Machine-readable output when supported'));
131
148
  console.log(cliKeyLine('--version', 'Print the Forkit Connect CLI version'));
132
- console.log(cliKeyLine('--all-ready', 'Register every ready local model in the current scope'));
133
- console.log(cliKeyLine('--model', 'Model name used by register'));
134
- console.log(cliKeyLine('--entrypoint', 'Relative project path used by runtime register'));
135
149
  console.log(cliKeyLine('--dry-run', 'Show inferred runtime payload without creating it'));
136
- console.log(cliKeyLine('--no-browser', 'Do not auto-open browser verification during login'));
137
150
  console.log(cliKeyLine('--plain', 'Disable the interactive terminal table surface'));
138
- console.log(cliKeyLine('--advanced-help', 'Show internal and engineering commands'));
151
+ console.log(cliKeyLine('--advanced-help', 'Show the full engineering command map'));
139
152
  }
140
153
  function advancedUsage() {
141
- usage();
142
- printCliSection('Advanced');
154
+ printCliHeader('Advanced CLI', 'Full engineering map for automation, C2, and release operations.');
155
+ printCliSection('Public Commands');
156
+ for (const [command, description] of PUBLIC_COMMANDS) {
157
+ console.log(cliKeyLine(command, description));
158
+ }
159
+ printCliSection('Advanced Routes');
143
160
  console.log(cliKeyLine('connect', 'forkit-connect connect <modelNameOrDiscoveryHash>'));
144
161
  console.log(cliKeyLine('connect', 'forkit-connect connect <start|init|status|inbox|services|permissions|handoff|evolution review|runtime review|runtime status>'));
145
162
  console.log(cliKeyLine('targets', 'forkit-connect runtime target <add|list|remove|status>'));
@@ -879,6 +896,9 @@ function cliTag(label, tone = 'muted') {
879
896
  function cliKeyLine(label, value) {
880
897
  return ` ${cliDim(`${label}`.padEnd(CLI_LABEL_WIDTH, ' '))} ${value}`;
881
898
  }
899
+ function cliCommandLine(command, value) {
900
+ return ` ${cliDim(command.padEnd(34, ' '))} ${value}`;
901
+ }
882
902
  function printCliHeader(title, subtitle) {
883
903
  console.log(`[forkit-connect] ${cliBold(title)}`);
884
904
  if (subtitle) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forkit-connect",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "Forkit Connect Local Engine - The Global AI Governance Fabric",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",