@studiometa/forge-cli 0.1.0 → 0.2.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/backups/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAS/B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/backups/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAU/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/certificates/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,6GAQpC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/certificates/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,6GASpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/commands/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,6GAQhC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/commands/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,6GAShC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Shell completion installation command
3
+ */
4
+ export declare function showCompletionHelp(): void;
5
+ export declare function handleCompletionCommand(shell: string, options?: Record<string, string | boolean | string[]>): void;
6
+ //# sourceMappingURL=completion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completion.d.ts","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AA4pBH,wBAAgB,kBAAkB,IAAI,IAAI,CA2CzC;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAM,GACxD,IAAI,CAoEN"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/daemons/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAQ/B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/daemons/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAS/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/database-users/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GASrC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/database-users/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GAUrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/deployments/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,6GAOnC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/deployments/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,6GAQnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/commands/deployments/handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAkCxE;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA4B1E"}
1
+ {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/commands/deployments/handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAkCxE;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAoD1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/env/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,6GAM3B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/env/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,6GAO3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/monitors/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,6GAShC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/monitors/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,6GAUhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/nginx/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,6GAM7B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/nginx/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,6GAO7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/nginx-templates/command.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,6GAUtC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/nginx-templates/command.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,6GAWtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/recipes/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAQ/B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/recipes/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAS/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/redirect-rules/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GASrC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/redirect-rules/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GAUrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/scheduled-jobs/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GASrC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/scheduled-jobs/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GAUrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/security-rules/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GASrC,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/security-rules/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,6GAUrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/servers/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAQ/B,CAAC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/commands/servers/command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,6GAS/B,CAAC"}
@@ -39,6 +39,11 @@ export interface CommandRouterConfig {
39
39
  resource: string;
40
40
  /** Map of subcommand names to handlers */
41
41
  handlers: Record<string, Handler>;
42
+ /**
43
+ * Set of subcommand names that are write operations.
44
+ * These will be recorded in the audit log on success or failure.
45
+ */
46
+ writeSubcommands?: ReadonlyArray<string>;
42
47
  }
43
48
  /**
44
49
  * Creates a command router function that dispatches to the appropriate handler.
@@ -1 +1 @@
1
- {"version":3,"file":"command-router.d.ts","sourceRoot":"","sources":["../../src/utils/command-router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,eAAe,CAAC;AAMpE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,IAE3D,YAAY,MAAM,EAClB,MAAM,MAAM,EAAE,EACd,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,KACnD,OAAO,CAAC,IAAI,CAAC,CAqBjB"}
1
+ {"version":3,"file":"command-router.d.ts","sourceRoot":"","sources":["../../src/utils/command-router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,eAAe,CAAC;AAOpE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,IAE3D,YAAY,MAAM,EAClB,MAAM,MAAM,EAAE,EACd,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,KACnD,OAAO,CAAC,IAAI,CAAC,CAqDjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiometa/forge-cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "CLI tool for managing Laravel Forge servers, sites, and deployments",
5
5
  "keywords": [
6
6
  "ai-agent",