gigabuddy 0.3.1 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gigabuddy",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Command-line sign-in for Gigabuddy. Authenticates your machine and configures npm for @gigabuddy packages.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -48,4 +48,21 @@ export declare function logoutCommand(env: Env): Promise<void>;
48
48
  * Exits non-zero when it found something wrong, so CI can gate on it.
49
49
  */
50
50
  export declare function doctorCommand(env: Env, packageName?: string): Promise<void>;
51
+ export interface SetupRunner {
52
+ /** Run `claude <args>` with output flowing straight to the user. Returns the
53
+ * exit code, or 'missing' when there is no `claude` binary to run. */
54
+ runClaude(args: string[]): number | 'missing';
55
+ }
56
+ /**
57
+ * `gigabuddy setup` — put Gigabuddy into Claude Code without the user knowing
58
+ * the /plugin incantations. Shells out to Claude Code's own headless plugin
59
+ * commands (`claude plugin marketplace add` / `claude plugin install`) rather
60
+ * than editing ~/.claude by hand: those commands are the supported surface, and
61
+ * `marketplace add` is idempotent, so re-running setup just refreshes.
62
+ *
63
+ * This stays within the client's "no tool implementations" rule — it installs
64
+ * the AGENT client's delivery vehicle, it does not become it. The agent
65
+ * custodies its own credential; our sign-in is neither needed nor offered here.
66
+ */
67
+ export declare function setupCommand(runner?: SetupRunner): void;
51
68
  export declare function statusCommand(): Promise<void>;