@agentuity/cli 0.0.13 → 0.0.16
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/cmd/auth/api.d.ts +1 -1
- package/dist/cmd/auth/api.d.ts.map +1 -1
- package/dist/cmd/auth/index.d.ts +1 -1
- package/dist/cmd/auth/index.d.ts.map +1 -1
- package/dist/cmd/auth/login.d.ts +1 -1
- package/dist/cmd/auth/login.d.ts.map +1 -1
- package/dist/cmd/auth/logout.d.ts +1 -1
- package/dist/cmd/auth/logout.d.ts.map +1 -1
- package/dist/cmd/auth/signup.d.ts +1 -1
- package/dist/cmd/auth/signup.d.ts.map +1 -1
- package/dist/cmd/bundle/index.d.ts +1 -1
- package/dist/cmd/bundle/index.d.ts.map +1 -1
- package/dist/cmd/dev/index.d.ts +1 -1
- package/dist/cmd/dev/index.d.ts.map +1 -1
- package/dist/cmd/example/create-user.d.ts +1 -1
- package/dist/cmd/example/create-user.d.ts.map +1 -1
- package/dist/cmd/example/create.d.ts +1 -1
- package/dist/cmd/example/create.d.ts.map +1 -1
- package/dist/cmd/example/deploy.d.ts +1 -1
- package/dist/cmd/example/deploy.d.ts.map +1 -1
- package/dist/cmd/example/index.d.ts +1 -1
- package/dist/cmd/example/index.d.ts.map +1 -1
- package/dist/cmd/example/list.d.ts +1 -1
- package/dist/cmd/example/list.d.ts.map +1 -1
- package/dist/cmd/example/optional-auth.d.ts +1 -1
- package/dist/cmd/example/optional-auth.d.ts.map +1 -1
- package/dist/cmd/example/run-command.d.ts +1 -1
- package/dist/cmd/example/run-command.d.ts.map +1 -1
- package/dist/cmd/example/spinner.d.ts +1 -1
- package/dist/cmd/example/spinner.d.ts.map +1 -1
- package/dist/cmd/example/steps.d.ts +1 -1
- package/dist/cmd/example/steps.d.ts.map +1 -1
- package/dist/cmd/example/version.d.ts +1 -1
- package/dist/cmd/example/version.d.ts.map +1 -1
- package/dist/cmd/profile/create.d.ts +1 -1
- package/dist/cmd/profile/create.d.ts.map +1 -1
- package/dist/cmd/profile/delete.d.ts +1 -1
- package/dist/cmd/profile/delete.d.ts.map +1 -1
- package/dist/cmd/profile/index.d.ts +1 -1
- package/dist/cmd/profile/index.d.ts.map +1 -1
- package/dist/cmd/profile/list.d.ts +1 -1
- package/dist/cmd/profile/list.d.ts.map +1 -1
- package/dist/cmd/profile/show.d.ts +1 -1
- package/dist/cmd/profile/show.d.ts.map +1 -1
- package/dist/cmd/profile/use.d.ts +1 -1
- package/dist/cmd/profile/use.d.ts.map +1 -1
- package/dist/cmd/project/create.d.ts +1 -1
- package/dist/cmd/project/create.d.ts.map +1 -1
- package/dist/cmd/project/delete.d.ts +1 -1
- package/dist/cmd/project/delete.d.ts.map +1 -1
- package/dist/cmd/project/download.d.ts +1 -1
- package/dist/cmd/project/download.d.ts.map +1 -1
- package/dist/cmd/project/index.d.ts +1 -1
- package/dist/cmd/project/index.d.ts.map +1 -1
- package/dist/cmd/project/list.d.ts +1 -1
- package/dist/cmd/project/list.d.ts.map +1 -1
- package/dist/cmd/project/show.d.ts +1 -1
- package/dist/cmd/project/show.d.ts.map +1 -1
- package/dist/cmd/project/template-flow.d.ts +1 -1
- package/dist/cmd/project/template-flow.d.ts.map +1 -1
- package/dist/cmd/version/index.d.ts +1 -1
- package/dist/cmd/version/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/cmd/auth/api.ts +2 -2
- package/src/cmd/auth/index.ts +1 -1
- package/src/cmd/auth/login.ts +4 -4
- package/src/cmd/auth/logout.ts +3 -3
- package/src/cmd/auth/signup.ts +4 -4
- package/src/cmd/bundle/index.ts +1 -1
- package/src/cmd/dev/index.ts +2 -2
- package/src/cmd/example/create-user.ts +1 -1
- package/src/cmd/example/create.ts +1 -1
- package/src/cmd/example/deploy.ts +1 -1
- package/src/cmd/example/index.ts +1 -1
- package/src/cmd/example/list.ts +1 -1
- package/src/cmd/example/optional-auth.ts +2 -2
- package/src/cmd/example/run-command.ts +2 -2
- package/src/cmd/example/sound.ts +2 -2
- package/src/cmd/example/spinner.ts +2 -2
- package/src/cmd/example/steps.ts +2 -2
- package/src/cmd/example/version.ts +1 -1
- package/src/cmd/profile/create.ts +3 -3
- package/src/cmd/profile/delete.ts +3 -3
- package/src/cmd/profile/index.ts +1 -1
- package/src/cmd/profile/list.ts +3 -3
- package/src/cmd/profile/show.ts +3 -3
- package/src/cmd/profile/use.ts +3 -3
- package/src/cmd/project/create.ts +1 -1
- package/src/cmd/project/delete.ts +1 -1
- package/src/cmd/project/download.ts +35 -38
- package/src/cmd/project/index.ts +1 -1
- package/src/cmd/project/list.ts +1 -1
- package/src/cmd/project/show.ts +1 -1
- package/src/cmd/project/template-flow.ts +3 -3
- package/src/cmd/version/index.ts +3 -3
- package/src/config.ts +1 -1
package/dist/cmd/auth/api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAkB1C,MAAM,WAAW,WAAW;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,IAAI,CAAC;CACd;AAQD,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,IAAI,CAAC;CACd;AAED,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAa9F;AAED,wBAAsB,sBAAsB,CAC3C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EACtB,SAAS,SAAQ,GACf,OAAO,CAAC,WAAW,CAAC,CAyBtB;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAS1C;AAED,wBAAsB,uBAAuB,CAC5C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EACtB,SAAS,SAAS,GAChB,OAAO,CAAC,YAAY,CAAC,CAkCvB"}
|
package/dist/cmd/auth/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,mCAIlB,CAAC"}
|
package/dist/cmd/auth/login.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/login.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/login.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMxD,eAAO,MAAM,YAAY,EAAE,oBA6E1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/logout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/logout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAIxD,eAAO,MAAM,aAAa,EAAE,oBAS3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/signup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../../src/cmd/auth/signup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMxD,eAAO,MAAM,aAAa,EAAE,oBA4C3B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/bundle/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/bundle/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,sCAgClB,CAAC"}
|
package/dist/cmd/dev/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/dev/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/dev/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,mCAgKlB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createUserSubcommand: import("
|
|
1
|
+
export declare const createUserSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=create-user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/create-user.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"create-user.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/create-user.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,sCAkC/B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createCommand: import("
|
|
1
|
+
export declare const createCommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/create.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/create.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,sCA2BxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const deploySubcommand: import("
|
|
1
|
+
export declare const deploySubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/deploy.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/deploy.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,sCAgC3B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,mCAgBlB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const listSubcommand: import("
|
|
1
|
+
export declare const listSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/list.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/list.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,sCA4BzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optional-auth.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/optional-auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAA4B,MAAM,
|
|
1
|
+
{"version":3,"file":"optional-auth.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/optional-auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAA4B,MAAM,aAAa,CAAC;AAGlF,eAAO,MAAM,sBAAsB,EAAE,oBAkCpC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const runCommandSubcommand: import("
|
|
1
|
+
export declare const runCommandSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=run-command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-command.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/run-command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"run-command.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/run-command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,sCAyC/B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const spinnerSubcommand: import("
|
|
1
|
+
export declare const spinnerSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/spinner.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/spinner.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,sCAwC5B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const stepsSubcommand: import("
|
|
1
|
+
export declare const stepsSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=steps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/steps.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/steps.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,sCA8D1B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const versionSubcommand: import("
|
|
1
|
+
export declare const versionSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/cmd/example/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,sCAU5B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createCommand: import("
|
|
1
|
+
export declare const createCommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/create.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/create.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa,sCA0CxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const deleteCommand: import("
|
|
1
|
+
export declare const deleteCommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/delete.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/delete.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,sCA6CxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,mCAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAKxD,eAAO,MAAM,WAAW,EAAE,oBAqBzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const showCommand: import("
|
|
1
|
+
export declare const showCommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=show.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/show.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/show.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,sCA+CtB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useCommand: import("
|
|
1
|
+
export declare const useCommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=use.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/use.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/cmd/profile/use.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,sCAwBrB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createProjectSubcommand: import("
|
|
1
|
+
export declare const createProjectSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/create.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/create.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,sCA+ClC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const deleteSubcommand: import("
|
|
1
|
+
export declare const deleteSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/delete.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/delete.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,sCAU3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/download.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/download.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAG3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,UAAU,eAAe;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,YAAY;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CACf;AAsBD,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAoD9E;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAgCvE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,mCAIlB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const listSubcommand: import("
|
|
1
|
+
export declare const listSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/list.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/list.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,sCAUzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const showSubcommand: import("
|
|
1
|
+
export declare const showSubcommand: import("../..").SubcommandDefinition;
|
|
2
2
|
//# sourceMappingURL=show.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/show.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/show.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,sCASzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-flow.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/template-flow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"template-flow.d.ts","sourceRoot":"","sources":["../../../src/cmd/project/template-flow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAM3C,UAAU,iBAAiB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0J7E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const command: import("
|
|
1
|
+
export declare const command: import("../..").CommandDefinition;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/version/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmd/version/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,mCAWlB,CAAC"}
|
package/package.json
CHANGED
package/src/cmd/auth/api.ts
CHANGED
package/src/cmd/auth/index.ts
CHANGED
package/src/cmd/auth/login.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { SubcommandDefinition } from '
|
|
2
|
-
import { getAPIBaseURL, getAppBaseURL, UpgradeRequiredError } from '
|
|
3
|
-
import { saveAuth } from '
|
|
1
|
+
import type { SubcommandDefinition } from '../../types';
|
|
2
|
+
import { getAPIBaseURL, getAppBaseURL, UpgradeRequiredError } from '../../api';
|
|
3
|
+
import { saveAuth } from '../../config';
|
|
4
4
|
import { generateLoginOTP, pollForLoginCompletion } from './api';
|
|
5
|
-
import * as tui from '
|
|
5
|
+
import * as tui from '../../tui';
|
|
6
6
|
|
|
7
7
|
export const loginCommand: SubcommandDefinition = {
|
|
8
8
|
name: 'login',
|
package/src/cmd/auth/logout.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { SubcommandDefinition } from '
|
|
2
|
-
import { clearAuth } from '
|
|
3
|
-
import * as tui from '
|
|
1
|
+
import type { SubcommandDefinition } from '../../types';
|
|
2
|
+
import { clearAuth } from '../../config';
|
|
3
|
+
import * as tui from '../../tui';
|
|
4
4
|
|
|
5
5
|
export const logoutCommand: SubcommandDefinition = {
|
|
6
6
|
name: 'logout',
|
package/src/cmd/auth/signup.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { SubcommandDefinition } from '
|
|
2
|
-
import { getAPIBaseURL, getAppBaseURL, UpgradeRequiredError } from '
|
|
3
|
-
import { saveAuth } from '
|
|
1
|
+
import type { SubcommandDefinition } from '../../types';
|
|
2
|
+
import { getAPIBaseURL, getAppBaseURL, UpgradeRequiredError } from '../../api';
|
|
3
|
+
import { saveAuth } from '../../config';
|
|
4
4
|
import { generateSignupOTP, pollForSignupCompletion } from './api';
|
|
5
|
-
import * as tui from '
|
|
5
|
+
import * as tui from '../../tui';
|
|
6
6
|
|
|
7
7
|
export const signupCommand: SubcommandDefinition = {
|
|
8
8
|
name: 'signup',
|
package/src/cmd/bundle/index.ts
CHANGED
package/src/cmd/dev/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createCommand } from '
|
|
1
|
+
import { createCommand } from '../../types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { resolve, join } from 'node:path';
|
|
4
4
|
import { bundle } from '../bundle/bundler';
|
|
5
5
|
import { existsSync, FSWatcher, watch } from 'node:fs';
|
|
6
|
-
import * as tui from '
|
|
6
|
+
import * as tui from '../../tui';
|
|
7
7
|
|
|
8
8
|
export const command = createCommand({
|
|
9
9
|
name: 'dev',
|
package/src/cmd/example/index.ts
CHANGED
package/src/cmd/example/list.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SubcommandDefinition, CommandContext, AuthData } from '
|
|
2
|
-
import * as tui from '
|
|
1
|
+
import type { SubcommandDefinition, CommandContext, AuthData } from '../../types';
|
|
2
|
+
import * as tui from '../../tui';
|
|
3
3
|
|
|
4
4
|
export const optionalAuthSubcommand: SubcommandDefinition = {
|
|
5
5
|
name: 'optional-auth',
|
package/src/cmd/example/sound.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SubcommandDefinition } from '../../types';
|
|
2
|
-
import * as tui from '
|
|
3
|
-
import { playSound } from '
|
|
2
|
+
import * as tui from '../../tui';
|
|
3
|
+
import { playSound } from '../../sound';
|
|
4
4
|
|
|
5
5
|
export const soundSubcommand: SubcommandDefinition = {
|
|
6
6
|
name: 'sound',
|
package/src/cmd/example/steps.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createSubcommand } from '
|
|
2
|
-
import { runSteps, stepSuccess, stepSkipped, stepError } from '
|
|
1
|
+
import { createSubcommand } from '../../types';
|
|
2
|
+
import { runSteps, stepSuccess, stepSkipped, stepError } from '../../steps';
|
|
3
3
|
|
|
4
4
|
export const stepsSubcommand = createSubcommand({
|
|
5
5
|
name: 'steps',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createSubcommand } from '
|
|
1
|
+
import { createSubcommand } from '../../types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import {
|
|
4
4
|
fetchProfiles,
|
|
5
5
|
getDefaultConfigDir,
|
|
6
6
|
ensureConfigDir,
|
|
7
7
|
generateYAMLTemplate,
|
|
8
|
-
} from '
|
|
8
|
+
} from '../../config';
|
|
9
9
|
import { join } from 'node:path';
|
|
10
10
|
import { writeFile } from 'node:fs/promises';
|
|
11
|
-
import * as tui from '
|
|
11
|
+
import * as tui from '../../tui';
|
|
12
12
|
|
|
13
13
|
const PROFILE_NAME_REGEX = /^[\w_-]{3,}$/;
|
|
14
14
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createSubcommand } from '
|
|
1
|
+
import { createSubcommand } from '../../types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { fetchProfiles } from '
|
|
3
|
+
import { fetchProfiles } from '../../config';
|
|
4
4
|
import { unlink } from 'node:fs/promises';
|
|
5
|
-
import * as tui from '
|
|
5
|
+
import * as tui from '../../tui';
|
|
6
6
|
|
|
7
7
|
export const deleteCommand = createSubcommand({
|
|
8
8
|
name: 'delete',
|
package/src/cmd/profile/index.ts
CHANGED
package/src/cmd/profile/list.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { SubcommandDefinition } from '
|
|
2
|
-
import { fetchProfiles } from '
|
|
1
|
+
import type { SubcommandDefinition } from '../../types';
|
|
2
|
+
import { fetchProfiles } from '../../config';
|
|
3
3
|
import { basename, dirname } from 'node:path';
|
|
4
|
-
import * as tui from '
|
|
4
|
+
import * as tui from '../../tui';
|
|
5
5
|
|
|
6
6
|
export const listCommand: SubcommandDefinition = {
|
|
7
7
|
name: 'list',
|
package/src/cmd/profile/show.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createSubcommand } from '
|
|
1
|
+
import { createSubcommand } from '../../types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { getProfile, fetchProfiles } from '
|
|
3
|
+
import { getProfile, fetchProfiles } from '../../config';
|
|
4
4
|
import { readFile } from 'node:fs/promises';
|
|
5
|
-
import * as tui from '
|
|
5
|
+
import * as tui from '../../tui';
|
|
6
6
|
|
|
7
7
|
export const showCommand = createSubcommand({
|
|
8
8
|
name: 'show',
|
package/src/cmd/profile/use.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createSubcommand } from '
|
|
1
|
+
import { createSubcommand } from '../../types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { fetchProfiles, saveProfile } from '
|
|
4
|
-
import * as tui from '
|
|
3
|
+
import { fetchProfiles, saveProfile } from '../../config';
|
|
4
|
+
import * as tui from '../../tui';
|
|
5
5
|
|
|
6
6
|
export const useCommand = createSubcommand({
|
|
7
7
|
name: 'use',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { join, resolve } from 'node:path';
|
|
2
|
-
import { existsSync, mkdirSync, renameSync, readdirSync, cpSync, rmSync } from 'node:fs';
|
|
3
|
-
import { homedir } from 'node:os';
|
|
2
|
+
import { existsSync, mkdirSync, mkdtempSync, renameSync, readdirSync, cpSync, rmSync } from 'node:fs';
|
|
3
|
+
import { homedir, tmpdir } from 'node:os';
|
|
4
4
|
import { pipeline } from 'node:stream/promises';
|
|
5
5
|
import { createGunzip } from 'node:zlib';
|
|
6
6
|
import { extract, type Headers } from 'tar-fs';
|
|
7
|
-
import type { Logger } from '
|
|
8
|
-
import * as tui from '
|
|
9
|
-
import { downloadWithSpinner } from '
|
|
7
|
+
import type { Logger } from '../../logger';
|
|
8
|
+
import * as tui from '../../tui';
|
|
9
|
+
import { downloadWithSpinner } from '../../download';
|
|
10
10
|
import type { TemplateInfo } from './templates';
|
|
11
11
|
|
|
12
12
|
const GITHUB_REPO = 'agentuity/sdk';
|
|
@@ -68,41 +68,38 @@ export async function downloadTemplate(options: DownloadOptions): Promise<void>
|
|
|
68
68
|
const branch = templateBranch || GITHUB_BRANCH;
|
|
69
69
|
const templatePath = `templates/${template.directory}`;
|
|
70
70
|
const url = `https://codeload.github.com/${GITHUB_REPO}/tar.gz/${branch}`;
|
|
71
|
-
const tempDir = join(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
await cleanup(tempDir, dest);
|
|
71
|
+
const tempDir = mkdtempSync(join(tmpdir(), 'agentuity-'));
|
|
72
|
+
|
|
73
|
+
try {
|
|
74
|
+
await downloadWithSpinner(
|
|
75
|
+
{
|
|
76
|
+
url,
|
|
77
|
+
message: templateBranch
|
|
78
|
+
? `Downloading template files from branch ${branch}...`
|
|
79
|
+
: 'Downloading template files...',
|
|
80
|
+
},
|
|
81
|
+
async (stream) => {
|
|
82
|
+
// Extract only the template directory from tarball
|
|
83
|
+
const prefix = `sdk-${branch}/${templatePath}/`;
|
|
84
|
+
await pipeline(
|
|
85
|
+
stream,
|
|
86
|
+
createGunzip(),
|
|
87
|
+
extract(tempDir, {
|
|
88
|
+
filter: (name: string) => name.startsWith(prefix),
|
|
89
|
+
map: (header: Headers) => {
|
|
90
|
+
header.name = header.name.substring(prefix.length);
|
|
91
|
+
return header;
|
|
92
|
+
},
|
|
93
|
+
})
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
);
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
await cleanup(tempDir, dest);
|
|
99
|
+
} finally {
|
|
100
|
+
// Clean up temp directory
|
|
101
|
+
rmSync(tempDir, { recursive: true, force: true });
|
|
104
102
|
}
|
|
105
|
-
rmSync(tempDir, { recursive: true, force: true });
|
|
106
103
|
}
|
|
107
104
|
|
|
108
105
|
export async function setupProject(options: SetupOptions): Promise<void> {
|
package/src/cmd/project/index.ts
CHANGED
package/src/cmd/project/list.ts
CHANGED
package/src/cmd/project/show.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { existsSync, readdirSync, rmSync } from 'node:fs';
|
|
|
3
3
|
import { cwd } from 'node:process';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import enquirer from 'enquirer';
|
|
6
|
-
import type { Logger } from '
|
|
7
|
-
import * as tui from '
|
|
8
|
-
import { playSound } from '
|
|
6
|
+
import type { Logger } from '../../logger';
|
|
7
|
+
import * as tui from '../../tui';
|
|
8
|
+
import { playSound } from '../../sound';
|
|
9
9
|
import { fetchTemplates, type TemplateInfo } from './templates';
|
|
10
10
|
import { downloadTemplate, setupProject } from './download';
|
|
11
11
|
|
package/src/cmd/version/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createCommand } from '
|
|
2
|
-
import { getVersion } from '
|
|
3
|
-
import { logger } from '
|
|
1
|
+
import { createCommand } from '../../types';
|
|
2
|
+
import { getVersion } from '../../version';
|
|
3
|
+
import { logger } from '../../logger';
|
|
4
4
|
|
|
5
5
|
export const command = createCommand({
|
|
6
6
|
name: 'version',
|
package/src/config.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { homedir } from 'node:os';
|
|
|
4
4
|
import { mkdir, readdir, readFile, writeFile, chmod } from 'node:fs/promises';
|
|
5
5
|
import type { Config, Profile, AuthData } from './types';
|
|
6
6
|
import { ConfigSchema } from './types';
|
|
7
|
-
import * as tui from '
|
|
7
|
+
import * as tui from './tui';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
|
|
10
10
|
export function getDefaultConfigDir(): string {
|