@supacloud/cli 0.79.0 → 0.81.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.
@@ -2,11 +2,17 @@ import { type ToolServer } from "../tool-server";
2
2
  import { type AppManifest } from "./app-tool-export";
3
3
  declare const REMOTE_APP_ACTIONS: {
4
4
  readonly upload: "upload_release";
5
+ readonly "transfer-plan": "get_release_transfer_plan";
6
+ readonly "promote-plan": "get_promotion_plan";
7
+ readonly transfer: "transfer_release";
5
8
  readonly configure: "put_configuration";
6
- readonly deploy: "activate_release";
9
+ readonly deploy: "deploy_release";
10
+ readonly "deploy-plan": "get_deploy_plan";
11
+ readonly diff: "get_deploy_plan";
7
12
  readonly status: "get_runtime";
8
13
  readonly rollback: "rollback_release";
9
14
  readonly "rollback-plan": "get_rollback_snapshot";
15
+ readonly history: "get_history";
10
16
  readonly reconcile: "reconcile_activation";
11
17
  readonly retire: "retire_activation";
12
18
  readonly logs: "logs";
@@ -35,6 +41,11 @@ export interface AppToolArguments {
35
41
  configuration_path?: string;
36
42
  manifest_path?: string;
37
43
  release_id?: string;
44
+ source_ref?: string;
45
+ source_release_id?: string;
46
+ source_environment_id?: string;
47
+ cursor?: string;
48
+ limit?: number;
38
49
  preview_id?: string;
39
50
  branch_ref?: string;
40
51
  branch_name?: string;
@@ -57,6 +68,7 @@ export interface AppToolArguments {
57
68
  out_dir?: string;
58
69
  strict?: boolean;
59
70
  format?: "text" | "json";
71
+ json?: boolean;
60
72
  target?: string;
61
73
  fix?: string;
62
74
  write?: boolean;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { HttpTransport } from "../transports/http";
2
+ export declare function applicationReleaseTransfer(http: HttpTransport, input: {
3
+ action: "get_release_transfer_plan" | "transfer_release";
4
+ ref: string;
5
+ id: string;
6
+ sourceRef: string;
7
+ sourceReleaseId: string;
8
+ }, project: string): Promise<import("./release-control-response").ReleaseControlToolResponse>;
@@ -89,3 +89,4 @@ export declare const ApplicationRollbackSnapshotSchema: import("typebox").TObjec
89
89
  activation_id: import("typebox").TString;
90
90
  }>, import("typebox").TNull]>;
91
91
  }>;
92
+ export declare const ApplicationActivationHistoryCursorSchema: import("typebox").TString;
@@ -9,7 +9,7 @@ export declare const APPLICATION_TOOL_SCHEMA: {
9
9
  ttl_seconds: Type.TOptional<Type.TInteger>;
10
10
  wait: Type.TOptional<Type.TBoolean>;
11
11
  timeout_seconds: Type.TOptional<Type.TInteger>;
12
- action: Type.TEnum<("list_releases" | "get_release" | "upload_release" | "activate_release" | "logs" | "get_runtime" | "get_deployment_evidence" | "get_configuration" | "get_rollback_snapshot" | "get_preview_plan" | "put_configuration" | "rollback_release" | "reconcile_activation" | "retire_activation" | "create_preview" | "list_previews" | "get_preview" | "cleanup_preview")[]>;
12
+ action: Type.TEnum<("list_releases" | "get_release" | "upload_release" | "activate_release" | "logs" | "get_runtime" | "get_deployment_evidence" | "get_configuration" | "get_release_transfer_plan" | "get_promotion_plan" | "get_rollback_snapshot" | "get_history" | "get_deploy_plan" | "get_preview_plan" | "put_configuration" | "transfer_release" | "deploy_release" | "rollback_release" | "reconcile_activation" | "retire_activation" | "create_preview" | "list_previews" | "get_preview" | "cleanup_preview")[]>;
13
13
  ref: Type.TString;
14
14
  id: Type.TString;
15
15
  environment_id: Type.TOptional<Type.TString>;
@@ -19,7 +19,10 @@ export declare const APPLICATION_TOOL_SCHEMA: {
19
19
  configuration_path: Type.TOptional<Type.TString>;
20
20
  manifest_path: Type.TOptional<Type.TString>;
21
21
  release_id: Type.TOptional<Type.TString>;
22
- cursor: Type.TOptional<Type.TString>;
22
+ source_ref: Type.TOptional<Type.TString>;
23
+ source_release_id: Type.TOptional<Type.TString>;
24
+ source_environment_id: Type.TOptional<Type.TString>;
25
+ cursor: Type.TOptional<Type.TUnion<[Type.TString, Type.TString]>>;
23
26
  limit: Type.TOptional<Type.TInteger>;
24
27
  offset: Type.TOptional<Type.TInteger>;
25
28
  service: Type.TOptional<Type.TString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/cli",
3
- "version": "0.79.0",
3
+ "version": "0.81.0",
4
4
  "description": "Project-scoped CLI for SupaCloud users",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -52,14 +52,14 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@supacloud/compiler": "^0.43.0",
55
- "@supacloud/delivery": "0.9.0",
55
+ "@supacloud/delivery": "0.11.0",
56
56
  "@supacloud/db": "0.16.0",
57
57
  "fflate": "^0.8.3",
58
58
  "typebox": "1.3.34"
59
59
  },
60
60
  "overrides": {
61
61
  "@supacloud/contracts": "0.8.0",
62
- "@supacloud/delivery": "0.9.0",
62
+ "@supacloud/delivery": "0.11.0",
63
63
  "@graphql-tools/utils": "^12.0.3"
64
64
  },
65
65
  "devDependencies": {